index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdateEntityRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.alibaba.fastjson.JSON;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
/**
* @author auto create
* @version
*/
public class UpdateEntityRequest extends RpcAcsRequest<UpdateEntityResponse> {
public UpdateEntityRequest() {
super("Chatbot", "2017-10-11", "UpdateEntity", "beebot");
}
private String regex;
private String entityType;
private List<Member> members;
private String entityName;
private Long entityId;
public String getRegex() {
return this.regex;
}
public void setRegex(String regex) {
this.regex = regex;
if(regex != null){
putQueryParameter("Regex", regex);
}
}
public String getEntityType() {
return this.entityType;
}
public void setEntityType(String entityType) {
this.entityType = entityType;
if(entityType != null){
putQueryParameter("EntityType", entityType);
}
}
public List<Member> getMembers() {
return this.members;
}
public void setMembers(List<Member> members) {
this.members = members;
String membersStr = JSON.toJSONString(members);
if(members != null){
putBodyParameter("Members", membersStr);
}
}
public String getEntityName() {
return this.entityName;
}
public void setEntityName(String entityName) {
this.entityName = entityName;
if(entityName != null){
putQueryParameter("EntityName", entityName);
}
}
public Long getEntityId() {
return this.entityId;
}
public void setEntityId(Long entityId) {
this.entityId = entityId;
if(entityId != null){
putQueryParameter("EntityId", entityId.toString());
}
}
@Override
public Class<UpdateEntityResponse> getResponseClass() {
return UpdateEntityResponse.class;
}
public static class Member {
private List<String> synonyms;
private String memberName;
public void setMemberName(String memberName) {
this.memberName = memberName;
}
public void setSynonyms(List<String> synonyms) {
this.synonyms = synonyms;
}
public String getMemberName() {
return memberName;
}
public List<String> getSynonyms() {
return synonyms;
}
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdateEntityResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.UpdateEntityResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateEntityResponse extends AcsResponse {
private String requestId;
private String entityId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getEntityId() {
return this.entityId;
}
public void setEntityId(String entityId) {
this.entityId = entityId;
}
@Override
public UpdateEntityResponse getInstance(UnmarshallerContext context) {
return UpdateEntityResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdateIntentRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.alibaba.fastjson.JSON;
import com.aliyuncs.RpcAcsRequest;
import java.util.ArrayList;
import java.util.List;
/**
* @author auto create
* @version
*/
public class UpdateIntentRequest extends RpcAcsRequest<UpdateIntentResponse> {
public UpdateIntentRequest() {
super("Chatbot", "2017-10-11", "UpdateIntent", "beebot");
}
private IntentDefinition intentDefinition;
private Long intentId;
public void setIntentDefinition(IntentDefinition intentDefinition) {
this.intentDefinition = intentDefinition;
String intentDefinitionStr = JSON.toJSONString(intentDefinition);
if(intentDefinition != null){
putBodyParameter("IntentDefinition", intentDefinitionStr);
}
}
public IntentDefinition getIntentDefinition() {
return intentDefinition;
}
public Long getIntentId() {
return this.intentId;
}
public void setIntentId(Long intentId) {
this.intentId = intentId;
if(intentId != null){
putQueryParameter("IntentId", intentId.toString());
}
}
@Override
public Class<UpdateIntentResponse> getResponseClass() {
return UpdateIntentResponse.class;
}
public static class IntentDefinition {
private Long dialogId;
private String name;
private Long id;
private String botName;
private List<UsersayMtopDTO> userSay;
private List<RuleMtopDTO> ruleCheck;
private List<SlotrecordMtopDTO> slot;
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
}
public void setBotName(String botName) {
this.botName = botName;
}
public void setId(Long id) {
this.id = id;
}
public void setName(String name) {
this.name = name;
}
public void setRuleCheck(List<RuleMtopDTO> ruleCheck) {
this.ruleCheck = ruleCheck;
}
public void setSlot(List<SlotrecordMtopDTO> slot) {
this.slot = slot;
}
public void setUserSay(List<UsersayMtopDTO> userSay) {
this.userSay = userSay;
}
public List<RuleMtopDTO> getRuleCheck() {
return ruleCheck;
}
public List<SlotrecordMtopDTO> getSlot() {
return slot;
}
public List<UsersayMtopDTO> getUserSay() {
return userSay;
}
public Long getDialogId() {
return dialogId;
}
public Long getId() {
return id;
}
public String getBotName() {
return botName;
}
public String getName() {
return name;
}
}
public static class UsersayMtopDTO{
private String id;
private Boolean strict;
private List<SectionMtopDTO> data;
public void setId(String id) {
this.id = id;
}
public void setData(List<SectionMtopDTO> data) {
this.data = data;
}
public void setStrict(Boolean strict) {
this.strict = strict;
}
public Boolean getStrict() {
return strict;
}
public List<SectionMtopDTO> getData() {
return data;
}
public String getId() {
return id;
}
}
public static class SectionMtopDTO {
public SectionMtopDTO(String slotId,String text){
this.slotId = slotId;
this.text = text;
}
public SectionMtopDTO(String text){
this.text = text;
}
private String slotId;
private String text;
public void setSlotId(String slotId) {
this.slotId = slotId;
}
public void setText(String text) {
this.text = text;
}
public String getSlotId() {
return slotId;
}
public String getText() {
return text;
}
}
public static class RuleMtopDTO {
private Boolean strict;
private String text;
private List<String> warning;
private List<String> error;
public void setText(String text) {
this.text = text;
}
public void setStrict(Boolean strict) {
this.strict = strict;
}
public void setError(List<String> error) {
this.error = error;
}
public void setWarning(List<String> warning) {
this.warning = warning;
}
public String getText() {
return text;
}
public Boolean getStrict() {
return strict;
}
public List<String> getError() {
return error;
}
public List<String> getWarning() {
return warning;
}
}
public static class SlotrecordMtopDTO {
private String id;
private String name;
private Boolean isArray;
private String value;
private List<TagMtopDTO> tags;
private List<String> question = new ArrayList<String>();
private Boolean isNecessary = true;
private int lifeSpan;
public void setId(String id) {
this.id = id;
}
public void setName(String name) {
this.name = name;
}
public void setValue(String value) {
this.value = value;
}
public void setIsArray(Boolean isArray) {
isArray = isArray;
}
public void setLifeSpan(int lifeSpan) {
this.lifeSpan = lifeSpan;
}
public void setIsNecessary(Boolean necessary) {
isNecessary = necessary;
}
public void setQuestion(List<String> question) {
this.question = question;
}
public void setTags(List<TagMtopDTO> tags) {
this.tags = tags;
}
public String getId() {
return id;
}
public String getName() {
return name;
}
public String getValue() {
return value;
}
public Boolean getIsArray() {
return isArray;
}
public Boolean getIsNecessary() {
return isNecessary;
}
public int getLifeSpan() {
return lifeSpan;
}
public List<String> getQuestion() {
return question;
}
public List<TagMtopDTO> getTags() {
return tags;
}
}
public static class TagMtopDTO {
private String userSayId;
private String value;
public void setValue(String value) {
this.value = value;
}
public void setUserSayId(String userSayId) {
this.userSayId = userSayId;
}
public String getValue() {
return value;
}
public String getUserSayId() {
return userSayId;
}
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdateIntentResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.UpdateIntentResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateIntentResponse extends AcsResponse {
private String requestId;
private String intentId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getIntentId() {
return this.intentId;
}
public void setIntentId(String intentId) {
this.intentId = intentId;
}
@Override
public UpdateIntentResponse getInstance(UnmarshallerContext context) {
return UpdateIntentResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdateKnowledgeRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.alibaba.fastjson.JSON;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import java.util.List;
/**
* @author auto create
* @version
*/
public class UpdateKnowledgeRequest extends RpcAcsRequest<UpdateKnowledgeResponse> {
public UpdateKnowledgeRequest() {
super("Chatbot", "2017-10-11", "UpdateKnowledge", "beebot");
setMethod(MethodType.POST);
}
private Knowledge knowledge;
public Knowledge getKnowledge() {
return this.knowledge;
}
public void setKnowledge(Knowledge knowledge) {
this.knowledge = knowledge;
String knowledgeStr = JSON.toJSONString(knowledge);
if(knowledge != null){
putBodyParameter("Knowledge", knowledgeStr);
}
}
@Override
public Class<UpdateKnowledgeResponse> getResponseClass() {
return UpdateKnowledgeResponse.class;
}
public static class Knowledge {
private Long categoryId;
private Long knowledgeId;
private String knowledgeTitle;
private Integer knowledgeType;
private String startDate;
private String endDate;
private List<UpdateKnowledgeRequest.Solution> solutions;
private List<UpdateKnowledgeRequest.SimQuestion> simQuestions;
private List<String> keyWords;
private List<String> coreWords;
public Long getCategoryId() {
return categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public Long getKnowledgeId() {
return knowledgeId;
}
public void setKnowledgeId(Long knowledgeId) {
this.knowledgeId = knowledgeId;
}
public String getKnowledgeTitle() {
return knowledgeTitle;
}
public void setKnowledgeTitle(String knowledgeTitle) {
this.knowledgeTitle = knowledgeTitle;
}
public Integer getKnowledgeType() {
return knowledgeType;
}
public void setKnowledgeType(Integer knowledgeType) {
this.knowledgeType = knowledgeType;
}
public String getStartDate() {
return startDate;
}
public void setStartDate(String startDate) {
this.startDate = startDate;
}
public String getEndDate() {
return endDate;
}
public void setEndDate(String endDate) {
this.endDate = endDate;
}
public List<UpdateKnowledgeRequest.SimQuestion> getSimQuestions() {
return this.simQuestions;
}
public void setSimQuestions(List<UpdateKnowledgeRequest.SimQuestion> simQuestions) {
this.simQuestions = simQuestions;
}
public List<UpdateKnowledgeRequest.Solution> getSolutions() {
return this.solutions;
}
public void setSolutions(List<UpdateKnowledgeRequest.Solution> solutions) {
this.solutions = solutions;
}
public List<String> getKeyWords() {
return this.keyWords;
}
public void setKeyWords(List<String> keyWords) {
this.keyWords = keyWords;
}
public List<String> getCoreWords() {
return this.coreWords;
}
public void setCoreWords(List<String> coreWords) {
this.coreWords = coreWords;
}
}
public static class SimQuestion {
private Long simQuestionId;
private String title;
private String action;
public Long getSimQuestionId() {
return simQuestionId;
}
public void setSimQuestionId(Long simQuestionId) {
this.simQuestionId = simQuestionId;
}
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
}
public static class Solution {
private Long solutionId;
private String plainText;
private String content;
private String action;
private List<String> perspectiveIds;
public Long getSolutionId() {
return solutionId;
}
public void setSolutionId(Long solutionId) {
this.solutionId = solutionId;
}
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public String getPlainText() {
return plainText;
}
public void setPlainText(String plainText) {
this.plainText = plainText;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public List<String> getPerspectiveIds() {
return this.perspectiveIds;
}
public void setPerspectiveIds(List<String> perspectiveIds) {
this.perspectiveIds = perspectiveIds;
}
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdateKnowledgeResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.UpdateKnowledgeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateKnowledgeResponse extends AcsResponse {
private String requestId;
private Long knowledgeId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getKnowledgeId() {
return this.knowledgeId;
}
public void setKnowledgeId(Long knowledgeId) {
this.knowledgeId = knowledgeId;
}
@Override
public UpdateKnowledgeResponse getInstance(UnmarshallerContext context) {
return UpdateKnowledgeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdatePerspectiveRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class UpdatePerspectiveRequest extends RpcAcsRequest<UpdatePerspectiveResponse> {
public UpdatePerspectiveRequest() {
super("Chatbot", "2017-10-11", "UpdatePerspective", "beebot");
}
private String perspectiveId;
private String name;
public String getPerspectiveId() {
return this.perspectiveId;
}
public void setPerspectiveId(String perspectiveId) {
this.perspectiveId = perspectiveId;
if(perspectiveId != null){
putQueryParameter("PerspectiveId", perspectiveId);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
@Override
public Class<UpdatePerspectiveResponse> getResponseClass() {
return UpdatePerspectiveResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdatePerspectiveResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.UpdatePerspectiveResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdatePerspectiveResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdatePerspectiveResponse getInstance(UnmarshallerContext context) {
return UpdatePerspectiveResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/ActivatePerspectiveResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.ActivatePerspectiveResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ActivatePerspectiveResponseUnmarshaller {
public static ActivatePerspectiveResponse unmarshall(ActivatePerspectiveResponse activatePerspectiveResponse, UnmarshallerContext context) {
activatePerspectiveResponse.setRequestId(context.stringValue("ActivatePerspectiveResponse.RequestId"));
return activatePerspectiveResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/AddSynonymResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.AddSynonymResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AddSynonymResponseUnmarshaller {
public static AddSynonymResponse unmarshall(AddSynonymResponse addSynonymResponse, UnmarshallerContext context) {
addSynonymResponse.setRequestId(context.stringValue("AddSynonymResponse.RequestId"));
return addSynonymResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/AppendEntityMemberResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.AppendEntityMemberResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AppendEntityMemberResponseUnmarshaller {
public static AppendEntityMemberResponse unmarshall(AppendEntityMemberResponse appendEntityMemberResponse, UnmarshallerContext context) {
appendEntityMemberResponse.setRequestId(context.stringValue("AppendEntityMemberResponse.RequestId"));
appendEntityMemberResponse.setEntityId(context.stringValue("AppendEntityMemberResponse.EntityId"));
return appendEntityMemberResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/ChatResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.chatbot.model.v20171011.ChatResponse;
import com.aliyuncs.chatbot.model.v20171011.ChatResponse.Message;
import com.aliyuncs.chatbot.model.v20171011.ChatResponse.Message.Knowledge;
import com.aliyuncs.chatbot.model.v20171011.ChatResponse.Message.Recommend;
import com.aliyuncs.chatbot.model.v20171011.ChatResponse.Message.Text;
import com.aliyuncs.transform.UnmarshallerContext;
public class ChatResponseUnmarshaller {
public static ChatResponse unmarshall(ChatResponse chatResponse, UnmarshallerContext context) {
chatResponse.setRequestId(context.stringValue("ChatResponse.RequestId"));
chatResponse.setSessionId(context.stringValue("ChatResponse.SessionId"));
chatResponse.setMessageId(context.stringValue("ChatResponse.MessageId"));
chatResponse.setTag(context.stringValue("ChatResponse.Tag"));
List<Message> messages = new ArrayList<Message>();
for (int i = 0; i < context.lengthValue("ChatResponse.Messages.Length"); i++) {
Message message = new Message();
message.setType(context.stringValue("ChatResponse.Messages["+ i +"].Type"));
Text text = new Text();
text.setContent(context.stringValue("ChatResponse.Messages["+ i +"].Text.Content"));
text.setAnswerSource(context.stringValue("ChatResponse.Messages["+ i +"].Text.AnswerSource"));
text.setMetaData(context.stringValue("ChatResponse.Messages["+ i +"].Text.MetaData"));
message.setText(text);
Knowledge knowledge = new Knowledge();
knowledge.setId(context.stringValue("ChatResponse.Messages["+ i +"].Knowledge.Id"));
knowledge.setTitle(context.stringValue("ChatResponse.Messages["+ i +"].Knowledge.Title"));
knowledge.setSummary(context.stringValue("ChatResponse.Messages["+ i +"].Knowledge.Summary"));
knowledge.setContent(context.stringValue("ChatResponse.Messages["+ i +"].Knowledge.Content"));
knowledge.setAnswerSource(context.stringValue("ChatResponse.Messages["+ i +"].Knowledge.AnswerSource"));
message.setKnowledge(knowledge);
List<Recommend> recommends = new ArrayList<Recommend>();
for (int j = 0; j < context.lengthValue("ChatResponse.Messages["+ i +"].Recommends.Length"); j++) {
Recommend recommend = new Recommend();
recommend.setKnowledgeId(context.stringValue("ChatResponse.Messages["+ i +"].Recommends["+ j +"].KnowledgeId"));
recommend.setTitle(context.stringValue("ChatResponse.Messages["+ i +"].Recommends["+ j +"].Title"));
recommend.setAnswerSource(context.stringValue("ChatResponse.Messages["+ i +"].Recommends["+ j +"].AnswerSource"));
recommend.setSummary(context.stringValue("ChatResponse.Messages["+ i +"].Recommends["+ j +"].Summary"));
recommend.setContent(context.stringValue("ChatResponse.Messages["+ i +"].Recommends["+ j +"].Content"));
recommends.add(recommend);
}
message.setRecommends(recommends);
messages.add(message);
}
chatResponse.setMessages(messages);
return chatResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/CreateCategoryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.CreateCategoryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateCategoryResponseUnmarshaller {
public static CreateCategoryResponse unmarshall(CreateCategoryResponse createCategoryResponse, UnmarshallerContext context) {
createCategoryResponse.setRequestId(context.stringValue("CreateCategoryResponse.RequestId"));
createCategoryResponse.setCategoryId(context.longValue("CreateCategoryResponse.CategoryId"));
createCategoryResponse.setSuccess(context.booleanValue("CreateCategoryResponse.Success"));
return createCategoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/CreateCoreWordResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.CreateCoreWordResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateCoreWordResponseUnmarshaller {
public static CreateCoreWordResponse unmarshall(CreateCoreWordResponse createCoreWordResponse, UnmarshallerContext context) {
createCoreWordResponse.setRequestId(context.stringValue("CreateCoreWordResponse.RequestId"));
createCoreWordResponse.setCoreWordCode(context.stringValue("CreateCoreWordResponse.CoreWordCode"));
return createCoreWordResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/CreateDialogResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.CreateDialogResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateDialogResponseUnmarshaller {
public static CreateDialogResponse unmarshall(CreateDialogResponse createDialogResponse, UnmarshallerContext context) {
createDialogResponse.setRequestId(context.stringValue("CreateDialogResponse.RequestId"));
createDialogResponse.setDialogId(context.stringValue("CreateDialogResponse.DialogId"));
return createDialogResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/CreateEntityResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.CreateEntityResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateEntityResponseUnmarshaller {
public static CreateEntityResponse unmarshall(CreateEntityResponse createEntityResponse, UnmarshallerContext context) {
createEntityResponse.setRequestId(context.stringValue("CreateEntityResponse.RequestId"));
createEntityResponse.setEntityId(context.stringValue("CreateEntityResponse.EntityId"));
return createEntityResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/CreateIntentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.CreateIntentResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateIntentResponseUnmarshaller {
public static CreateIntentResponse unmarshall(CreateIntentResponse createIntentResponse, UnmarshallerContext context) {
createIntentResponse.setRequestId(context.stringValue("CreateIntentResponse.RequestId"));
createIntentResponse.setIntentId(context.stringValue("CreateIntentResponse.IntentId"));
return createIntentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/CreateKnowledgeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.CreateKnowledgeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateKnowledgeResponseUnmarshaller {
public static CreateKnowledgeResponse unmarshall(CreateKnowledgeResponse createKnowledgeResponse, UnmarshallerContext context) {
createKnowledgeResponse.setRequestId(context.stringValue("CreateKnowledgeResponse.RequestId"));
createKnowledgeResponse.setKnowledgeId(context.longValue("CreateKnowledgeResponse.KnowledgeId"));
return createKnowledgeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/CreatePerspectiveResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.CreatePerspectiveResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreatePerspectiveResponseUnmarshaller {
public static CreatePerspectiveResponse unmarshall(CreatePerspectiveResponse createPerspectiveResponse, UnmarshallerContext context) {
createPerspectiveResponse.setRequestId(context.stringValue("CreatePerspectiveResponse.RequestId"));
createPerspectiveResponse.setPerspectiveId(context.stringValue("CreatePerspectiveResponse.PerspectiveId"));
return createPerspectiveResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DeleteCategoryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.DeleteCategoryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteCategoryResponseUnmarshaller {
public static DeleteCategoryResponse unmarshall(DeleteCategoryResponse deleteCategoryResponse, UnmarshallerContext context) {
deleteCategoryResponse.setRequestId(context.stringValue("DeleteCategoryResponse.RequestId"));
deleteCategoryResponse.setSuccess(context.booleanValue("DeleteCategoryResponse.Success"));
return deleteCategoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DeleteDialogResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.DeleteDialogResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteDialogResponseUnmarshaller {
public static DeleteDialogResponse unmarshall(DeleteDialogResponse deleteDialogResponse, UnmarshallerContext context) {
deleteDialogResponse.setRequestId(context.stringValue("DeleteDialogResponse.RequestId"));
return deleteDialogResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DeleteEntityResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.DeleteEntityResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteEntityResponseUnmarshaller {
public static DeleteEntityResponse unmarshall(DeleteEntityResponse deleteEntityResponse, UnmarshallerContext context) {
deleteEntityResponse.setRequestId(context.stringValue("DeleteEntityResponse.RequestId"));
deleteEntityResponse.setEntityId(context.stringValue("DeleteEntityResponse.EntityId"));
return deleteEntityResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DeleteIntentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.DeleteIntentResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteIntentResponseUnmarshaller {
public static DeleteIntentResponse unmarshall(DeleteIntentResponse deleteIntentResponse, UnmarshallerContext context) {
deleteIntentResponse.setRequestId(context.stringValue("DeleteIntentResponse.RequestId"));
deleteIntentResponse.setIntentId(context.stringValue("DeleteIntentResponse.IntentId"));
return deleteIntentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DeleteKnowledgeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.DeleteKnowledgeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteKnowledgeResponseUnmarshaller {
public static DeleteKnowledgeResponse unmarshall(DeleteKnowledgeResponse deleteKnowledgeResponse, UnmarshallerContext context) {
deleteKnowledgeResponse.setRequestId(context.stringValue("DeleteKnowledgeResponse.RequestId"));
return deleteKnowledgeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DescribeCategoryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.DescribeCategoryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeCategoryResponseUnmarshaller {
public static DescribeCategoryResponse unmarshall(DescribeCategoryResponse describeCategoryResponse, UnmarshallerContext context) {
describeCategoryResponse.setRequestId(context.stringValue("DescribeCategoryResponse.RequestId"));
describeCategoryResponse.setParentCategoryId(context.longValue("DescribeCategoryResponse.ParentCategoryId"));
describeCategoryResponse.setCategoryId(context.longValue("DescribeCategoryResponse.CategoryId"));
describeCategoryResponse.setName(context.stringValue("DescribeCategoryResponse.Name"));
return describeCategoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DescribeCoreWordResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.chatbot.model.v20171011.DescribeCoreWordResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeCoreWordResponseUnmarshaller {
public static DescribeCoreWordResponse unmarshall(DescribeCoreWordResponse describeCoreWordResponse, UnmarshallerContext context) {
describeCoreWordResponse.setRequestId(context.stringValue("DescribeCoreWordResponse.RequestId"));
describeCoreWordResponse.setCoreWordCode(context.stringValue("DescribeCoreWordResponse.CoreWordCode"));
describeCoreWordResponse.setCoreWordName(context.stringValue("DescribeCoreWordResponse.CoreWordName"));
describeCoreWordResponse.setModifyTime(context.stringValue("DescribeCoreWordResponse.ModifyTime"));
describeCoreWordResponse.setCreateTime(context.stringValue("DescribeCoreWordResponse.CreateTime"));
List<String> synonyms = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeCoreWordResponse.Synonyms.Length"); i++) {
synonyms.add(context.stringValue("DescribeCoreWordResponse.Synonyms["+ i +"]"));
}
describeCoreWordResponse.setSynonyms(synonyms);
return describeCoreWordResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DescribeDialogFlowResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.EdgesItem;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Entry;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Entry.PluginFieldDataEntry;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Entry.PluginFieldDataEntry.ContentEntryItem;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Entry.PluginFieldDataEntry.ContentEntryItem.ConditionEntriesItem;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Function;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Function.PluginFieldDataFunction;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Function.PluginFieldDataFunction.SwitchItem;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Response;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Response.PluginFieldDataResponse;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Response.PluginFieldDataResponse.ContentResponse;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Response.PluginFieldDataResponse.ContentResponse.ButtonList;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Response.PluginFieldDataResponse.ContentResponse.ButtonList.ButtonItem;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Slot;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Slot.PluginFieldDataSlot;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogFlowResponse.ModuleDefinition.NodesItem.PluginData.Slot.PluginFieldDataSlot.ContentSlotItem;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDialogFlowResponseUnmarshaller {
public static DescribeDialogFlowResponse unmarshall(DescribeDialogFlowResponse describeDialogFlowResponse, UnmarshallerContext context) {
describeDialogFlowResponse.setRequestId(context.stringValue("DescribeDialogFlowResponse.RequestId"));
describeDialogFlowResponse.setDialogId(context.longValue("DescribeDialogFlowResponse.DialogId"));
describeDialogFlowResponse.setInstanceId(context.stringValue("DescribeDialogFlowResponse.InstanceId"));
describeDialogFlowResponse.setDialogName(context.stringValue("DescribeDialogFlowResponse.DialogName"));
describeDialogFlowResponse.setModuleId(context.longValue("DescribeDialogFlowResponse.ModuleId"));
describeDialogFlowResponse.setModuleName(context.stringValue("DescribeDialogFlowResponse.ModuleName"));
describeDialogFlowResponse.setTemplates(context.stringValue("DescribeDialogFlowResponse.Templates"));
describeDialogFlowResponse.setCreateTime(context.stringValue("DescribeDialogFlowResponse.CreateTime"));
describeDialogFlowResponse.setModifyTime(context.stringValue("DescribeDialogFlowResponse.ModifyTime"));
describeDialogFlowResponse.setCreateUserId(context.stringValue("DescribeDialogFlowResponse.CreateUserId"));
describeDialogFlowResponse.setCreateUserName(context.stringValue("DescribeDialogFlowResponse.CreateUserName"));
describeDialogFlowResponse.setModifyUserId(context.stringValue("DescribeDialogFlowResponse.ModifyUserId"));
describeDialogFlowResponse.setModifyUserName(context.stringValue("DescribeDialogFlowResponse.ModifyUserName"));
describeDialogFlowResponse.setAccountId(context.stringValue("DescribeDialogFlowResponse.AccountId"));
describeDialogFlowResponse.setTags(context.stringValue("DescribeDialogFlowResponse.Tags"));
describeDialogFlowResponse.setStatus(context.integerValue("DescribeDialogFlowResponse.Status"));
ModuleDefinition moduleDefinition = new ModuleDefinition();
List<NodesItem> nodes = new ArrayList<NodesItem>();
for (int i = 0; i < context.lengthValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes.Length"); i++) {
NodesItem nodesItem = new NodesItem();
nodesItem.setCode(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].Code"));
nodesItem.setComponentCode(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].ComponentCode"));
nodesItem.setPluginDataUpdate(context.booleanValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginDataUpdate"));
nodesItem.setXx(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].Xx"));
nodesItem.setYy(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].Yy"));
nodesItem.setId(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].Id"));
nodesItem.setLabel(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].Label"));
PluginData pluginData = new PluginData();
Entry entry = new Entry();
PluginFieldDataEntry pluginFieldDataEntry = new PluginFieldDataEntry();
pluginFieldDataEntry.setLifeSpan(context.integerValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Entry.PluginFieldDataEntry.LifeSpan"));
pluginFieldDataEntry.setName(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Entry.PluginFieldDataEntry.Name"));
List<ContentEntryItem> contentEntry = new ArrayList<ContentEntryItem>();
for (int j = 0; j < context.lengthValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Entry.PluginFieldDataEntry.ContentEntry.Length"); j++) {
ContentEntryItem contentEntryItem = new ContentEntryItem();
List<ConditionEntriesItem> conditionEntries = new ArrayList<ConditionEntriesItem>();
for (int k = 0; k < context.lengthValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Entry.PluginFieldDataEntry.ContentEntry["+ j +"].ConditionEntries.Length"); k++) {
ConditionEntriesItem conditionEntriesItem = new ConditionEntriesItem();
conditionEntriesItem.setId(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Entry.PluginFieldDataEntry.ContentEntry["+ j +"].ConditionEntries["+ k +"].Id"));
conditionEntriesItem.setTerm(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Entry.PluginFieldDataEntry.ContentEntry["+ j +"].ConditionEntries["+ k +"].Term"));
conditionEntriesItem.setName(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Entry.PluginFieldDataEntry.ContentEntry["+ j +"].ConditionEntries["+ k +"].Name"));
conditionEntriesItem.setType(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Entry.PluginFieldDataEntry.ContentEntry["+ j +"].ConditionEntries["+ k +"].Type"));
conditionEntriesItem.setValue(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Entry.PluginFieldDataEntry.ContentEntry["+ j +"].ConditionEntries["+ k +"].Value"));
conditionEntries.add(conditionEntriesItem);
}
contentEntryItem.setConditionEntries(conditionEntries);
contentEntry.add(contentEntryItem);
}
pluginFieldDataEntry.setContentEntry(contentEntry);
entry.setPluginFieldDataEntry(pluginFieldDataEntry);
pluginData.setEntry(entry);
Function function = new Function();
PluginFieldDataFunction pluginFieldDataFunction = new PluginFieldDataFunction();
pluginFieldDataFunction.setCode(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.Code"));
pluginFieldDataFunction.setDescription(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.Description"));
pluginFieldDataFunction.setFunction(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.Function"));
pluginFieldDataFunction.setName(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.Name"));
pluginFieldDataFunction.setAliyunService(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.AliyunService"));
pluginFieldDataFunction.setAliyunFunction(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.AliyunFunction"));
pluginFieldDataFunction.setEndPoint(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.EndPoint"));
pluginFieldDataFunction.setType(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.Type"));
pluginFieldDataFunction.setParams(context.mapValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.Params"));
List<SwitchItem> _switch = new ArrayList<SwitchItem>();
for (int j = 0; j < context.lengthValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.Switch.Length"); j++) {
SwitchItem switchItem = new SwitchItem();
switchItem.setId(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.Switch["+ j +"].Id"));
switchItem.setLabel(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.Switch["+ j +"].Label"));
switchItem.setType(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.Switch["+ j +"].Type"));
switchItem.setValue(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.Switch["+ j +"].Value"));
switchItem.setName(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Function.PluginFieldDataFunction.Switch["+ j +"].Name"));
_switch.add(switchItem);
}
pluginFieldDataFunction.set_Switch(_switch);
function.setPluginFieldDataFunction(pluginFieldDataFunction);
pluginData.setFunction(function);
Response response = new Response();
PluginFieldDataResponse pluginFieldDataResponse = new PluginFieldDataResponse();
pluginFieldDataResponse.setName(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Response.PluginFieldDataResponse.Name"));
ContentResponse contentResponse = new ContentResponse();
contentResponse.setText(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Response.PluginFieldDataResponse.ContentResponse.Text"));
contentResponse.setType(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Response.PluginFieldDataResponse.ContentResponse.Type"));
contentResponse.setImage(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Response.PluginFieldDataResponse.ContentResponse.Image"));
ButtonList buttonList = new ButtonList();
buttonList.setIntro(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Response.PluginFieldDataResponse.ContentResponse.ButtonList.Intro"));
List<ButtonItem> button = new ArrayList<ButtonItem>();
for (int j = 0; j < context.lengthValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Response.PluginFieldDataResponse.ContentResponse.ButtonList.Button.Length"); j++) {
ButtonItem buttonItem = new ButtonItem();
buttonItem.setName(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Response.PluginFieldDataResponse.ContentResponse.ButtonList.Button["+ j +"].Name"));
buttonItem.setType(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Response.PluginFieldDataResponse.ContentResponse.ButtonList.Button["+ j +"].Type"));
buttonItem.setText(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Response.PluginFieldDataResponse.ContentResponse.ButtonList.Button["+ j +"].Text"));
button.add(buttonItem);
}
buttonList.setButton(button);
contentResponse.setButtonList(buttonList);
pluginFieldDataResponse.setContentResponse(contentResponse);
response.setPluginFieldDataResponse(pluginFieldDataResponse);
pluginData.setResponse(response);
Slot slot = new Slot();
PluginFieldDataSlot pluginFieldDataSlot = new PluginFieldDataSlot();
pluginFieldDataSlot.setIntentId(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Slot.PluginFieldDataSlot.IntentId"));
pluginFieldDataSlot.setIntentName(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Slot.PluginFieldDataSlot.IntentName"));
pluginFieldDataSlot.setIsSysIntent(context.booleanValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Slot.PluginFieldDataSlot.IsSysIntent"));
pluginFieldDataSlot.setName(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Slot.PluginFieldDataSlot.Name"));
List<ContentSlotItem> contentSlot = new ArrayList<ContentSlotItem>();
for (int j = 0; j < context.lengthValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Slot.PluginFieldDataSlot.ContentSlot.Length"); j++) {
ContentSlotItem contentSlotItem = new ContentSlotItem();
contentSlotItem.setIsArray(context.booleanValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Slot.PluginFieldDataSlot.ContentSlot["+ j +"].IsArray"));
contentSlotItem.setIsNecessary(context.booleanValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Slot.PluginFieldDataSlot.ContentSlot["+ j +"].IsNecessary"));
contentSlotItem.setLifeSpan(context.integerValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Slot.PluginFieldDataSlot.ContentSlot["+ j +"].LifeSpan"));
contentSlotItem.setName(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Slot.PluginFieldDataSlot.ContentSlot["+ j +"].Name"));
contentSlotItem.setValue(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Slot.PluginFieldDataSlot.ContentSlot["+ j +"].Value"));
List<String> question = new ArrayList<String>();
for (int k = 0; k < context.lengthValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Slot.PluginFieldDataSlot.ContentSlot["+ j +"].Question.Length"); k++) {
question.add(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Nodes["+ i +"].PluginData.Slot.PluginFieldDataSlot.ContentSlot["+ j +"].Question["+ k +"]"));
}
contentSlotItem.setQuestion(question);
contentSlot.add(contentSlotItem);
}
pluginFieldDataSlot.setContentSlot(contentSlot);
slot.setPluginFieldDataSlot(pluginFieldDataSlot);
pluginData.setSlot(slot);
nodesItem.setPluginData(pluginData);
nodes.add(nodesItem);
}
moduleDefinition.setNodes(nodes);
List<EdgesItem> edges = new ArrayList<EdgesItem>();
for (int i = 0; i < context.lengthValue("DescribeDialogFlowResponse.ModuleDefinition.Edges.Length"); i++) {
EdgesItem edgesItem = new EdgesItem();
edgesItem.setId(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Edges["+ i +"].Id"));
edgesItem.setLabel(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Edges["+ i +"].Label"));
edgesItem.setSource(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Edges["+ i +"].Source"));
edgesItem.setTarget(context.stringValue("DescribeDialogFlowResponse.ModuleDefinition.Edges["+ i +"].Target"));
edges.add(edgesItem);
}
moduleDefinition.setEdges(edges);
describeDialogFlowResponse.setModuleDefinition(moduleDefinition);
return describeDialogFlowResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DescribeDialogResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.DescribeDialogResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDialogResponseUnmarshaller {
public static DescribeDialogResponse unmarshall(DescribeDialogResponse describeDialogResponse, UnmarshallerContext context) {
describeDialogResponse.setRequestId(context.stringValue("DescribeDialogResponse.RequestId"));
describeDialogResponse.setDialogId(context.longValue("DescribeDialogResponse.DialogId"));
describeDialogResponse.setDialogName(context.stringValue("DescribeDialogResponse.DialogName"));
describeDialogResponse.setDescription(context.stringValue("DescribeDialogResponse.Description"));
describeDialogResponse.setCreateTime(context.stringValue("DescribeDialogResponse.CreateTime"));
describeDialogResponse.setModifyTime(context.stringValue("DescribeDialogResponse.ModifyTime"));
describeDialogResponse.setCreateUserId(context.stringValue("DescribeDialogResponse.CreateUserId"));
describeDialogResponse.setCreateUserName(context.stringValue("DescribeDialogResponse.CreateUserName"));
describeDialogResponse.setModifyUserId(context.stringValue("DescribeDialogResponse.ModifyUserId"));
describeDialogResponse.setModifyUserName(context.stringValue("DescribeDialogResponse.ModifyUserName"));
describeDialogResponse.setIsSampleDialog(context.booleanValue("DescribeDialogResponse.IsSampleDialog"));
describeDialogResponse.setStatus(context.integerValue("DescribeDialogResponse.Status"));
describeDialogResponse.setIsOnline(context.booleanValue("DescribeDialogResponse.IsOnline"));
return describeDialogResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DescribeEntitiesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.chatbot.model.v20171011.DescribeEntitiesResponse;
import com.aliyuncs.chatbot.model.v20171011.DescribeEntitiesResponse.MembersItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEntitiesResponseUnmarshaller {
public static DescribeEntitiesResponse unmarshall(DescribeEntitiesResponse describeEntitiesResponse, UnmarshallerContext context) {
describeEntitiesResponse.setRequestId(context.stringValue("DescribeEntitiesResponse.RequestId"));
describeEntitiesResponse.setEntityId(context.longValue("DescribeEntitiesResponse.EntityId"));
describeEntitiesResponse.setEntityName(context.stringValue("DescribeEntitiesResponse.EntityName"));
describeEntitiesResponse.setEntityType(context.stringValue("DescribeEntitiesResponse.EntityType"));
describeEntitiesResponse.setRegex(context.stringValue("DescribeEntitiesResponse.Regex"));
describeEntitiesResponse.setCreateTime(context.stringValue("DescribeEntitiesResponse.CreateTime"));
describeEntitiesResponse.setModifyTime(context.stringValue("DescribeEntitiesResponse.ModifyTime"));
describeEntitiesResponse.setCreateUserId(context.stringValue("DescribeEntitiesResponse.CreateUserId"));
describeEntitiesResponse.setCreateUserName(context.stringValue("DescribeEntitiesResponse.CreateUserName"));
describeEntitiesResponse.setModifyUserId(context.stringValue("DescribeEntitiesResponse.ModifyUserId"));
describeEntitiesResponse.setModifyUserName(context.stringValue("DescribeEntitiesResponse.ModifyUserName"));
List<MembersItem> members = new ArrayList<MembersItem>();
for (int i = 0; i < context.lengthValue("DescribeEntitiesResponse.Members.Length"); i++) {
MembersItem membersItem = new MembersItem();
membersItem.setMemberName(context.stringValue("DescribeEntitiesResponse.Members["+ i +"].MemberName"));
List<String> synonyms = new ArrayList<String>();
for (int j = 0; j < context.lengthValue("DescribeEntitiesResponse.Members["+ i +"].Synonyms.Length"); j++) {
synonyms.add(context.stringValue("DescribeEntitiesResponse.Members["+ i +"].Synonyms["+ j +"]"));
}
membersItem.setSynonyms(synonyms);
members.add(membersItem);
}
describeEntitiesResponse.setMembers(members);
return describeEntitiesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DescribeIntentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.chatbot.model.v20171011.DescribeIntentResponse;
import com.aliyuncs.chatbot.model.v20171011.DescribeIntentResponse.RuleCheckItem;
import com.aliyuncs.chatbot.model.v20171011.DescribeIntentResponse.SlotItem;
import com.aliyuncs.chatbot.model.v20171011.DescribeIntentResponse.SlotItem.TagsItem;
import com.aliyuncs.chatbot.model.v20171011.DescribeIntentResponse.UserSayItem;
import com.aliyuncs.chatbot.model.v20171011.DescribeIntentResponse.UserSayItem.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeIntentResponseUnmarshaller {
public static DescribeIntentResponse unmarshall(DescribeIntentResponse describeIntentResponse, UnmarshallerContext context) {
describeIntentResponse.setRequestId(context.stringValue("DescribeIntentResponse.RequestId"));
describeIntentResponse.setIntentId(context.longValue("DescribeIntentResponse.IntentId"));
describeIntentResponse.setName(context.stringValue("DescribeIntentResponse.Name"));
describeIntentResponse.setType(context.stringValue("DescribeIntentResponse.Type"));
describeIntentResponse.setDialogId(context.longValue("DescribeIntentResponse.DialogId"));
describeIntentResponse.setCreateTime(context.stringValue("DescribeIntentResponse.CreateTime"));
describeIntentResponse.setModifyTime(context.stringValue("DescribeIntentResponse.ModifyTime"));
describeIntentResponse.setCreateUserId(context.stringValue("DescribeIntentResponse.CreateUserId"));
describeIntentResponse.setCreateUserName(context.stringValue("DescribeIntentResponse.CreateUserName"));
describeIntentResponse.setModifyUserId(context.stringValue("DescribeIntentResponse.ModifyUserId"));
describeIntentResponse.setModifyUserName(context.stringValue("DescribeIntentResponse.ModifyUserName"));
List<RuleCheckItem> ruleCheck = new ArrayList<RuleCheckItem>();
for (int i = 0; i < context.lengthValue("DescribeIntentResponse.RuleCheck.Length"); i++) {
RuleCheckItem ruleCheckItem = new RuleCheckItem();
ruleCheckItem.setText(context.stringValue("DescribeIntentResponse.RuleCheck["+ i +"].Text"));
ruleCheckItem.setStrict(context.booleanValue("DescribeIntentResponse.RuleCheck["+ i +"].Strict"));
List<String> warning = new ArrayList<String>();
for (int j = 0; j < context.lengthValue("DescribeIntentResponse.RuleCheck["+ i +"].Warning.Length"); j++) {
warning.add(context.stringValue("DescribeIntentResponse.RuleCheck["+ i +"].Warning["+ j +"]"));
}
ruleCheckItem.setWarning(warning);
List<String> error = new ArrayList<String>();
for (int j = 0; j < context.lengthValue("DescribeIntentResponse.RuleCheck["+ i +"].Error.Length"); j++) {
error.add(context.stringValue("DescribeIntentResponse.RuleCheck["+ i +"].Error["+ j +"]"));
}
ruleCheckItem.setError(error);
ruleCheck.add(ruleCheckItem);
}
describeIntentResponse.setRuleCheck(ruleCheck);
List<SlotItem> slot = new ArrayList<SlotItem>();
for (int i = 0; i < context.lengthValue("DescribeIntentResponse.Slot.Length"); i++) {
SlotItem slotItem = new SlotItem();
slotItem.setName(context.stringValue("DescribeIntentResponse.Slot["+ i +"].Name"));
slotItem.setValue(context.stringValue("DescribeIntentResponse.Slot["+ i +"].Value"));
slotItem.setIsNecessary(context.booleanValue("DescribeIntentResponse.Slot["+ i +"].IsNecessary"));
slotItem.setIsArray(context.booleanValue("DescribeIntentResponse.Slot["+ i +"].IsArray"));
slotItem.setLifeSpan(context.integerValue("DescribeIntentResponse.Slot["+ i +"].LifeSpan"));
List<String> question = new ArrayList<String>();
for (int j = 0; j < context.lengthValue("DescribeIntentResponse.Slot["+ i +"].Question.Length"); j++) {
question.add(context.stringValue("DescribeIntentResponse.Slot["+ i +"].Question["+ j +"]"));
}
slotItem.setQuestion(question);
List<TagsItem> tags = new ArrayList<TagsItem>();
for (int j = 0; j < context.lengthValue("DescribeIntentResponse.Slot["+ i +"].Tags.Length"); j++) {
TagsItem tagsItem = new TagsItem();
tagsItem.setValue(context.stringValue("DescribeIntentResponse.Slot["+ i +"].Tags["+ j +"].Value"));
tagsItem.setUserSayId(context.stringValue("DescribeIntentResponse.Slot["+ i +"].Tags["+ j +"].UserSayId"));
tags.add(tagsItem);
}
slotItem.setTags(tags);
slot.add(slotItem);
}
describeIntentResponse.setSlot(slot);
List<UserSayItem> userSay = new ArrayList<UserSayItem>();
for (int i = 0; i < context.lengthValue("DescribeIntentResponse.UserSay.Length"); i++) {
UserSayItem userSayItem = new UserSayItem();
userSayItem.setStrict(context.booleanValue("DescribeIntentResponse.UserSay["+ i +"].Strict"));
List<DataItem> data = new ArrayList<DataItem>();
for (int j = 0; j < context.lengthValue("DescribeIntentResponse.UserSay["+ i +"].Data.Length"); j++) {
DataItem dataItem = new DataItem();
dataItem.setText(context.stringValue("DescribeIntentResponse.UserSay["+ i +"].Data["+ j +"].Text"));
dataItem.setSlotId(context.stringValue("DescribeIntentResponse.UserSay["+ i +"].Data["+ j +"].SlotId"));
data.add(dataItem);
}
userSayItem.setData(data);
userSay.add(userSayItem);
}
describeIntentResponse.setUserSay(userSay);
return describeIntentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DescribeKnowledgeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.chatbot.model.v20171011.DescribeKnowledgeResponse;
import com.aliyuncs.chatbot.model.v20171011.DescribeKnowledgeResponse.Outline;
import com.aliyuncs.chatbot.model.v20171011.DescribeKnowledgeResponse.SimQuestion;
import com.aliyuncs.chatbot.model.v20171011.DescribeKnowledgeResponse.Solution;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeKnowledgeResponseUnmarshaller {
public static DescribeKnowledgeResponse unmarshall(DescribeKnowledgeResponse describeKnowledgeResponse, UnmarshallerContext context) {
describeKnowledgeResponse.setRequestId(context.stringValue("DescribeKnowledgeResponse.RequestId"));
describeKnowledgeResponse.setEndDate(context.stringValue("DescribeKnowledgeResponse.EndDate"));
describeKnowledgeResponse.setCreateUserName(context.stringValue("DescribeKnowledgeResponse.CreateUserName"));
describeKnowledgeResponse.setKnowledgeTitle(context.stringValue("DescribeKnowledgeResponse.KnowledgeTitle"));
describeKnowledgeResponse.setVersion(context.integerValue("DescribeKnowledgeResponse.Version"));
describeKnowledgeResponse.setKnowledgeId(context.longValue("DescribeKnowledgeResponse.KnowledgeId"));
describeKnowledgeResponse.setModifyUserName(context.stringValue("DescribeKnowledgeResponse.ModifyUserName"));
describeKnowledgeResponse.setModifyTime(context.stringValue("DescribeKnowledgeResponse.ModifyTime"));
describeKnowledgeResponse.setCreateTime(context.stringValue("DescribeKnowledgeResponse.CreateTime"));
describeKnowledgeResponse.setKnowledgeType(context.integerValue("DescribeKnowledgeResponse.KnowledgeType"));
describeKnowledgeResponse.setCategoryId(context.longValue("DescribeKnowledgeResponse.CategoryId"));
describeKnowledgeResponse.setStartDate(context.stringValue("DescribeKnowledgeResponse.StartDate"));
describeKnowledgeResponse.setKnowledgeStatus(context.integerValue("DescribeKnowledgeResponse.KnowledgeStatus"));
List<String> keyWords = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeKnowledgeResponse.KeyWords.Length"); i++) {
keyWords.add(context.stringValue("DescribeKnowledgeResponse.KeyWords["+ i +"]"));
}
describeKnowledgeResponse.setKeyWords(keyWords);
List<String> coreWords = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeKnowledgeResponse.CoreWords.Length"); i++) {
coreWords.add(context.stringValue("DescribeKnowledgeResponse.CoreWords["+ i +"]"));
}
describeKnowledgeResponse.setCoreWords(coreWords);
List<Outline> outlines = new ArrayList<Outline>();
for (int i = 0; i < context.lengthValue("DescribeKnowledgeResponse.Outlines.Length"); i++) {
Outline outline = new Outline();
outline.setKnowledgeId(context.longValue("DescribeKnowledgeResponse.Outlines["+ i +"].KnowledgeId"));
outline.setTitle(context.stringValue("DescribeKnowledgeResponse.Outlines["+ i +"].Title"));
outline.setOutlineId(context.longValue("DescribeKnowledgeResponse.Outlines["+ i +"].OutlineId"));
outlines.add(outline);
}
describeKnowledgeResponse.setOutlines(outlines);
List<SimQuestion> simQuestions = new ArrayList<SimQuestion>();
for (int i = 0; i < context.lengthValue("DescribeKnowledgeResponse.SimQuestions.Length"); i++) {
SimQuestion simQuestion = new SimQuestion();
simQuestion.setModifyTime(context.stringValue("DescribeKnowledgeResponse.SimQuestions["+ i +"].ModifyTime"));
simQuestion.setCreateTime(context.stringValue("DescribeKnowledgeResponse.SimQuestions["+ i +"].CreateTime"));
simQuestion.setSimQuestionId(context.longValue("DescribeKnowledgeResponse.SimQuestions["+ i +"].SimQuestionId"));
simQuestion.setTitle(context.stringValue("DescribeKnowledgeResponse.SimQuestions["+ i +"].Title"));
simQuestions.add(simQuestion);
}
describeKnowledgeResponse.setSimQuestions(simQuestions);
List<Solution> solutions = new ArrayList<Solution>();
for (int i = 0; i < context.lengthValue("DescribeKnowledgeResponse.Solutions.Length"); i++) {
Solution solution = new Solution();
solution.setSummary(context.stringValue("DescribeKnowledgeResponse.Solutions["+ i +"].Summary"));
solution.setModifyTime(context.stringValue("DescribeKnowledgeResponse.Solutions["+ i +"].ModifyTime"));
solution.setCreateTime(context.stringValue("DescribeKnowledgeResponse.Solutions["+ i +"].CreateTime"));
solution.setSolutionId(context.longValue("DescribeKnowledgeResponse.Solutions["+ i +"].SolutionId"));
solution.setContent(context.stringValue("DescribeKnowledgeResponse.Solutions["+ i +"].Content"));
solution.setPlainText(context.stringValue("DescribeKnowledgeResponse.Solutions["+ i +"].PlainText"));
List<String> perspectiveIds = new ArrayList<String>();
for (int j = 0; j < context.lengthValue("DescribeKnowledgeResponse.Solutions["+ i +"].PerspectiveIds.Length"); j++) {
perspectiveIds.add(context.stringValue("DescribeKnowledgeResponse.Solutions["+ i +"].PerspectiveIds["+ j +"]"));
}
solution.setPerspectiveIds(perspectiveIds);
solutions.add(solution);
}
describeKnowledgeResponse.setSolutions(solutions);
return describeKnowledgeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DescribePerspectiveResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.DescribePerspectiveResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePerspectiveResponseUnmarshaller {
public static DescribePerspectiveResponse unmarshall(DescribePerspectiveResponse describePerspectiveResponse, UnmarshallerContext context) {
describePerspectiveResponse.setRequestId(context.stringValue("DescribePerspectiveResponse.RequestId"));
describePerspectiveResponse.setModifyUserName(context.stringValue("DescribePerspectiveResponse.ModifyUserName"));
describePerspectiveResponse.setModifyTime(context.stringValue("DescribePerspectiveResponse.ModifyTime"));
describePerspectiveResponse.setCreateTime(context.stringValue("DescribePerspectiveResponse.CreateTime"));
describePerspectiveResponse.setSelfDefine(context.booleanValue("DescribePerspectiveResponse.SelfDefine"));
describePerspectiveResponse.setPerspectiveId(context.stringValue("DescribePerspectiveResponse.PerspectiveId"));
describePerspectiveResponse.setCreateUserName(context.stringValue("DescribePerspectiveResponse.CreateUserName"));
describePerspectiveResponse.setPerspectiveCode(context.stringValue("DescribePerspectiveResponse.PerspectiveCode"));
describePerspectiveResponse.setStatus(context.integerValue("DescribePerspectiveResponse.Status"));
describePerspectiveResponse.setName(context.stringValue("DescribePerspectiveResponse.Name"));
return describePerspectiveResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DisableDialogFlowResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.DisableDialogFlowResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DisableDialogFlowResponseUnmarshaller {
public static DisableDialogFlowResponse unmarshall(DisableDialogFlowResponse disableDialogFlowResponse, UnmarshallerContext context) {
disableDialogFlowResponse.setRequestId(context.stringValue("DisableDialogFlowResponse.RequestId"));
return disableDialogFlowResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/DisableKnowledgeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.DisableKnowledgeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DisableKnowledgeResponseUnmarshaller {
public static DisableKnowledgeResponse unmarshall(DisableKnowledgeResponse disableKnowledgeResponse, UnmarshallerContext context) {
disableKnowledgeResponse.setRequestId(context.stringValue("DisableKnowledgeResponse.RequestId"));
return disableKnowledgeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/FeedbackResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.FeedbackResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class FeedbackResponseUnmarshaller {
public static FeedbackResponse unmarshall(FeedbackResponse feedbackResponse, UnmarshallerContext context) {
feedbackResponse.setRequestId(context.stringValue("FeedbackResponse.RequestId"));
feedbackResponse.setMessageId(context.stringValue("FeedbackResponse.MessageId"));
feedbackResponse.setFeedback(context.stringValue("FeedbackResponse.Feedback"));
return feedbackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/MoveKnowledgeCategoryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.MoveKnowledgeCategoryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class MoveKnowledgeCategoryResponseUnmarshaller {
public static MoveKnowledgeCategoryResponse unmarshall(MoveKnowledgeCategoryResponse moveKnowledgeCategoryResponse, UnmarshallerContext context) {
moveKnowledgeCategoryResponse.setRequestId(context.stringValue("MoveKnowledgeCategoryResponse.RequestId"));
return moveKnowledgeCategoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/PublishDialogFlowResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.PublishDialogFlowResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PublishDialogFlowResponseUnmarshaller {
public static PublishDialogFlowResponse unmarshall(PublishDialogFlowResponse publishDialogFlowResponse, UnmarshallerContext context) {
publishDialogFlowResponse.setRequestId(context.stringValue("PublishDialogFlowResponse.RequestId"));
return publishDialogFlowResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/PublishKnowledgeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.PublishKnowledgeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PublishKnowledgeResponseUnmarshaller {
public static PublishKnowledgeResponse unmarshall(PublishKnowledgeResponse publishKnowledgeResponse, UnmarshallerContext context) {
publishKnowledgeResponse.setRequestId(context.stringValue("PublishKnowledgeResponse.RequestId"));
return publishKnowledgeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/QueryCategoriesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import com.aliyuncs.chatbot.model.v20171011.QueryCategoriesResponse;
import com.aliyuncs.chatbot.model.v20171011.QueryCategoriesResponse.Category;
import java.util.Map;
import com.aliyuncs.chatbot.util.BeanUtil;
import com.aliyuncs.exceptions.ClientException;
import com.aliyuncs.http.FormatType;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryCategoriesResponseUnmarshaller {
public static QueryCategoriesResponse unmarshall(QueryCategoriesResponse queryCategoriesResponse, UnmarshallerContext context) {
try {
if(context.getHttpResponse() == null){
throw new ClientException("SDK.NullResponse");
}
String content = context.getHttpResponse().getHttpContentString();
if(FormatType.JSON.equals(context.getHttpResponse().getHttpContentType())){
QueryCategoriesResponse responseData = JSON.parseObject(content, QueryCategoriesResponse.class);
BeanUtil.copyProperties(responseData, queryCategoriesResponse, true);
return queryCategoriesResponse;
}
} catch (ClientException e) {
throw new RuntimeException(e.getMessage());
}
queryCategoriesResponse.setRequestId(context.stringValue("QueryCategoriesResponse.RequestId"));
List<Category> categories = new ArrayList<Category>();
for (int i = 0; i < context.lengthValue("QueryCategoriesResponse.Categories.Length"); i++) {
Category category = new Category();
category.setCategoryId(context.longValue("QueryCategoriesResponse.Categories["+ i +"].CategoryId"));
category.setParentCategoryId(context.longValue("QueryCategoriesResponse.Categories["+ i +"].ParentCategoryId"));
category.setName(context.stringValue("QueryCategoriesResponse.Categories["+ i +"].Name"));
List<Map<Object, Object>> childrensMap = context.listMapValue("QueryCategoriesResponse.Categories["+ i +"].Childrens");
category.setChildrens(JSON.parseObject(JSON.toJSONString(childrensMap), new TypeReference<List<Category>>(){}));
categories.add(category);
}
queryCategoriesResponse.setCategories(categories);
return queryCategoriesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/QueryCoreWordsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.chatbot.model.v20171011.QueryCoreWordsResponse;
import com.aliyuncs.chatbot.model.v20171011.QueryCoreWordsResponse.CoreWord;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryCoreWordsResponseUnmarshaller {
public static QueryCoreWordsResponse unmarshall(QueryCoreWordsResponse queryCoreWordsResponse, UnmarshallerContext context) {
queryCoreWordsResponse.setRequestId(context.stringValue("QueryCoreWordsResponse.RequestId"));
queryCoreWordsResponse.setPageNumber(context.integerValue("QueryCoreWordsResponse.PageNumber"));
queryCoreWordsResponse.setPageSize(context.integerValue("QueryCoreWordsResponse.PageSize"));
queryCoreWordsResponse.setTotalCount(context.integerValue("QueryCoreWordsResponse.TotalCount"));
List<CoreWord> coreWords = new ArrayList<CoreWord>();
for (int i = 0; i < context.lengthValue("QueryCoreWordsResponse.CoreWords.Length"); i++) {
CoreWord coreWord = new CoreWord();
coreWord.setCoreWordCode(context.stringValue("QueryCoreWordsResponse.CoreWords["+ i +"].CoreWordCode"));
coreWord.setCoreWordName(context.stringValue("QueryCoreWordsResponse.CoreWords["+ i +"].CoreWordName"));
coreWord.setModifyTime(context.stringValue("QueryCoreWordsResponse.CoreWords["+ i +"].ModifyTime"));
coreWord.setCreateTime(context.stringValue("QueryCoreWordsResponse.CoreWords["+ i +"].CreateTime"));
List<String> synonyms = new ArrayList<String>();
for (int j = 0; j < context.lengthValue("QueryCoreWordsResponse.CoreWords["+ i +"].Synonyms.Length"); j++) {
synonyms.add(context.stringValue("QueryCoreWordsResponse.CoreWords["+ i +"].Synonyms["+ j +"]"));
}
coreWord.setSynonyms(synonyms);
coreWords.add(coreWord);
}
queryCoreWordsResponse.setCoreWords(coreWords);
return queryCoreWordsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/QueryDialogsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.chatbot.model.v20171011.QueryDialogsResponse;
import com.aliyuncs.chatbot.model.v20171011.QueryDialogsResponse.Dialog;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryDialogsResponseUnmarshaller {
public static QueryDialogsResponse unmarshall(QueryDialogsResponse queryDialogsResponse, UnmarshallerContext context) {
queryDialogsResponse.setRequestId(context.stringValue("QueryDialogsResponse.RequestId"));
queryDialogsResponse.setPageSize(context.integerValue("QueryDialogsResponse.PageSize"));
queryDialogsResponse.setPageNumber(context.integerValue("QueryDialogsResponse.PageNumber"));
queryDialogsResponse.setTotalCount(context.integerValue("QueryDialogsResponse.TotalCount"));
List<Dialog> dialogs = new ArrayList<Dialog>();
for (int i = 0; i < context.lengthValue("QueryDialogsResponse.Dialogs.Length"); i++) {
Dialog dialog = new Dialog();
dialog.setDialogId(context.longValue("QueryDialogsResponse.Dialogs["+ i +"].DialogId"));
dialog.setDialogName(context.stringValue("QueryDialogsResponse.Dialogs["+ i +"].DialogName"));
dialog.setDescription(context.stringValue("QueryDialogsResponse.Dialogs["+ i +"].Description"));
dialog.setCreateTime(context.stringValue("QueryDialogsResponse.Dialogs["+ i +"].CreateTime"));
dialog.setModifyTime(context.stringValue("QueryDialogsResponse.Dialogs["+ i +"].ModifyTime"));
dialog.setCreateUserId(context.stringValue("QueryDialogsResponse.Dialogs["+ i +"].CreateUserId"));
dialog.setCreateUserName(context.stringValue("QueryDialogsResponse.Dialogs["+ i +"].CreateUserName"));
dialog.setModifyUserId(context.stringValue("QueryDialogsResponse.Dialogs["+ i +"].ModifyUserId"));
dialog.setModifyUserName(context.stringValue("QueryDialogsResponse.Dialogs["+ i +"].ModifyUserName"));
dialog.setIsSampleDialog(context.booleanValue("QueryDialogsResponse.Dialogs["+ i +"].IsSampleDialog"));
dialog.setStatus(context.integerValue("QueryDialogsResponse.Dialogs["+ i +"].Status"));
dialog.setIsOnline(context.booleanValue("QueryDialogsResponse.Dialogs["+ i +"].IsOnline"));
dialogs.add(dialog);
}
queryDialogsResponse.setDialogs(dialogs);
return queryDialogsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/QueryEntitiesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.chatbot.model.v20171011.QueryEntitiesResponse;
import com.aliyuncs.chatbot.model.v20171011.QueryEntitiesResponse.Entity;
import com.aliyuncs.chatbot.model.v20171011.QueryEntitiesResponse.Entity.MembersItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryEntitiesResponseUnmarshaller {
public static QueryEntitiesResponse unmarshall(QueryEntitiesResponse queryEntitiesResponse, UnmarshallerContext context) {
queryEntitiesResponse.setRequestId(context.stringValue("QueryEntitiesResponse.RequestId"));
queryEntitiesResponse.setPageNumber(context.integerValue("QueryEntitiesResponse.PageNumber"));
queryEntitiesResponse.setPageSize(context.integerValue("QueryEntitiesResponse.PageSize"));
queryEntitiesResponse.setTotalCount(context.integerValue("QueryEntitiesResponse.TotalCount"));
List<Entity> entities = new ArrayList<Entity>();
for (int i = 0; i < context.lengthValue("QueryEntitiesResponse.Entities.Length"); i++) {
Entity entity = new Entity();
entity.setEntityId(context.longValue("QueryEntitiesResponse.Entities["+ i +"].EntityId"));
entity.setEntityName(context.stringValue("QueryEntitiesResponse.Entities["+ i +"].EntityName"));
entity.setEntityType(context.stringValue("QueryEntitiesResponse.Entities["+ i +"].EntityType"));
entity.setRegex(context.stringValue("QueryEntitiesResponse.Entities["+ i +"].Regex"));
entity.setCreateTime(context.stringValue("QueryEntitiesResponse.Entities["+ i +"].CreateTime"));
entity.setModifyTime(context.stringValue("QueryEntitiesResponse.Entities["+ i +"].ModifyTime"));
entity.setCreateUserId(context.stringValue("QueryEntitiesResponse.Entities["+ i +"].CreateUserId"));
entity.setCreateUserName(context.stringValue("QueryEntitiesResponse.Entities["+ i +"].CreateUserName"));
entity.setModifyUserId(context.stringValue("QueryEntitiesResponse.Entities["+ i +"].ModifyUserId"));
entity.setModifyUserName(context.stringValue("QueryEntitiesResponse.Entities["+ i +"].ModifyUserName"));
List<MembersItem> members = new ArrayList<MembersItem>();
for (int j = 0; j < context.lengthValue("QueryEntitiesResponse.Entities["+ i +"].Members.Length"); j++) {
MembersItem membersItem = new MembersItem();
membersItem.setMemberName(context.stringValue("QueryEntitiesResponse.Entities["+ i +"].Members["+ j +"].MemberName"));
List<String> synonyms = new ArrayList<String>();
for (int k = 0; k < context.lengthValue("QueryEntitiesResponse.Entities["+ i +"].Members["+ j +"].Synonyms.Length"); k++) {
synonyms.add(context.stringValue("QueryEntitiesResponse.Entities["+ i +"].Members["+ j +"].Synonyms["+ k +"]"));
}
membersItem.setSynonyms(synonyms);
members.add(membersItem);
}
entity.setMembers(members);
entities.add(entity);
}
queryEntitiesResponse.setEntities(entities);
return queryEntitiesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/QueryIntentsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.chatbot.model.v20171011.QueryIntentsResponse;
import com.aliyuncs.chatbot.model.v20171011.QueryIntentsResponse.Intent;
import com.aliyuncs.chatbot.model.v20171011.QueryIntentsResponse.Intent.RuleCheckItem;
import com.aliyuncs.chatbot.model.v20171011.QueryIntentsResponse.Intent.SlotItem;
import com.aliyuncs.chatbot.model.v20171011.QueryIntentsResponse.Intent.SlotItem.TagsItem;
import com.aliyuncs.chatbot.model.v20171011.QueryIntentsResponse.Intent.UserSayItem;
import com.aliyuncs.chatbot.model.v20171011.QueryIntentsResponse.Intent.UserSayItem.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryIntentsResponseUnmarshaller {
public static QueryIntentsResponse unmarshall(QueryIntentsResponse queryIntentsResponse, UnmarshallerContext context) {
queryIntentsResponse.setRequestId(context.stringValue("QueryIntentsResponse.RequestId"));
queryIntentsResponse.setPageNumber(context.integerValue("QueryIntentsResponse.PageNumber"));
queryIntentsResponse.setPageSize(context.integerValue("QueryIntentsResponse.PageSize"));
queryIntentsResponse.setTotalCount(context.integerValue("QueryIntentsResponse.TotalCount"));
List<Intent> intents = new ArrayList<Intent>();
for (int i = 0; i < context.lengthValue("QueryIntentsResponse.Intents.Length"); i++) {
Intent intent = new Intent();
intent.setIntentId(context.longValue("QueryIntentsResponse.Intents["+ i +"].IntentId"));
intent.setName(context.stringValue("QueryIntentsResponse.Intents["+ i +"].Name"));
intent.setCreateTime(context.stringValue("QueryIntentsResponse.Intents["+ i +"].CreateTime"));
intent.setModifyTime(context.stringValue("QueryIntentsResponse.Intents["+ i +"].ModifyTime"));
intent.setCreateUserId(context.stringValue("QueryIntentsResponse.Intents["+ i +"].CreateUserId"));
intent.setCreateUserName(context.stringValue("QueryIntentsResponse.Intents["+ i +"].CreateUserName"));
intent.setModifyUserId(context.stringValue("QueryIntentsResponse.Intents["+ i +"].ModifyUserId"));
intent.setModifyUserName(context.stringValue("QueryIntentsResponse.Intents["+ i +"].ModifyUserName"));
List<UserSayItem> userSay = new ArrayList<UserSayItem>();
for (int j = 0; j < context.lengthValue("QueryIntentsResponse.Intents["+ i +"].UserSay.Length"); j++) {
UserSayItem userSayItem = new UserSayItem();
userSayItem.setStrict(context.booleanValue("QueryIntentsResponse.Intents["+ i +"].UserSay["+ j +"].Strict"));
List<DataItem> data = new ArrayList<DataItem>();
for (int k = 0; k < context.lengthValue("QueryIntentsResponse.Intents["+ i +"].UserSay["+ j +"].Data.Length"); k++) {
DataItem dataItem = new DataItem();
dataItem.setText(context.stringValue("QueryIntentsResponse.Intents["+ i +"].UserSay["+ j +"].Data["+ k +"].Text"));
dataItem.setSlotId(context.stringValue("QueryIntentsResponse.Intents["+ i +"].UserSay["+ j +"].Data["+ k +"].SlotId"));
data.add(dataItem);
}
userSayItem.setData(data);
userSay.add(userSayItem);
}
intent.setUserSay(userSay);
List<RuleCheckItem> ruleCheck = new ArrayList<RuleCheckItem>();
for (int j = 0; j < context.lengthValue("QueryIntentsResponse.Intents["+ i +"].RuleCheck.Length"); j++) {
RuleCheckItem ruleCheckItem = new RuleCheckItem();
ruleCheckItem.setText(context.stringValue("QueryIntentsResponse.Intents["+ i +"].RuleCheck["+ j +"].Text"));
ruleCheckItem.setStrict(context.booleanValue("QueryIntentsResponse.Intents["+ i +"].RuleCheck["+ j +"].Strict"));
List<String> warning = new ArrayList<String>();
for (int k = 0; k < context.lengthValue("QueryIntentsResponse.Intents["+ i +"].RuleCheck["+ j +"].Warning.Length"); k++) {
warning.add(context.stringValue("QueryIntentsResponse.Intents["+ i +"].RuleCheck["+ j +"].Warning["+ k +"]"));
}
ruleCheckItem.setWarning(warning);
List<String> error = new ArrayList<String>();
for (int k = 0; k < context.lengthValue("QueryIntentsResponse.Intents["+ i +"].RuleCheck["+ j +"].Error.Length"); k++) {
error.add(context.stringValue("QueryIntentsResponse.Intents["+ i +"].RuleCheck["+ j +"].Error["+ k +"]"));
}
ruleCheckItem.setError(error);
ruleCheck.add(ruleCheckItem);
}
intent.setRuleCheck(ruleCheck);
List<SlotItem> slot = new ArrayList<SlotItem>();
for (int j = 0; j < context.lengthValue("QueryIntentsResponse.Intents["+ i +"].Slot.Length"); j++) {
SlotItem slotItem = new SlotItem();
slotItem.setName(context.stringValue("QueryIntentsResponse.Intents["+ i +"].Slot["+ j +"].Name"));
slotItem.setValue(context.stringValue("QueryIntentsResponse.Intents["+ i +"].Slot["+ j +"].Value"));
slotItem.setIsNecessary(context.booleanValue("QueryIntentsResponse.Intents["+ i +"].Slot["+ j +"].IsNecessary"));
slotItem.setIsArray(context.booleanValue("QueryIntentsResponse.Intents["+ i +"].Slot["+ j +"].IsArray"));
slotItem.setLifeSpan(context.integerValue("QueryIntentsResponse.Intents["+ i +"].Slot["+ j +"].LifeSpan"));
List<String> question = new ArrayList<String>();
for (int k = 0; k < context.lengthValue("QueryIntentsResponse.Intents["+ i +"].Slot["+ j +"].Question.Length"); k++) {
question.add(context.stringValue("QueryIntentsResponse.Intents["+ i +"].Slot["+ j +"].Question["+ k +"]"));
}
slotItem.setQuestion(question);
List<TagsItem> tags = new ArrayList<TagsItem>();
for (int k = 0; k < context.lengthValue("QueryIntentsResponse.Intents["+ i +"].Slot["+ j +"].Tags.Length"); k++) {
TagsItem tagsItem = new TagsItem();
tagsItem.setValue(context.stringValue("QueryIntentsResponse.Intents["+ i +"].Slot["+ j +"].Tags["+ k +"].Value"));
tagsItem.setUserSayId(context.stringValue("QueryIntentsResponse.Intents["+ i +"].Slot["+ j +"].Tags["+ k +"].UserSayId"));
tags.add(tagsItem);
}
slotItem.setTags(tags);
slot.add(slotItem);
}
intent.setSlot(slot);
intents.add(intent);
}
queryIntentsResponse.setIntents(intents);
return queryIntentsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/QueryKnowledgesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.chatbot.model.v20171011.QueryKnowledgesResponse;
import com.aliyuncs.chatbot.model.v20171011.QueryKnowledgesResponse.Knowledge;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryKnowledgesResponseUnmarshaller {
public static QueryKnowledgesResponse unmarshall(QueryKnowledgesResponse queryKnowledgesResponse, UnmarshallerContext context) {
queryKnowledgesResponse.setRequestId(context.stringValue("QueryKnowledgesResponse.RequestId"));
queryKnowledgesResponse.setPageNumber(context.integerValue("QueryKnowledgesResponse.PageNumber"));
queryKnowledgesResponse.setPageSize(context.integerValue("QueryKnowledgesResponse.PageSize"));
queryKnowledgesResponse.setTotalCount(context.integerValue("QueryKnowledgesResponse.TotalCount"));
List<Knowledge> knowledges = new ArrayList<Knowledge>();
for (int i = 0; i < context.lengthValue("QueryKnowledgesResponse.Knowledges.Length"); i++) {
Knowledge knowledge = new Knowledge();
knowledge.setKnowledgeId(context.longValue("QueryKnowledgesResponse.Knowledges["+ i +"].KnowledgeId"));
knowledge.setModifyTime(context.stringValue("QueryKnowledgesResponse.Knowledges["+ i +"].ModifyTime"));
knowledge.setModifyUserName(context.stringValue("QueryKnowledgesResponse.Knowledges["+ i +"].ModifyUserName"));
knowledge.setCreateTime(context.stringValue("QueryKnowledgesResponse.Knowledges["+ i +"].CreateTime"));
knowledge.setCreateUserName(context.stringValue("QueryKnowledgesResponse.Knowledges["+ i +"].CreateUserName"));
knowledge.setCategoryId(context.longValue("QueryKnowledgesResponse.Knowledges["+ i +"].CategoryId"));
knowledge.setKnowledgeStatus(context.integerValue("QueryKnowledgesResponse.Knowledges["+ i +"].KnowledgeStatus"));
knowledge.setKnowledgeTitle(context.stringValue("QueryKnowledgesResponse.Knowledges["+ i +"].KnowledgeTitle"));
knowledge.setStartDate(context.stringValue("QueryKnowledgesResponse.Knowledges["+ i +"].StartDate"));
knowledge.setEndDate(context.stringValue("QueryKnowledgesResponse.Knowledges["+ i +"].EndDate"));
knowledge.setVersion(context.stringValue("QueryKnowledgesResponse.Knowledges["+ i +"].Version"));
List<String> coreWords = new ArrayList<String>();
for (int j = 0; j < context.lengthValue("QueryKnowledgesResponse.Knowledges["+ i +"].CoreWords.Length"); j++) {
coreWords.add(context.stringValue("QueryKnowledgesResponse.Knowledges["+ i +"].CoreWords["+ j +"]"));
}
knowledge.setCoreWords(coreWords);
knowledges.add(knowledge);
}
queryKnowledgesResponse.setKnowledges(knowledges);
return queryKnowledgesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/QueryPerspectivesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.chatbot.model.v20171011.QueryPerspectivesResponse;
import com.aliyuncs.chatbot.model.v20171011.QueryPerspectivesResponse.Perspective;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryPerspectivesResponseUnmarshaller {
public static QueryPerspectivesResponse unmarshall(QueryPerspectivesResponse queryPerspectivesResponse, UnmarshallerContext context) {
queryPerspectivesResponse.setRequestId(context.stringValue("QueryPerspectivesResponse.RequestId"));
List<Perspective> perspectives = new ArrayList<Perspective>();
for (int i = 0; i < context.lengthValue("QueryPerspectivesResponse.Perspectives.Length"); i++) {
Perspective perspective = new Perspective();
perspective.setModifyUserName(context.stringValue("QueryPerspectivesResponse.Perspectives["+ i +"].ModifyUserName"));
perspective.setModifyTime(context.stringValue("QueryPerspectivesResponse.Perspectives["+ i +"].ModifyTime"));
perspective.setCreateTime(context.stringValue("QueryPerspectivesResponse.Perspectives["+ i +"].CreateTime"));
perspective.setSelfDefine(context.stringValue("QueryPerspectivesResponse.Perspectives["+ i +"].SelfDefine"));
perspective.setPerspectiveId(context.stringValue("QueryPerspectivesResponse.Perspectives["+ i +"].PerspectiveId"));
perspective.setCreateUserName(context.stringValue("QueryPerspectivesResponse.Perspectives["+ i +"].CreateUserName"));
perspective.setPerspectiveCode(context.stringValue("QueryPerspectivesResponse.Perspectives["+ i +"].PerspectiveCode"));
perspective.setStatus(context.integerValue("QueryPerspectivesResponse.Perspectives["+ i +"].Status"));
perspective.setName(context.stringValue("QueryPerspectivesResponse.Perspectives["+ i +"].Name"));
perspectives.add(perspective);
}
queryPerspectivesResponse.setPerspectives(perspectives);
return queryPerspectivesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/QuerySystemEntitiesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.chatbot.model.v20171011.QuerySystemEntitiesResponse;
import com.aliyuncs.chatbot.model.v20171011.QuerySystemEntitiesResponse.Entity;
import com.aliyuncs.transform.UnmarshallerContext;
public class QuerySystemEntitiesResponseUnmarshaller {
public static QuerySystemEntitiesResponse unmarshall(QuerySystemEntitiesResponse querySystemEntitiesResponse, UnmarshallerContext context) {
querySystemEntitiesResponse.setRequestId(context.stringValue("QuerySystemEntitiesResponse.RequestId"));
List<Entity> systemEntities = new ArrayList<Entity>();
for (int i = 0; i < context.lengthValue("QuerySystemEntitiesResponse.SystemEntities.Length"); i++) {
Entity entity = new Entity();
entity.setDefaultQuestion(context.stringValue("QuerySystemEntitiesResponse.SystemEntities["+ i +"].DefaultQuestion"));
entity.setEntityName(context.stringValue("QuerySystemEntitiesResponse.SystemEntities["+ i +"].EntityName"));
entity.setEntityCode(context.stringValue("QuerySystemEntitiesResponse.SystemEntities["+ i +"].EntityCode"));
systemEntities.add(entity);
}
querySystemEntitiesResponse.setSystemEntities(systemEntities);
return querySystemEntitiesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/RemoveEntityMemberResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.RemoveEntityMemberResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RemoveEntityMemberResponseUnmarshaller {
public static RemoveEntityMemberResponse unmarshall(RemoveEntityMemberResponse removeEntityMemberResponse, UnmarshallerContext context) {
removeEntityMemberResponse.setRequestId(context.stringValue("RemoveEntityMemberResponse.RequestId"));
removeEntityMemberResponse.setEntityId(context.stringValue("RemoveEntityMemberResponse.EntityId"));
return removeEntityMemberResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/RemoveSynonymResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.RemoveSynonymResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RemoveSynonymResponseUnmarshaller {
public static RemoveSynonymResponse unmarshall(RemoveSynonymResponse removeSynonymResponse, UnmarshallerContext context) {
removeSynonymResponse.setRequestId(context.stringValue("RemoveSynonymResponse.RequestId"));
return removeSynonymResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/TestDialogFlowResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.TestDialogFlowResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class TestDialogFlowResponseUnmarshaller {
public static TestDialogFlowResponse unmarshall(TestDialogFlowResponse testDialogFlowResponse, UnmarshallerContext context) {
testDialogFlowResponse.setRequestId(context.stringValue("TestDialogFlowResponse.RequestId"));
return testDialogFlowResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/UpdateCategoryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.UpdateCategoryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateCategoryResponseUnmarshaller {
public static UpdateCategoryResponse unmarshall(UpdateCategoryResponse updateCategoryResponse, UnmarshallerContext context) {
updateCategoryResponse.setRequestId(context.stringValue("UpdateCategoryResponse.RequestId"));
updateCategoryResponse.setSuccess(context.booleanValue("UpdateCategoryResponse.Success"));
return updateCategoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/UpdateDialogFlowResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.UpdateDialogFlowResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateDialogFlowResponseUnmarshaller {
public static UpdateDialogFlowResponse unmarshall(UpdateDialogFlowResponse updateDialogFlowResponse, UnmarshallerContext context) {
updateDialogFlowResponse.setRequestId(context.stringValue("UpdateDialogFlowResponse.RequestId"));
return updateDialogFlowResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/UpdateDialogResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.UpdateDialogResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateDialogResponseUnmarshaller {
public static UpdateDialogResponse unmarshall(UpdateDialogResponse updateDialogResponse, UnmarshallerContext context) {
updateDialogResponse.setRequestId(context.stringValue("UpdateDialogResponse.RequestId"));
return updateDialogResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/UpdateEntityResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.UpdateEntityResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateEntityResponseUnmarshaller {
public static UpdateEntityResponse unmarshall(UpdateEntityResponse updateEntityResponse, UnmarshallerContext context) {
updateEntityResponse.setRequestId(context.stringValue("UpdateEntityResponse.RequestId"));
updateEntityResponse.setEntityId(context.stringValue("UpdateEntityResponse.EntityId"));
return updateEntityResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/UpdateIntentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.UpdateIntentResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateIntentResponseUnmarshaller {
public static UpdateIntentResponse unmarshall(UpdateIntentResponse updateIntentResponse, UnmarshallerContext context) {
updateIntentResponse.setRequestId(context.stringValue("UpdateIntentResponse.RequestId"));
updateIntentResponse.setIntentId(context.stringValue("UpdateIntentResponse.IntentId"));
return updateIntentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/UpdateKnowledgeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.UpdateKnowledgeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateKnowledgeResponseUnmarshaller {
public static UpdateKnowledgeResponse unmarshall(UpdateKnowledgeResponse updateKnowledgeResponse, UnmarshallerContext context) {
updateKnowledgeResponse.setRequestId(context.stringValue("UpdateKnowledgeResponse.RequestId"));
updateKnowledgeResponse.setKnowledgeId(context.longValue("UpdateKnowledgeResponse.KnowledgeId"));
return updateKnowledgeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/transform/v20171011/UpdatePerspectiveResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.transform.v20171011;
import com.aliyuncs.chatbot.model.v20171011.UpdatePerspectiveResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdatePerspectiveResponseUnmarshaller {
public static UpdatePerspectiveResponse unmarshall(UpdatePerspectiveResponse updatePerspectiveResponse, UnmarshallerContext context) {
updatePerspectiveResponse.setRequestId(context.stringValue("UpdatePerspectiveResponse.RequestId"));
return updatePerspectiveResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/util/BeanUtil.java
|
package com.aliyuncs.chatbot.util;
import java.lang.reflect.Field;
public class BeanUtil {
/**
* 复制对象属性(对象类型必须相同)
*
* @param orig 资源对象
* @param dest 目标对象
* @param clazz 源对象类
* @param ignoreNull 是否忽略空(true:忽略,false:不忽略)
* @return
*/
public static <T> T copyProperties(T orig, T dest, Class<?> clazz, boolean ignoreNull) {
if (orig == null || dest == null){
return null;
}
if(!clazz.isAssignableFrom(orig.getClass())){
return null;
}
Field[] fields = clazz.getDeclaredFields();
for (Field field : fields) {
try {
field.setAccessible(true);
Object value = field.get(orig);
if(!java.lang.reflect.Modifier.isFinal(field.getModifiers())){
if(!(ignoreNull && value == null)){
field.set(dest, value);
}
}
field.setAccessible(false);
} catch (Exception e) {
e.printStackTrace();
}
}
if(clazz.getSuperclass() == Object.class){
return dest;
}
return copyProperties(orig, dest, clazz.getSuperclass(), ignoreNull);
}
/**
* 复制对象属性(对象类型必须相同)
* @param orig 资源对象
* @param dest 目标对象
* @param ignoreNull 是否忽略空(true:忽略,false:不忽略)
*/
public static <T> T copyProperties(T orig, T dest, boolean ignoreNull) {
if (orig == null || dest == null){
return null;
}
return copyProperties(orig, dest, orig.getClass(), ignoreNull);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/model
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/model/v20220202/CreateInstanceRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chenyitestroa.model.v20220202;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CreateInstanceRequest extends RoaAcsRequest<CreateInstanceResponse> {
private String clientToken;
private String clientAutoToken;
private String body;
public CreateInstanceRequest() {
super("chenYiTestRoa", "2022-02-02", "CreateInstance");
setUriPattern("/ChenyiTest/Instance/[InstanceId]");
setMethod(MethodType.POST);
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getClientAutoToken() {
return this.clientAutoToken;
}
public void setClientAutoToken(String clientAutoToken) {
this.clientAutoToken = clientAutoToken;
if(clientAutoToken != null){
putQueryParameter("ClientAutoToken", clientAutoToken);
}
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("Body", body);
}
}
@Override
public Class<CreateInstanceResponse> getResponseClass() {
return CreateInstanceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/model
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/model/v20220202/CreateInstanceResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chenyitestroa.model.v20220202;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chenyitestroa.transform.v20220202.CreateInstanceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateInstanceResponse extends AcsResponse {
private String requestId;
private String jobId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
@Override
public CreateInstanceResponse getInstance(UnmarshallerContext context) {
return CreateInstanceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/model
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/model/v20220202/CreateTopicRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chenyitestroa.model.v20220202;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CreateTopicRequest extends RoaAcsRequest<CreateTopicResponse> {
private String clientToken;
public CreateTopicRequest() {
super("chenYiTestRoa", "2022-02-02", "CreateTopic");
setUriPattern("/ChenyiTest/Topic/[TopicId]");
setMethod(MethodType.POST);
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
@Override
public Class<CreateTopicResponse> getResponseClass() {
return CreateTopicResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/model
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/model/v20220202/CreateTopicResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chenyitestroa.model.v20220202;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chenyitestroa.transform.v20220202.CreateTopicResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateTopicResponse extends AcsResponse {
private String requestId;
private String jobId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
@Override
public CreateTopicResponse getInstance(UnmarshallerContext context) {
return CreateTopicResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/model
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/model/v20220202/UpdateTopicRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chenyitestroa.model.v20220202;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UpdateTopicRequest extends RoaAcsRequest<UpdateTopicResponse> {
private String topicId;
public UpdateTopicRequest() {
super("chenYiTestRoa", "2022-02-02", "UpdateTopic");
setUriPattern("/ChenyiTest/Topic/[TopicId]");
setMethod(MethodType.PATCH);
}
public String getTopicId() {
return this.topicId;
}
public void setTopicId(String topicId) {
this.topicId = topicId;
if(topicId != null){
putPathParameter("TopicId", topicId);
}
}
@Override
public Class<UpdateTopicResponse> getResponseClass() {
return UpdateTopicResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/model
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/model/v20220202/UpdateTopicResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chenyitestroa.model.v20220202;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chenyitestroa.transform.v20220202.UpdateTopicResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateTopicResponse extends AcsResponse {
private String topicId;
private String requestId;
public String getTopicId() {
return this.topicId;
}
public void setTopicId(String topicId) {
this.topicId = topicId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateTopicResponse getInstance(UnmarshallerContext context) {
return UpdateTopicResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/transform/v20220202/CreateInstanceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chenyitestroa.transform.v20220202;
import com.aliyuncs.chenyitestroa.model.v20220202.CreateInstanceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateInstanceResponseUnmarshaller {
public static CreateInstanceResponse unmarshall(CreateInstanceResponse createInstanceResponse, UnmarshallerContext _ctx) {
createInstanceResponse.setRequestId(_ctx.stringValue("CreateInstanceResponse.requestId"));
createInstanceResponse.setJobId(_ctx.stringValue("CreateInstanceResponse.JobId"));
return createInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/transform/v20220202/CreateTopicResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chenyitestroa.transform.v20220202;
import com.aliyuncs.chenyitestroa.model.v20220202.CreateTopicResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateTopicResponseUnmarshaller {
public static CreateTopicResponse unmarshall(CreateTopicResponse createTopicResponse, UnmarshallerContext _ctx) {
createTopicResponse.setRequestId(_ctx.stringValue("CreateTopicResponse.requestId"));
createTopicResponse.setJobId(_ctx.stringValue("CreateTopicResponse.JobId"));
return createTopicResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/transform
|
java-sources/com/aliyun/aliyun-java-sdk-chenyitestroa/1.0.0/com/aliyuncs/chenyitestroa/transform/v20220202/UpdateTopicResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chenyitestroa.transform.v20220202;
import com.aliyuncs.chenyitestroa.model.v20220202.UpdateTopicResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateTopicResponseUnmarshaller {
public static UpdateTopicResponse unmarshall(UpdateTopicResponse updateTopicResponse, UnmarshallerContext _ctx) {
updateTopicResponse.setTopicId(_ctx.stringValue("UpdateTopicResponse.TopicId"));
updateTopicResponse.setRequestId(_ctx.stringValue("UpdateTopicResponse.requestId"));
return updateTopicResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/Endpoint.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse;
import java.util.HashMap;
public class Endpoint {
public static HashMap<String, String> endpointMap = new HashMap<String, String>() {
{
put("cn-shanghai-internal-test-1", "clickhouse.aliyuncs.com");
put("cn-beijing-gov-1", "clickhouse.aliyuncs.com");
put("cn-shenzhen-su18-b01", "clickhouse.aliyuncs.com");
put("cn-beijing", "clickhouse.aliyuncs.com");
put("cn-shanghai-inner", "clickhouse.aliyuncs.com");
put("cn-shenzhen-st4-d01", "clickhouse.aliyuncs.com");
put("cn-haidian-cm12-c01", "clickhouse.aliyuncs.com");
put("cn-hangzhou-internal-prod-1", "clickhouse.aliyuncs.com");
put("cn-north-2-gov-1", "clickhouse.aliyuncs.com");
put("cn-yushanfang", "clickhouse.aliyuncs.com");
put("cn-qingdao", "clickhouse.aliyuncs.com");
put("cn-hongkong-finance-pop", "clickhouse.aliyuncs.com");
put("cn-qingdao-nebula", "clickhouse.aliyuncs.com");
put("cn-shanghai", "clickhouse.aliyuncs.com");
put("cn-shanghai-finance-1", "clickhouse.aliyuncs.com");
put("cn-hongkong", "clickhouse.aliyuncs.com");
put("cn-beijing-finance-pop", "clickhouse.aliyuncs.com");
put("cn-wuhan", "clickhouse.aliyuncs.com");
put("us-west-1", "clickhouse.aliyuncs.com");
put("cn-shenzhen", "clickhouse.aliyuncs.com");
put("cn-zhengzhou-nebula-1", "clickhouse.aliyuncs.com");
put("rus-west-1-pop", "clickhouse.aliyuncs.com");
put("cn-shanghai-et15-b01", "clickhouse.aliyuncs.com");
put("cn-hangzhou-bj-b01", "clickhouse.aliyuncs.com");
put("cn-hangzhou-internal-test-1", "clickhouse.aliyuncs.com");
put("eu-west-1-oxs", "clickhouse.aliyuncs.com");
put("cn-zhangbei-na61-b01", "clickhouse.aliyuncs.com");
put("cn-beijing-finance-1", "clickhouse.aliyuncs.com");
put("cn-hangzhou-internal-test-3", "clickhouse.aliyuncs.com");
put("cn-hangzhou-internal-test-2", "clickhouse.aliyuncs.com");
put("cn-shenzhen-finance-1", "clickhouse.aliyuncs.com");
put("me-east-1", "clickhouse.aliyuncs.com");
put("cn-hangzhou-test-306", "clickhouse.aliyuncs.com");
put("cn-shanghai-et2-b01", "clickhouse.aliyuncs.com");
put("cn-hangzhou-finance", "clickhouse.aliyuncs.com");
put("ap-southeast-1", "clickhouse.aliyuncs.com");
put("cn-beijing-nu16-b01", "clickhouse.aliyuncs.com");
put("cn-edge-1", "clickhouse.aliyuncs.com");
put("cn-fujian", "clickhouse.aliyuncs.com");
put("us-east-1", "clickhouse.aliyuncs.com");
put("ap-northeast-2-pop", "clickhouse.aliyuncs.com");
put("cn-shenzhen-inner", "clickhouse.aliyuncs.com");
put("cn-zhangjiakou-na62-a01", "clickhouse.aliyuncs.com");
put("cn-hangzhou", "clickhouse.aliyuncs.com");
}
};
public static String endpointRegionalType = "regional";
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/AllocateClusterPublicConnectionRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class AllocateClusterPublicConnectionRequest extends RpcAcsRequest<AllocateClusterPublicConnectionResponse> {
private Long resourceOwnerId;
private String connectionStringPrefix;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
public AllocateClusterPublicConnectionRequest() {
super("clickhouse", "2019-11-11", "AllocateClusterPublicConnection", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getConnectionStringPrefix() {
return this.connectionStringPrefix;
}
public void setConnectionStringPrefix(String connectionStringPrefix) {
this.connectionStringPrefix = connectionStringPrefix;
if(connectionStringPrefix != null){
putQueryParameter("ConnectionStringPrefix", connectionStringPrefix);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<AllocateClusterPublicConnectionResponse> getResponseClass() {
return AllocateClusterPublicConnectionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/AllocateClusterPublicConnectionResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.AllocateClusterPublicConnectionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AllocateClusterPublicConnectionResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public AllocateClusterPublicConnectionResponse getInstance(UnmarshallerContext context) {
return AllocateClusterPublicConnectionResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CheckClickhouseToRDSRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CheckClickhouseToRDSRequest extends RpcAcsRequest<CheckClickhouseToRDSResponse> {
private Long resourceOwnerId;
private String rdsVpcId;
private String ckPassword;
private String rdsPassword;
private String ckUserName;
private String resourceOwnerAccount;
private String dbClusterId;
private String ownerAccount;
private String rdsId;
private Long ownerId;
private Long clickhousePort;
private Long rdsPort;
private String rdsVpcUrl;
private String rdsUserName;
public CheckClickhouseToRDSRequest() {
super("clickhouse", "2019-11-11", "CheckClickhouseToRDS", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getRdsVpcId() {
return this.rdsVpcId;
}
public void setRdsVpcId(String rdsVpcId) {
this.rdsVpcId = rdsVpcId;
if(rdsVpcId != null){
putQueryParameter("RdsVpcId", rdsVpcId);
}
}
public String getCkPassword() {
return this.ckPassword;
}
public void setCkPassword(String ckPassword) {
this.ckPassword = ckPassword;
if(ckPassword != null){
putQueryParameter("CkPassword", ckPassword);
}
}
public String getRdsPassword() {
return this.rdsPassword;
}
public void setRdsPassword(String rdsPassword) {
this.rdsPassword = rdsPassword;
if(rdsPassword != null){
putQueryParameter("RdsPassword", rdsPassword);
}
}
public String getCkUserName() {
return this.ckUserName;
}
public void setCkUserName(String ckUserName) {
this.ckUserName = ckUserName;
if(ckUserName != null){
putQueryParameter("CkUserName", ckUserName);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDbClusterId() {
return this.dbClusterId;
}
public void setDbClusterId(String dbClusterId) {
this.dbClusterId = dbClusterId;
if(dbClusterId != null){
putQueryParameter("DbClusterId", dbClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public String getRdsId() {
return this.rdsId;
}
public void setRdsId(String rdsId) {
this.rdsId = rdsId;
if(rdsId != null){
putQueryParameter("RdsId", rdsId);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public Long getClickhousePort() {
return this.clickhousePort;
}
public void setClickhousePort(Long clickhousePort) {
this.clickhousePort = clickhousePort;
if(clickhousePort != null){
putQueryParameter("ClickhousePort", clickhousePort.toString());
}
}
public Long getRdsPort() {
return this.rdsPort;
}
public void setRdsPort(Long rdsPort) {
this.rdsPort = rdsPort;
if(rdsPort != null){
putQueryParameter("RdsPort", rdsPort.toString());
}
}
public String getRdsVpcUrl() {
return this.rdsVpcUrl;
}
public void setRdsVpcUrl(String rdsVpcUrl) {
this.rdsVpcUrl = rdsVpcUrl;
if(rdsVpcUrl != null){
putQueryParameter("RdsVpcUrl", rdsVpcUrl);
}
}
public String getRdsUserName() {
return this.rdsUserName;
}
public void setRdsUserName(String rdsUserName) {
this.rdsUserName = rdsUserName;
if(rdsUserName != null){
putQueryParameter("RdsUserName", rdsUserName);
}
}
@Override
public Class<CheckClickhouseToRDSResponse> getResponseClass() {
return CheckClickhouseToRDSResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CheckClickhouseToRDSResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CheckClickhouseToRDSResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CheckClickhouseToRDSResponse extends AcsResponse {
private String requestId;
private Boolean status;
private String errorCode;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getStatus() {
return this.status;
}
public void setStatus(Boolean status) {
this.status = status;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
@Override
public CheckClickhouseToRDSResponse getInstance(UnmarshallerContext context) {
return CheckClickhouseToRDSResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CheckModifyConfigNeedRestartRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CheckModifyConfigNeedRestartRequest extends RpcAcsRequest<CheckModifyConfigNeedRestartResponse> {
private String dBClusterId;
private String config;
public CheckModifyConfigNeedRestartRequest() {
super("clickhouse", "2019-11-11", "CheckModifyConfigNeedRestart", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getConfig() {
return this.config;
}
public void setConfig(String config) {
this.config = config;
if(config != null){
putQueryParameter("Config", config);
}
}
@Override
public Class<CheckModifyConfigNeedRestartResponse> getResponseClass() {
return CheckModifyConfigNeedRestartResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CheckModifyConfigNeedRestartResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CheckModifyConfigNeedRestartResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CheckModifyConfigNeedRestartResponse extends AcsResponse {
private Boolean needRestart;
private String requestId;
public Boolean getNeedRestart() {
return this.needRestart;
}
public void setNeedRestart(Boolean needRestart) {
this.needRestart = needRestart;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CheckModifyConfigNeedRestartResponse getInstance(UnmarshallerContext context) {
return CheckModifyConfigNeedRestartResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CheckMonitorAlertRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CheckMonitorAlertRequest extends RpcAcsRequest<CheckMonitorAlertResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
public CheckMonitorAlertRequest() {
super("clickhouse", "2019-11-11", "CheckMonitorAlert", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<CheckMonitorAlertResponse> getResponseClass() {
return CheckMonitorAlertResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CheckMonitorAlertResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CheckMonitorAlertResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CheckMonitorAlertResponse extends AcsResponse {
private String requestId;
private String state;
private String parameter;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getParameter() {
return this.parameter;
}
public void setParameter(String parameter) {
this.parameter = parameter;
}
@Override
public CheckMonitorAlertResponse getInstance(UnmarshallerContext context) {
return CheckMonitorAlertResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CheckScaleOutBalancedRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CheckScaleOutBalancedRequest extends RpcAcsRequest<CheckScaleOutBalancedResponse> {
private Long resourceOwnerId;
private Integer pageNumber;
private Integer pageSize;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
public CheckScaleOutBalancedRequest() {
super("clickhouse", "2019-11-11", "CheckScaleOutBalanced", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<CheckScaleOutBalancedResponse> getResponseClass() {
return CheckScaleOutBalancedResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CheckScaleOutBalancedResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CheckScaleOutBalancedResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CheckScaleOutBalancedResponse extends AcsResponse {
private Integer totalCount;
private String requestId;
private Integer pageSize;
private Integer pageNumber;
private String checkCode;
private String timeDuration;
private List<TableDetail> tableDetails;
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public String getCheckCode() {
return this.checkCode;
}
public void setCheckCode(String checkCode) {
this.checkCode = checkCode;
}
public String getTimeDuration() {
return this.timeDuration;
}
public void setTimeDuration(String timeDuration) {
this.timeDuration = timeDuration;
}
public List<TableDetail> getTableDetails() {
return this.tableDetails;
}
public void setTableDetails(List<TableDetail> tableDetails) {
this.tableDetails = tableDetails;
}
public static class TableDetail {
private String tableName;
private String cluster;
private String database;
private Integer detail;
public String getTableName() {
return this.tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName;
}
public String getCluster() {
return this.cluster;
}
public void setCluster(String cluster) {
this.cluster = cluster;
}
public String getDatabase() {
return this.database;
}
public void setDatabase(String database) {
this.database = database;
}
public Integer getDetail() {
return this.detail;
}
public void setDetail(Integer detail) {
this.detail = detail;
}
}
@Override
public CheckScaleOutBalancedResponse getInstance(UnmarshallerContext context) {
return CheckScaleOutBalancedResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CheckServiceLinkedRoleRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CheckServiceLinkedRoleRequest extends RpcAcsRequest<CheckServiceLinkedRoleResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
public CheckServiceLinkedRoleRequest() {
super("clickhouse", "2019-11-11", "CheckServiceLinkedRole", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<CheckServiceLinkedRoleResponse> getResponseClass() {
return CheckServiceLinkedRoleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CheckServiceLinkedRoleResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CheckServiceLinkedRoleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CheckServiceLinkedRoleResponse extends AcsResponse {
private String requestId;
private Boolean hasServiceLinkedRole;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getHasServiceLinkedRole() {
return this.hasServiceLinkedRole;
}
public void setHasServiceLinkedRole(Boolean hasServiceLinkedRole) {
this.hasServiceLinkedRole = hasServiceLinkedRole;
}
@Override
public CheckServiceLinkedRoleResponse getInstance(UnmarshallerContext context) {
return CheckServiceLinkedRoleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateAccountAndAuthorityRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateAccountAndAuthorityRequest extends RpcAcsRequest<CreateAccountAndAuthorityResponse> {
private Long resourceOwnerId;
private String totalDictionaries;
private String accountDescription;
private String accountName;
private String dmlAuthority;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private String allowDatabases;
private String allowDictionaries;
private Long ownerId;
private String accountPassword;
private Boolean ddlAuthority;
private String totalDatabases;
public CreateAccountAndAuthorityRequest() {
super("clickhouse", "2019-11-11", "CreateAccountAndAuthority", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getTotalDictionaries() {
return this.totalDictionaries;
}
public void setTotalDictionaries(String totalDictionaries) {
this.totalDictionaries = totalDictionaries;
if(totalDictionaries != null){
putQueryParameter("TotalDictionaries", totalDictionaries);
}
}
public String getAccountDescription() {
return this.accountDescription;
}
public void setAccountDescription(String accountDescription) {
this.accountDescription = accountDescription;
if(accountDescription != null){
putQueryParameter("AccountDescription", accountDescription);
}
}
public String getAccountName() {
return this.accountName;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
if(accountName != null){
putQueryParameter("AccountName", accountName);
}
}
public String getDmlAuthority() {
return this.dmlAuthority;
}
public void setDmlAuthority(String dmlAuthority) {
this.dmlAuthority = dmlAuthority;
if(dmlAuthority != null){
putQueryParameter("DmlAuthority", dmlAuthority);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public String getAllowDatabases() {
return this.allowDatabases;
}
public void setAllowDatabases(String allowDatabases) {
this.allowDatabases = allowDatabases;
if(allowDatabases != null){
putQueryParameter("AllowDatabases", allowDatabases);
}
}
public String getAllowDictionaries() {
return this.allowDictionaries;
}
public void setAllowDictionaries(String allowDictionaries) {
this.allowDictionaries = allowDictionaries;
if(allowDictionaries != null){
putQueryParameter("AllowDictionaries", allowDictionaries);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getAccountPassword() {
return this.accountPassword;
}
public void setAccountPassword(String accountPassword) {
this.accountPassword = accountPassword;
if(accountPassword != null){
putQueryParameter("AccountPassword", accountPassword);
}
}
public Boolean getDdlAuthority() {
return this.ddlAuthority;
}
public void setDdlAuthority(Boolean ddlAuthority) {
this.ddlAuthority = ddlAuthority;
if(ddlAuthority != null){
putQueryParameter("DdlAuthority", ddlAuthority.toString());
}
}
public String getTotalDatabases() {
return this.totalDatabases;
}
public void setTotalDatabases(String totalDatabases) {
this.totalDatabases = totalDatabases;
if(totalDatabases != null){
putQueryParameter("TotalDatabases", totalDatabases);
}
}
@Override
public Class<CreateAccountAndAuthorityResponse> getResponseClass() {
return CreateAccountAndAuthorityResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateAccountAndAuthorityResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CreateAccountAndAuthorityResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateAccountAndAuthorityResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateAccountAndAuthorityResponse getInstance(UnmarshallerContext context) {
return CreateAccountAndAuthorityResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateAccountRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateAccountRequest extends RpcAcsRequest<CreateAccountResponse> {
private Long resourceOwnerId;
private String accountDescription;
private String accountName;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
private String accountPassword;
public CreateAccountRequest() {
super("clickhouse", "2019-11-11", "CreateAccount", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getAccountDescription() {
return this.accountDescription;
}
public void setAccountDescription(String accountDescription) {
this.accountDescription = accountDescription;
if(accountDescription != null){
putQueryParameter("AccountDescription", accountDescription);
}
}
public String getAccountName() {
return this.accountName;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
if(accountName != null){
putQueryParameter("AccountName", accountName);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getAccountPassword() {
return this.accountPassword;
}
public void setAccountPassword(String accountPassword) {
this.accountPassword = accountPassword;
if(accountPassword != null){
putQueryParameter("AccountPassword", accountPassword);
}
}
@Override
public Class<CreateAccountResponse> getResponseClass() {
return CreateAccountResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateAccountResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CreateAccountResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateAccountResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateAccountResponse getInstance(UnmarshallerContext context) {
return CreateAccountResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateBackupPolicyRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateBackupPolicyRequest extends RpcAcsRequest<CreateBackupPolicyResponse> {
private Long resourceOwnerId;
private String preferredBackupPeriod;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
private String preferredBackupTime;
private String backupRetentionPeriod;
public CreateBackupPolicyRequest() {
super("clickhouse", "2019-11-11", "CreateBackupPolicy", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getPreferredBackupPeriod() {
return this.preferredBackupPeriod;
}
public void setPreferredBackupPeriod(String preferredBackupPeriod) {
this.preferredBackupPeriod = preferredBackupPeriod;
if(preferredBackupPeriod != null){
putQueryParameter("PreferredBackupPeriod", preferredBackupPeriod);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getPreferredBackupTime() {
return this.preferredBackupTime;
}
public void setPreferredBackupTime(String preferredBackupTime) {
this.preferredBackupTime = preferredBackupTime;
if(preferredBackupTime != null){
putQueryParameter("PreferredBackupTime", preferredBackupTime);
}
}
public String getBackupRetentionPeriod() {
return this.backupRetentionPeriod;
}
public void setBackupRetentionPeriod(String backupRetentionPeriod) {
this.backupRetentionPeriod = backupRetentionPeriod;
if(backupRetentionPeriod != null){
putQueryParameter("BackupRetentionPeriod", backupRetentionPeriod);
}
}
@Override
public Class<CreateBackupPolicyResponse> getResponseClass() {
return CreateBackupPolicyResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateBackupPolicyResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CreateBackupPolicyResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateBackupPolicyResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateBackupPolicyResponse getInstance(UnmarshallerContext context) {
return CreateBackupPolicyResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateDBInstanceRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateDBInstanceRequest extends RpcAcsRequest<CreateDBInstanceResponse> {
private Long resourceOwnerId;
private String dBClusterDescription;
private String sourceDBClusterId;
private String resourceGroupId;
private String zondIdBak2;
private String dbNodeStorageType;
private String encryptionType;
private String zoneIdBak;
private String period;
private String backupSetID;
private String encryptionKey;
private Long ownerId;
private String dBNodeGroupCount;
private String vSwitchId;
private Boolean autoRenew;
private String zoneId;
private String clientToken;
private String dBClusterCategory;
private String dBClusterNetworkType;
private String resourceOwnerAccount;
private String ownerAccount;
private String dBClusterVersion;
private String dBClusterClass;
private String vSwitchBak;
private String usedTime;
private String vSwitchBak2;
private String dBNodeStorage;
private String vPCId;
private String payType;
public CreateDBInstanceRequest() {
super("clickhouse", "2019-11-11", "CreateDBInstance", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getDBClusterDescription() {
return this.dBClusterDescription;
}
public void setDBClusterDescription(String dBClusterDescription) {
this.dBClusterDescription = dBClusterDescription;
if(dBClusterDescription != null){
putQueryParameter("DBClusterDescription", dBClusterDescription);
}
}
public String getSourceDBClusterId() {
return this.sourceDBClusterId;
}
public void setSourceDBClusterId(String sourceDBClusterId) {
this.sourceDBClusterId = sourceDBClusterId;
if(sourceDBClusterId != null){
putQueryParameter("SourceDBClusterId", sourceDBClusterId);
}
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
if(resourceGroupId != null){
putQueryParameter("ResourceGroupId", resourceGroupId);
}
}
public String getZondIdBak2() {
return this.zondIdBak2;
}
public void setZondIdBak2(String zondIdBak2) {
this.zondIdBak2 = zondIdBak2;
if(zondIdBak2 != null){
putQueryParameter("ZondIdBak2", zondIdBak2);
}
}
public String getDbNodeStorageType() {
return this.dbNodeStorageType;
}
public void setDbNodeStorageType(String dbNodeStorageType) {
this.dbNodeStorageType = dbNodeStorageType;
if(dbNodeStorageType != null){
putQueryParameter("DbNodeStorageType", dbNodeStorageType);
}
}
public String getEncryptionType() {
return this.encryptionType;
}
public void setEncryptionType(String encryptionType) {
this.encryptionType = encryptionType;
if(encryptionType != null){
putQueryParameter("EncryptionType", encryptionType);
}
}
public String getZoneIdBak() {
return this.zoneIdBak;
}
public void setZoneIdBak(String zoneIdBak) {
this.zoneIdBak = zoneIdBak;
if(zoneIdBak != null){
putQueryParameter("ZoneIdBak", zoneIdBak);
}
}
public String getPeriod() {
return this.period;
}
public void setPeriod(String period) {
this.period = period;
if(period != null){
putQueryParameter("Period", period);
}
}
public String getBackupSetID() {
return this.backupSetID;
}
public void setBackupSetID(String backupSetID) {
this.backupSetID = backupSetID;
if(backupSetID != null){
putQueryParameter("BackupSetID", backupSetID);
}
}
public String getEncryptionKey() {
return this.encryptionKey;
}
public void setEncryptionKey(String encryptionKey) {
this.encryptionKey = encryptionKey;
if(encryptionKey != null){
putQueryParameter("EncryptionKey", encryptionKey);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getDBNodeGroupCount() {
return this.dBNodeGroupCount;
}
public void setDBNodeGroupCount(String dBNodeGroupCount) {
this.dBNodeGroupCount = dBNodeGroupCount;
if(dBNodeGroupCount != null){
putQueryParameter("DBNodeGroupCount", dBNodeGroupCount);
}
}
public String getVSwitchId() {
return this.vSwitchId;
}
public void setVSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
if(vSwitchId != null){
putQueryParameter("VSwitchId", vSwitchId);
}
}
public Boolean getAutoRenew() {
return this.autoRenew;
}
public void setAutoRenew(Boolean autoRenew) {
this.autoRenew = autoRenew;
if(autoRenew != null){
putQueryParameter("AutoRenew", autoRenew.toString());
}
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
if(zoneId != null){
putQueryParameter("ZoneId", zoneId);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getDBClusterCategory() {
return this.dBClusterCategory;
}
public void setDBClusterCategory(String dBClusterCategory) {
this.dBClusterCategory = dBClusterCategory;
if(dBClusterCategory != null){
putQueryParameter("DBClusterCategory", dBClusterCategory);
}
}
public String getDBClusterNetworkType() {
return this.dBClusterNetworkType;
}
public void setDBClusterNetworkType(String dBClusterNetworkType) {
this.dBClusterNetworkType = dBClusterNetworkType;
if(dBClusterNetworkType != null){
putQueryParameter("DBClusterNetworkType", dBClusterNetworkType);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public String getDBClusterVersion() {
return this.dBClusterVersion;
}
public void setDBClusterVersion(String dBClusterVersion) {
this.dBClusterVersion = dBClusterVersion;
if(dBClusterVersion != null){
putQueryParameter("DBClusterVersion", dBClusterVersion);
}
}
public String getDBClusterClass() {
return this.dBClusterClass;
}
public void setDBClusterClass(String dBClusterClass) {
this.dBClusterClass = dBClusterClass;
if(dBClusterClass != null){
putQueryParameter("DBClusterClass", dBClusterClass);
}
}
public String getVSwitchBak() {
return this.vSwitchBak;
}
public void setVSwitchBak(String vSwitchBak) {
this.vSwitchBak = vSwitchBak;
if(vSwitchBak != null){
putQueryParameter("VSwitchBak", vSwitchBak);
}
}
public String getUsedTime() {
return this.usedTime;
}
public void setUsedTime(String usedTime) {
this.usedTime = usedTime;
if(usedTime != null){
putQueryParameter("UsedTime", usedTime);
}
}
public String getVSwitchBak2() {
return this.vSwitchBak2;
}
public void setVSwitchBak2(String vSwitchBak2) {
this.vSwitchBak2 = vSwitchBak2;
if(vSwitchBak2 != null){
putQueryParameter("VSwitchBak2", vSwitchBak2);
}
}
public String getDBNodeStorage() {
return this.dBNodeStorage;
}
public void setDBNodeStorage(String dBNodeStorage) {
this.dBNodeStorage = dBNodeStorage;
if(dBNodeStorage != null){
putQueryParameter("DBNodeStorage", dBNodeStorage);
}
}
public String getVPCId() {
return this.vPCId;
}
public void setVPCId(String vPCId) {
this.vPCId = vPCId;
if(vPCId != null){
putQueryParameter("VPCId", vPCId);
}
}
public String getPayType() {
return this.payType;
}
public void setPayType(String payType) {
this.payType = payType;
if(payType != null){
putQueryParameter("PayType", payType);
}
}
@Override
public Class<CreateDBInstanceResponse> getResponseClass() {
return CreateDBInstanceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateDBInstanceResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CreateDBInstanceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateDBInstanceResponse extends AcsResponse {
private String requestId;
private String dBClusterId;
private String orderId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
}
public String getOrderId() {
return this.orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
@Override
public CreateDBInstanceResponse getInstance(UnmarshallerContext context) {
return CreateDBInstanceResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateMonitorDataReportRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateMonitorDataReportRequest extends RpcAcsRequest<CreateMonitorDataReportResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
public CreateMonitorDataReportRequest() {
super("clickhouse", "2019-11-11", "CreateMonitorDataReport", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<CreateMonitorDataReportResponse> getResponseClass() {
return CreateMonitorDataReportResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateMonitorDataReportResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CreateMonitorDataReportResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateMonitorDataReportResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateMonitorDataReportResponse getInstance(UnmarshallerContext context) {
return CreateMonitorDataReportResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateOSSStorageRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateOSSStorageRequest extends RpcAcsRequest<CreateOSSStorageResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
public CreateOSSStorageRequest() {
super("clickhouse", "2019-11-11", "CreateOSSStorage", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<CreateOSSStorageResponse> getResponseClass() {
return CreateOSSStorageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateOSSStorageResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CreateOSSStorageResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateOSSStorageResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateOSSStorageResponse getInstance(UnmarshallerContext context) {
return CreateOSSStorageResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreatePortsForClickHouseRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CreatePortsForClickHouseRequest extends RpcAcsRequest<CreatePortsForClickHouseResponse> {
private Long resourceOwnerId;
private String portType;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
public CreatePortsForClickHouseRequest() {
super("clickhouse", "2019-11-11", "CreatePortsForClickHouse", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getPortType() {
return this.portType;
}
public void setPortType(String portType) {
this.portType = portType;
if(portType != null){
putQueryParameter("PortType", portType);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<CreatePortsForClickHouseResponse> getResponseClass() {
return CreatePortsForClickHouseResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreatePortsForClickHouseResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CreatePortsForClickHouseResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreatePortsForClickHouseResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreatePortsForClickHouseResponse getInstance(UnmarshallerContext context) {
return CreatePortsForClickHouseResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateRDSToClickhouseDbRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateRDSToClickhouseDbRequest extends RpcAcsRequest<CreateRDSToClickhouseDbResponse> {
private Long resourceOwnerId;
private String synDbTables;
private String rdsVpcId;
private String ckPassword;
private String rdsPassword;
private String ckUserName;
private String resourceOwnerAccount;
private String dbClusterId;
private String ownerAccount;
private String rdsId;
private Long ownerId;
private Long clickhousePort;
private Long limitUpper;
private Long rdsPort;
private Boolean skipUnsupported;
private String rdsVpcUrl;
private String rdsUserName;
public CreateRDSToClickhouseDbRequest() {
super("clickhouse", "2019-11-11", "CreateRDSToClickhouseDb", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getSynDbTables() {
return this.synDbTables;
}
public void setSynDbTables(String synDbTables) {
this.synDbTables = synDbTables;
if(synDbTables != null){
putQueryParameter("SynDbTables", synDbTables);
}
}
public String getRdsVpcId() {
return this.rdsVpcId;
}
public void setRdsVpcId(String rdsVpcId) {
this.rdsVpcId = rdsVpcId;
if(rdsVpcId != null){
putQueryParameter("RdsVpcId", rdsVpcId);
}
}
public String getCkPassword() {
return this.ckPassword;
}
public void setCkPassword(String ckPassword) {
this.ckPassword = ckPassword;
if(ckPassword != null){
putQueryParameter("CkPassword", ckPassword);
}
}
public String getRdsPassword() {
return this.rdsPassword;
}
public void setRdsPassword(String rdsPassword) {
this.rdsPassword = rdsPassword;
if(rdsPassword != null){
putQueryParameter("RdsPassword", rdsPassword);
}
}
public String getCkUserName() {
return this.ckUserName;
}
public void setCkUserName(String ckUserName) {
this.ckUserName = ckUserName;
if(ckUserName != null){
putQueryParameter("CkUserName", ckUserName);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDbClusterId() {
return this.dbClusterId;
}
public void setDbClusterId(String dbClusterId) {
this.dbClusterId = dbClusterId;
if(dbClusterId != null){
putQueryParameter("DbClusterId", dbClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public String getRdsId() {
return this.rdsId;
}
public void setRdsId(String rdsId) {
this.rdsId = rdsId;
if(rdsId != null){
putQueryParameter("RdsId", rdsId);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public Long getClickhousePort() {
return this.clickhousePort;
}
public void setClickhousePort(Long clickhousePort) {
this.clickhousePort = clickhousePort;
if(clickhousePort != null){
putQueryParameter("ClickhousePort", clickhousePort.toString());
}
}
public Long getLimitUpper() {
return this.limitUpper;
}
public void setLimitUpper(Long limitUpper) {
this.limitUpper = limitUpper;
if(limitUpper != null){
putQueryParameter("LimitUpper", limitUpper.toString());
}
}
public Long getRdsPort() {
return this.rdsPort;
}
public void setRdsPort(Long rdsPort) {
this.rdsPort = rdsPort;
if(rdsPort != null){
putQueryParameter("RdsPort", rdsPort.toString());
}
}
public Boolean getSkipUnsupported() {
return this.skipUnsupported;
}
public void setSkipUnsupported(Boolean skipUnsupported) {
this.skipUnsupported = skipUnsupported;
if(skipUnsupported != null){
putQueryParameter("SkipUnsupported", skipUnsupported.toString());
}
}
public String getRdsVpcUrl() {
return this.rdsVpcUrl;
}
public void setRdsVpcUrl(String rdsVpcUrl) {
this.rdsVpcUrl = rdsVpcUrl;
if(rdsVpcUrl != null){
putQueryParameter("RdsVpcUrl", rdsVpcUrl);
}
}
public String getRdsUserName() {
return this.rdsUserName;
}
public void setRdsUserName(String rdsUserName) {
this.rdsUserName = rdsUserName;
if(rdsUserName != null){
putQueryParameter("RdsUserName", rdsUserName);
}
}
@Override
public Class<CreateRDSToClickhouseDbResponse> getResponseClass() {
return CreateRDSToClickhouseDbResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateRDSToClickhouseDbResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CreateRDSToClickhouseDbResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateRDSToClickhouseDbResponse extends AcsResponse {
private String requestId;
private Long status;
private String errorMsg;
private List<String> repeatedDbs;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getStatus() {
return this.status;
}
public void setStatus(Long status) {
this.status = status;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
public List<String> getRepeatedDbs() {
return this.repeatedDbs;
}
public void setRepeatedDbs(List<String> repeatedDbs) {
this.repeatedDbs = repeatedDbs;
}
@Override
public CreateRDSToClickhouseDbResponse getInstance(UnmarshallerContext context) {
return CreateRDSToClickhouseDbResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateSQLAccountRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateSQLAccountRequest extends RpcAcsRequest<CreateSQLAccountResponse> {
private Long resourceOwnerId;
private String accountType;
private String accountDescription;
private String accountName;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
private String accountPassword;
public CreateSQLAccountRequest() {
super("clickhouse", "2019-11-11", "CreateSQLAccount", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getAccountType() {
return this.accountType;
}
public void setAccountType(String accountType) {
this.accountType = accountType;
if(accountType != null){
putQueryParameter("AccountType", accountType);
}
}
public String getAccountDescription() {
return this.accountDescription;
}
public void setAccountDescription(String accountDescription) {
this.accountDescription = accountDescription;
if(accountDescription != null){
putQueryParameter("AccountDescription", accountDescription);
}
}
public String getAccountName() {
return this.accountName;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
if(accountName != null){
putQueryParameter("AccountName", accountName);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getAccountPassword() {
return this.accountPassword;
}
public void setAccountPassword(String accountPassword) {
this.accountPassword = accountPassword;
if(accountPassword != null){
putQueryParameter("AccountPassword", accountPassword);
}
}
@Override
public Class<CreateSQLAccountResponse> getResponseClass() {
return CreateSQLAccountResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateSQLAccountResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CreateSQLAccountResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateSQLAccountResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateSQLAccountResponse getInstance(UnmarshallerContext context) {
return CreateSQLAccountResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateServiceLinkedRoleRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateServiceLinkedRoleRequest extends RpcAcsRequest<CreateServiceLinkedRoleResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
public CreateServiceLinkedRoleRequest() {
super("clickhouse", "2019-11-11", "CreateServiceLinkedRole", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<CreateServiceLinkedRoleResponse> getResponseClass() {
return CreateServiceLinkedRoleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/CreateServiceLinkedRoleResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.clickhouse.transform.v20191111.CreateServiceLinkedRoleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateServiceLinkedRoleResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateServiceLinkedRoleResponse getInstance(UnmarshallerContext context) {
return CreateServiceLinkedRoleResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model
|
java-sources/com/aliyun/aliyun-java-sdk-clickhouse/3.1.9/com/aliyuncs/clickhouse/model/v20191111/DeleteAccountRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.clickhouse.model.v20191111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.clickhouse.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteAccountRequest extends RpcAcsRequest<DeleteAccountResponse> {
private Long resourceOwnerId;
private String accountName;
private String resourceOwnerAccount;
private String dBClusterId;
private String ownerAccount;
private Long ownerId;
public DeleteAccountRequest() {
super("clickhouse", "2019-11-11", "DeleteAccount", "service");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getAccountName() {
return this.accountName;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
if(accountName != null){
putQueryParameter("AccountName", accountName);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getDBClusterId() {
return this.dBClusterId;
}
public void setDBClusterId(String dBClusterId) {
this.dBClusterId = dBClusterId;
if(dBClusterId != null){
putQueryParameter("DBClusterId", dBClusterId);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<DeleteAccountResponse> getResponseClass() {
return DeleteAccountResponse.class;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.