com.aliyuncs.idsp.model.v20200710.SearchDataRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-idsp Show documentation
Show all versions of aliyun-java-sdk-idsp Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
The newest version!
/*
* 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.idsp.model.v20200710;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.idsp.Endpoint;
/**
* @author auto create
* @version
*/
public class SearchDataRequest extends RpcAcsRequest {
private String entityName;
private Long endTime;
private Long currentPage;
private Long startTime;
private String posKeywords;
private String titleIncludeWords;
private String excludeKeywords;
private Long subjectId;
private String parentId;
private Long publishTimeEnd;
private String messageTypeFilter;
private String mediaTypeFilter;
private Long pageSize;
private Long publishTimeStart;
private String assKeywords;
private String docContentType;
public SearchDataRequest() {
super("idsp", "2020-07-10", "SearchData", "idsp");
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 getEntityName() {
return this.entityName;
}
public void setEntityName(String entityName) {
this.entityName = entityName;
if(entityName != null){
putBodyParameter("EntityName", entityName);
}
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
if(endTime != null){
putBodyParameter("EndTime", endTime.toString());
}
}
public Long getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Long currentPage) {
this.currentPage = currentPage;
if(currentPage != null){
putBodyParameter("CurrentPage", currentPage.toString());
}
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
if(startTime != null){
putBodyParameter("StartTime", startTime.toString());
}
}
public String getPosKeywords() {
return this.posKeywords;
}
public void setPosKeywords(String posKeywords) {
this.posKeywords = posKeywords;
if(posKeywords != null){
putBodyParameter("PosKeywords", posKeywords);
}
}
public String getTitleIncludeWords() {
return this.titleIncludeWords;
}
public void setTitleIncludeWords(String titleIncludeWords) {
this.titleIncludeWords = titleIncludeWords;
if(titleIncludeWords != null){
putBodyParameter("TitleIncludeWords", titleIncludeWords);
}
}
public String getExcludeKeywords() {
return this.excludeKeywords;
}
public void setExcludeKeywords(String excludeKeywords) {
this.excludeKeywords = excludeKeywords;
if(excludeKeywords != null){
putBodyParameter("ExcludeKeywords", excludeKeywords);
}
}
public Long getSubjectId() {
return this.subjectId;
}
public void setSubjectId(Long subjectId) {
this.subjectId = subjectId;
if(subjectId != null){
putBodyParameter("SubjectId", subjectId.toString());
}
}
public String getParentId() {
return this.parentId;
}
public void setParentId(String parentId) {
this.parentId = parentId;
if(parentId != null){
putBodyParameter("ParentId", parentId);
}
}
public Long getPublishTimeEnd() {
return this.publishTimeEnd;
}
public void setPublishTimeEnd(Long publishTimeEnd) {
this.publishTimeEnd = publishTimeEnd;
if(publishTimeEnd != null){
putBodyParameter("PublishTimeEnd", publishTimeEnd.toString());
}
}
public String getMessageTypeFilter() {
return this.messageTypeFilter;
}
public void setMessageTypeFilter(String messageTypeFilter) {
this.messageTypeFilter = messageTypeFilter;
if(messageTypeFilter != null){
putBodyParameter("MessageTypeFilter", messageTypeFilter);
}
}
public String getMediaTypeFilter() {
return this.mediaTypeFilter;
}
public void setMediaTypeFilter(String mediaTypeFilter) {
this.mediaTypeFilter = mediaTypeFilter;
if(mediaTypeFilter != null){
putBodyParameter("MediaTypeFilter", mediaTypeFilter);
}
}
public Long getPageSize() {
return this.pageSize;
}
public void setPageSize(Long pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putBodyParameter("PageSize", pageSize.toString());
}
}
public Long getPublishTimeStart() {
return this.publishTimeStart;
}
public void setPublishTimeStart(Long publishTimeStart) {
this.publishTimeStart = publishTimeStart;
if(publishTimeStart != null){
putBodyParameter("PublishTimeStart", publishTimeStart.toString());
}
}
public String getAssKeywords() {
return this.assKeywords;
}
public void setAssKeywords(String assKeywords) {
this.assKeywords = assKeywords;
if(assKeywords != null){
putBodyParameter("AssKeywords", assKeywords);
}
}
public String getDocContentType() {
return this.docContentType;
}
public void setDocContentType(String docContentType) {
this.docContentType = docContentType;
if(docContentType != null){
putBodyParameter("DocContentType", docContentType);
}
}
@Override
public Class getResponseClass() {
return SearchDataResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy