|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | + * you may not use this file except in compliance with the License. |
| 4 | + * You may obtain a copy of the License at |
| 5 | + * |
| 6 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | + * |
| 8 | + * Unless required by applicable law or agreed to in writing, software |
| 9 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | + * See the License for the specific language governing permissions and |
| 12 | + * limitations under the License. |
| 13 | + */ |
| 14 | + |
| 15 | +package com.aliyuncs.drcloud.model.v20190213; |
| 16 | + |
| 17 | +import com.aliyuncs.RpcAcsRequest; |
| 18 | + |
| 19 | +/** |
| 20 | + * @author auto create |
| 21 | + * @version |
| 22 | + */ |
| 23 | +public class GetAnswerRequest extends RpcAcsRequest<GetAnswerResponse> { |
| 24 | + |
| 25 | + public GetAnswerRequest() { |
| 26 | + super("drcloud", "2019-02-13", "GetAnswer"); |
| 27 | + } |
| 28 | + |
| 29 | + private String nodeType; |
| 30 | + |
| 31 | + private String userQuestion; |
| 32 | + |
| 33 | + private Long docContentStructureId; |
| 34 | + |
| 35 | + private String sourceEnum; |
| 36 | + |
| 37 | + private String sopInstanceKey; |
| 38 | + |
| 39 | + private String queryChannel; |
| 40 | + |
| 41 | + private Long customerId; |
| 42 | + |
| 43 | + private Long tenantId; |
| 44 | + |
| 45 | + private String categories; |
| 46 | + |
| 47 | + private String sessionId; |
| 48 | + |
| 49 | + private Integer needAnswerNum; |
| 50 | + |
| 51 | + private Long nodeId; |
| 52 | + |
| 53 | + public String getNodeType() { |
| 54 | + return this.nodeType; |
| 55 | + } |
| 56 | + |
| 57 | + public void setNodeType(String nodeType) { |
| 58 | + this.nodeType = nodeType; |
| 59 | + if(nodeType != null){ |
| 60 | + putQueryParameter("NodeType", nodeType); |
| 61 | + } |
| 62 | + } |
| 63 | + |
| 64 | + public String getUserQuestion() { |
| 65 | + return this.userQuestion; |
| 66 | + } |
| 67 | + |
| 68 | + public void setUserQuestion(String userQuestion) { |
| 69 | + this.userQuestion = userQuestion; |
| 70 | + if(userQuestion != null){ |
| 71 | + putQueryParameter("UserQuestion", userQuestion); |
| 72 | + } |
| 73 | + } |
| 74 | + |
| 75 | + public Long getDocContentStructureId() { |
| 76 | + return this.docContentStructureId; |
| 77 | + } |
| 78 | + |
| 79 | + public void setDocContentStructureId(Long docContentStructureId) { |
| 80 | + this.docContentStructureId = docContentStructureId; |
| 81 | + if(docContentStructureId != null){ |
| 82 | + putQueryParameter("DocContentStructureId", docContentStructureId.toString()); |
| 83 | + } |
| 84 | + } |
| 85 | + |
| 86 | + public String getSourceEnum() { |
| 87 | + return this.sourceEnum; |
| 88 | + } |
| 89 | + |
| 90 | + public void setSourceEnum(String sourceEnum) { |
| 91 | + this.sourceEnum = sourceEnum; |
| 92 | + if(sourceEnum != null){ |
| 93 | + putQueryParameter("SourceEnum", sourceEnum); |
| 94 | + } |
| 95 | + } |
| 96 | + |
| 97 | + public String getSopInstanceKey() { |
| 98 | + return this.sopInstanceKey; |
| 99 | + } |
| 100 | + |
| 101 | + public void setSopInstanceKey(String sopInstanceKey) { |
| 102 | + this.sopInstanceKey = sopInstanceKey; |
| 103 | + if(sopInstanceKey != null){ |
| 104 | + putQueryParameter("SopInstanceKey", sopInstanceKey); |
| 105 | + } |
| 106 | + } |
| 107 | + |
| 108 | + public String getQueryChannel() { |
| 109 | + return this.queryChannel; |
| 110 | + } |
| 111 | + |
| 112 | + public void setQueryChannel(String queryChannel) { |
| 113 | + this.queryChannel = queryChannel; |
| 114 | + if(queryChannel != null){ |
| 115 | + putQueryParameter("QueryChannel", queryChannel); |
| 116 | + } |
| 117 | + } |
| 118 | + |
| 119 | + public Long getCustomerId() { |
| 120 | + return this.customerId; |
| 121 | + } |
| 122 | + |
| 123 | + public void setCustomerId(Long customerId) { |
| 124 | + this.customerId = customerId; |
| 125 | + if(customerId != null){ |
| 126 | + putQueryParameter("CustomerId", customerId.toString()); |
| 127 | + } |
| 128 | + } |
| 129 | + |
| 130 | + public Long getTenantId() { |
| 131 | + return this.tenantId; |
| 132 | + } |
| 133 | + |
| 134 | + public void setTenantId(Long tenantId) { |
| 135 | + this.tenantId = tenantId; |
| 136 | + if(tenantId != null){ |
| 137 | + putQueryParameter("TenantId", tenantId.toString()); |
| 138 | + } |
| 139 | + } |
| 140 | + |
| 141 | + public String getCategories() { |
| 142 | + return this.categories; |
| 143 | + } |
| 144 | + |
| 145 | + public void setCategories(String categories) { |
| 146 | + this.categories = categories; |
| 147 | + if(categories != null){ |
| 148 | + putQueryParameter("Categories", categories); |
| 149 | + } |
| 150 | + } |
| 151 | + |
| 152 | + public String getSessionId() { |
| 153 | + return this.sessionId; |
| 154 | + } |
| 155 | + |
| 156 | + public void setSessionId(String sessionId) { |
| 157 | + this.sessionId = sessionId; |
| 158 | + if(sessionId != null){ |
| 159 | + putQueryParameter("SessionId", sessionId); |
| 160 | + } |
| 161 | + } |
| 162 | + |
| 163 | + public Integer getNeedAnswerNum() { |
| 164 | + return this.needAnswerNum; |
| 165 | + } |
| 166 | + |
| 167 | + public void setNeedAnswerNum(Integer needAnswerNum) { |
| 168 | + this.needAnswerNum = needAnswerNum; |
| 169 | + if(needAnswerNum != null){ |
| 170 | + putQueryParameter("NeedAnswerNum", needAnswerNum.toString()); |
| 171 | + } |
| 172 | + } |
| 173 | + |
| 174 | + public Long getNodeId() { |
| 175 | + return this.nodeId; |
| 176 | + } |
| 177 | + |
| 178 | + public void setNodeId(Long nodeId) { |
| 179 | + this.nodeId = nodeId; |
| 180 | + if(nodeId != null){ |
| 181 | + putQueryParameter("NodeId", nodeId.toString()); |
| 182 | + } |
| 183 | + } |
| 184 | + |
| 185 | + @Override |
| 186 | + public Class<GetAnswerResponse> getResponseClass() { |
| 187 | + return GetAnswerResponse.class; |
| 188 | + } |
| 189 | + |
| 190 | +} |
0 commit comments