index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetChatappUploadAuthorizationRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetChatappUploadAuthorizationRequest extends RpcAcsRequest<GetChatappUploadAuthorizationResponse> {
private String custSpaceId;
public GetChatappUploadAuthorizationRequest() {
super("cams", "2020-06-06", "GetChatappUploadAuthorization", "cams");
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 getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<GetChatappUploadAuthorizationResponse> getResponseClass() {
return GetChatappUploadAuthorizationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetChatappUploadAuthorizationResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetChatappUploadAuthorizationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetChatappUploadAuthorizationResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private String accessDeniedDetail;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String accessKeyId;
private String accessKeySecret;
private String bucketName;
private String dir;
private String endPoint;
private String securityToken;
private Integer expire;
public String getAccessKeyId() {
return this.accessKeyId;
}
public void setAccessKeyId(String accessKeyId) {
this.accessKeyId = accessKeyId;
}
public String getAccessKeySecret() {
return this.accessKeySecret;
}
public void setAccessKeySecret(String accessKeySecret) {
this.accessKeySecret = accessKeySecret;
}
public String getBucketName() {
return this.bucketName;
}
public void setBucketName(String bucketName) {
this.bucketName = bucketName;
}
public String getDir() {
return this.dir;
}
public void setDir(String dir) {
this.dir = dir;
}
public String getEndPoint() {
return this.endPoint;
}
public void setEndPoint(String endPoint) {
this.endPoint = endPoint;
}
public String getSecurityToken() {
return this.securityToken;
}
public void setSecurityToken(String securityToken) {
this.securityToken = securityToken;
}
public Integer getExpire() {
return this.expire;
}
public void setExpire(Integer expire) {
this.expire = expire;
}
}
@Override
public GetChatappUploadAuthorizationResponse getInstance(UnmarshallerContext context) {
return GetChatappUploadAuthorizationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetChatappVerifyCodeRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetChatappVerifyCodeRequest extends RpcAcsRequest<GetChatappVerifyCodeResponse> {
private Long resourceOwnerId;
private String phoneNumber;
private String locale;
private String method;
private String resourceOwnerAccount;
private Long ownerId;
private String custSpaceId;
public GetChatappVerifyCodeRequest() {
super("cams", "2020-06-06", "GetChatappVerifyCode", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putQueryParameter("PhoneNumber", phoneNumber);
}
}
public String getLocale() {
return this.locale;
}
public void setLocale(String locale) {
this.locale = locale;
if(locale != null){
putQueryParameter("Locale", locale);
}
}
public String getBizMethod() {
return this.method;
}
public void setBizMethod(String method) {
this.method = method;
if(method != null){
putQueryParameter("Method", method);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<GetChatappVerifyCodeResponse> getResponseClass() {
return GetChatappVerifyCodeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetChatappVerifyCodeResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetChatappVerifyCodeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetChatappVerifyCodeResponse extends AcsResponse {
private String accessDeniedDetail;
private String message;
private String requestId;
private String code;
private Boolean success;
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public GetChatappVerifyCodeResponse getInstance(UnmarshallerContext context) {
return GetChatappVerifyCodeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetCommerceSettingRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetCommerceSettingRequest extends RpcAcsRequest<GetCommerceSettingResponse> {
private Long resourceOwnerId;
private String phoneNumber;
private String resourceOwnerAccount;
private Long ownerId;
private String custSpaceId;
public GetCommerceSettingRequest() {
super("cams", "2020-06-06", "GetCommerceSetting", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putQueryParameter("PhoneNumber", phoneNumber);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<GetCommerceSettingResponse> getResponseClass() {
return GetCommerceSettingResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetCommerceSettingResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetCommerceSettingResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetCommerceSettingResponse extends AcsResponse {
private String accessDeniedDetail;
private String message;
private String requestId;
private String code;
private Boolean success;
private Data data;
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Boolean cartEnable;
private Boolean catalogVisible;
public Boolean getCartEnable() {
return this.cartEnable;
}
public void setCartEnable(Boolean cartEnable) {
this.cartEnable = cartEnable;
}
public Boolean getCatalogVisible() {
return this.catalogVisible;
}
public void setCatalogVisible(Boolean catalogVisible) {
this.catalogVisible = catalogVisible;
}
}
@Override
public GetCommerceSettingResponse getInstance(UnmarshallerContext context) {
return GetCommerceSettingResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetConversationalAutomationRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetConversationalAutomationRequest extends RpcAcsRequest<GetConversationalAutomationResponse> {
private Long resourceOwnerId;
private String phoneNumber;
private String resourceOwnerAccount;
private Long ownerId;
private String custSpaceId;
public GetConversationalAutomationRequest() {
super("cams", "2020-06-06", "GetConversationalAutomation", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putQueryParameter("PhoneNumber", phoneNumber);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<GetConversationalAutomationResponse> getResponseClass() {
return GetConversationalAutomationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetConversationalAutomationResponse.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.cams.model.v20200606;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetConversationalAutomationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetConversationalAutomationResponse extends AcsResponse {
private String accessDeniedDetail;
private String message;
private String requestId;
private String code;
private Boolean success;
private Data data;
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String phoneNumber;
private Boolean enableWelcomeMessage;
private List<CommandsItem> commands;
private List<String> prompts;
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public Boolean getEnableWelcomeMessage() {
return this.enableWelcomeMessage;
}
public void setEnableWelcomeMessage(Boolean enableWelcomeMessage) {
this.enableWelcomeMessage = enableWelcomeMessage;
}
public List<CommandsItem> getCommands() {
return this.commands;
}
public void setCommands(List<CommandsItem> commands) {
this.commands = commands;
}
public List<String> getPrompts() {
return this.prompts;
}
public void setPrompts(List<String> prompts) {
this.prompts = prompts;
}
public static class CommandsItem {
private String commandDescription;
private String commandName;
public String getCommandDescription() {
return this.commandDescription;
}
public void setCommandDescription(String commandDescription) {
this.commandDescription = commandDescription;
}
public String getCommandName() {
return this.commandName;
}
public void setCommandName(String commandName) {
this.commandName = commandName;
}
}
}
@Override
public GetConversationalAutomationResponse getInstance(UnmarshallerContext context) {
return GetConversationalAutomationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetFlowJSONAssestRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetFlowJSONAssestRequest extends RpcAcsRequest<GetFlowJSONAssestResponse> {
private String custSpaceId;
private String flowId;
public GetFlowJSONAssestRequest() {
super("cams", "2020-06-06", "GetFlowJSONAssest", "cams");
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 getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
if(flowId != null){
putBodyParameter("FlowId", flowId);
}
}
@Override
public Class<GetFlowJSONAssestResponse> getResponseClass() {
return GetFlowJSONAssestResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetFlowJSONAssestResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetFlowJSONAssestResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetFlowJSONAssestResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String flowId;
private String filePath;
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
}
public String getFilePath() {
return this.filePath;
}
public void setFilePath(String filePath) {
this.filePath = filePath;
}
}
@Override
public GetFlowJSONAssestResponse getInstance(UnmarshallerContext context) {
return GetFlowJSONAssestResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetFlowPreviewUrlRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetFlowPreviewUrlRequest extends RpcAcsRequest<GetFlowPreviewUrlResponse> {
private String custSpaceId;
private String flowId;
public GetFlowPreviewUrlRequest() {
super("cams", "2020-06-06", "GetFlowPreviewUrl", "cams");
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 getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
if(flowId != null){
putBodyParameter("FlowId", flowId);
}
}
@Override
public Class<GetFlowPreviewUrlResponse> getResponseClass() {
return GetFlowPreviewUrlResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetFlowPreviewUrlResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetFlowPreviewUrlResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetFlowPreviewUrlResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String flowId;
private String previewUrl;
private Long previewUrlExpires;
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
}
public String getPreviewUrl() {
return this.previewUrl;
}
public void setPreviewUrl(String previewUrl) {
this.previewUrl = previewUrl;
}
public Long getPreviewUrlExpires() {
return this.previewUrlExpires;
}
public void setPreviewUrlExpires(Long previewUrlExpires) {
this.previewUrlExpires = previewUrlExpires;
}
}
@Override
public GetFlowPreviewUrlResponse getInstance(UnmarshallerContext context) {
return GetFlowPreviewUrlResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetFlowRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetFlowRequest extends RpcAcsRequest<GetFlowResponse> {
private String custSpaceId;
private String flowId;
public GetFlowRequest() {
super("cams", "2020-06-06", "GetFlow", "cams");
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 getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
if(flowId != null){
putBodyParameter("FlowId", flowId);
}
}
@Override
public Class<GetFlowResponse> getResponseClass() {
return GetFlowResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetFlowResponse.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.cams.model.v20200606;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetFlowResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetFlowResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String status;
private String flowId;
private String flowName;
private String jSONVersion;
private String dataApiVersion;
private String previewUrl;
private Long previewUrlExpires;
private List<String> categories;
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
}
public String getFlowName() {
return this.flowName;
}
public void setFlowName(String flowName) {
this.flowName = flowName;
}
public String getJSONVersion() {
return this.jSONVersion;
}
public void setJSONVersion(String jSONVersion) {
this.jSONVersion = jSONVersion;
}
public String getDataApiVersion() {
return this.dataApiVersion;
}
public void setDataApiVersion(String dataApiVersion) {
this.dataApiVersion = dataApiVersion;
}
public String getPreviewUrl() {
return this.previewUrl;
}
public void setPreviewUrl(String previewUrl) {
this.previewUrl = previewUrl;
}
public Long getPreviewUrlExpires() {
return this.previewUrlExpires;
}
public void setPreviewUrlExpires(Long previewUrlExpires) {
this.previewUrlExpires = previewUrlExpires;
}
public List<String> getCategories() {
return this.categories;
}
public void setCategories(List<String> categories) {
this.categories = categories;
}
}
@Override
public GetFlowResponse getInstance(UnmarshallerContext context) {
return GetFlowResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetMigrationVerifyCodeRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetMigrationVerifyCodeRequest extends RpcAcsRequest<GetMigrationVerifyCodeResponse> {
private String phoneNumber;
private String locale;
private String method;
private String custSpaceId;
public GetMigrationVerifyCodeRequest() {
super("cams", "2020-06-06", "GetMigrationVerifyCode", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putQueryParameter("PhoneNumber", phoneNumber);
}
}
public String getLocale() {
return this.locale;
}
public void setLocale(String locale) {
this.locale = locale;
if(locale != null){
putQueryParameter("Locale", locale);
}
}
public String getBizMethod() {
return this.method;
}
public void setBizMethod(String method) {
this.method = method;
if(method != null){
putQueryParameter("Method", method);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<GetMigrationVerifyCodeResponse> getResponseClass() {
return GetMigrationVerifyCodeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetMigrationVerifyCodeResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetMigrationVerifyCodeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetMigrationVerifyCodeResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private String accessDeniedDetail;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String phoneNumber;
private String id;
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
}
@Override
public GetMigrationVerifyCodeResponse getInstance(UnmarshallerContext context) {
return GetMigrationVerifyCodeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetPermissionByCodeRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetPermissionByCodeRequest extends RpcAcsRequest<GetPermissionByCodeResponse> {
private String code;
@SerializedName("permissions")
private List<String> permissions;
private String custSpaceId;
public GetPermissionByCodeRequest() {
super("cams", "2020-06-06", "GetPermissionByCode", "cams");
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 getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
if(code != null){
putBodyParameter("Code", code);
}
}
public List<String> getPermissions() {
return this.permissions;
}
public void setPermissions(List<String> permissions) {
this.permissions = permissions;
if (permissions != null) {
putBodyParameter("Permissions" , new Gson().toJson(permissions));
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<GetPermissionByCodeResponse> getResponseClass() {
return GetPermissionByCodeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetPermissionByCodeResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetPermissionByCodeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetPermissionByCodeResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public GetPermissionByCodeResponse getInstance(UnmarshallerContext context) {
return GetPermissionByCodeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetPhoneEncryptionPublicKeyRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetPhoneEncryptionPublicKeyRequest extends RpcAcsRequest<GetPhoneEncryptionPublicKeyResponse> {
private String phoneNumber;
private String custSpaceId;
public GetPhoneEncryptionPublicKeyRequest() {
super("cams", "2020-06-06", "GetPhoneEncryptionPublicKey", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putBodyParameter("PhoneNumber", phoneNumber);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<GetPhoneEncryptionPublicKeyResponse> getResponseClass() {
return GetPhoneEncryptionPublicKeyResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetPhoneEncryptionPublicKeyResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetPhoneEncryptionPublicKeyResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetPhoneEncryptionPublicKeyResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String phoneNumber;
private String encryptionPublicKey;
private String encryptionPublicKeyStatus;
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public String getEncryptionPublicKey() {
return this.encryptionPublicKey;
}
public void setEncryptionPublicKey(String encryptionPublicKey) {
this.encryptionPublicKey = encryptionPublicKey;
}
public String getEncryptionPublicKeyStatus() {
return this.encryptionPublicKeyStatus;
}
public void setEncryptionPublicKeyStatus(String encryptionPublicKeyStatus) {
this.encryptionPublicKeyStatus = encryptionPublicKeyStatus;
}
}
@Override
public GetPhoneEncryptionPublicKeyResponse getInstance(UnmarshallerContext context) {
return GetPhoneEncryptionPublicKeyResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetPhoneNumberVerificationStatusRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetPhoneNumberVerificationStatusRequest extends RpcAcsRequest<GetPhoneNumberVerificationStatusResponse> {
private String phoneNumber;
private String custSpaceId;
public GetPhoneNumberVerificationStatusRequest() {
super("cams", "2020-06-06", "GetPhoneNumberVerificationStatus", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putBodyParameter("PhoneNumber", phoneNumber);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<GetPhoneNumberVerificationStatusResponse> getResponseClass() {
return GetPhoneNumberVerificationStatusResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetPhoneNumberVerificationStatusResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetPhoneNumberVerificationStatusResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetPhoneNumberVerificationStatusResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String phoneNumber;
private String id;
private String codeVerificationStatus;
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getCodeVerificationStatus() {
return this.codeVerificationStatus;
}
public void setCodeVerificationStatus(String codeVerificationStatus) {
this.codeVerificationStatus = codeVerificationStatus;
}
}
@Override
public GetPhoneNumberVerificationStatusResponse getInstance(UnmarshallerContext context) {
return GetPhoneNumberVerificationStatusResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetPreValidatePhoneIdRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetPreValidatePhoneIdRequest extends RpcAcsRequest<GetPreValidatePhoneIdResponse> {
private String phoneNumber;
private String verifyCode;
public GetPreValidatePhoneIdRequest() {
super("cams", "2020-06-06", "GetPreValidatePhoneId", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putBodyParameter("PhoneNumber", phoneNumber);
}
}
public String getVerifyCode() {
return this.verifyCode;
}
public void setVerifyCode(String verifyCode) {
this.verifyCode = verifyCode;
if(verifyCode != null){
putBodyParameter("VerifyCode", verifyCode);
}
}
@Override
public Class<GetPreValidatePhoneIdResponse> getResponseClass() {
return GetPreValidatePhoneIdResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetPreValidatePhoneIdResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetPreValidatePhoneIdResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetPreValidatePhoneIdResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String phoneNumberId;
private String phoneNumber;
public String getPhoneNumberId() {
return this.phoneNumberId;
}
public void setPhoneNumberId(String phoneNumberId) {
this.phoneNumberId = phoneNumberId;
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
}
@Override
public GetPreValidatePhoneIdResponse getInstance(UnmarshallerContext context) {
return GetPreValidatePhoneIdResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetWhatsappConnectionCatalogRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetWhatsappConnectionCatalogRequest extends RpcAcsRequest<GetWhatsappConnectionCatalogResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private Long ownerId;
private String wabaId;
private String custSpaceId;
public GetWhatsappConnectionCatalogRequest() {
super("cams", "2020-06-06", "GetWhatsappConnectionCatalog", "cams");
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 Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getWabaId() {
return this.wabaId;
}
public void setWabaId(String wabaId) {
this.wabaId = wabaId;
if(wabaId != null){
putQueryParameter("WabaId", wabaId);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<GetWhatsappConnectionCatalogResponse> getResponseClass() {
return GetWhatsappConnectionCatalogResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetWhatsappConnectionCatalogResponse.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.cams.model.v20200606;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetWhatsappConnectionCatalogResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetWhatsappConnectionCatalogResponse extends AcsResponse {
private String accessDeniedDetail;
private String requestId;
private String message;
private Map<Object,Object> model;
private String code;
private Boolean success;
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Map<Object,Object> getModel() {
return this.model;
}
public void setModel(Map<Object,Object> model) {
this.model = model;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public GetWhatsappConnectionCatalogResponse getInstance(UnmarshallerContext context) {
return GetWhatsappConnectionCatalogResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetWhatsappHealthStatusRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class GetWhatsappHealthStatusRequest extends RpcAcsRequest<GetWhatsappHealthStatusResponse> {
private Long resourceOwnerId;
private String nodeType;
private String phoneNumber;
private String language;
private String resourceOwnerAccount;
private Long ownerId;
private String wabaId;
private String custSpaceId;
private String templateCode;
public GetWhatsappHealthStatusRequest() {
super("cams", "2020-06-06", "GetWhatsappHealthStatus", "cams");
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 getNodeType() {
return this.nodeType;
}
public void setNodeType(String nodeType) {
this.nodeType = nodeType;
if(nodeType != null){
putQueryParameter("NodeType", nodeType);
}
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putQueryParameter("PhoneNumber", phoneNumber);
}
}
public String getLanguage() {
return this.language;
}
public void setLanguage(String language) {
this.language = language;
if(language != null){
putQueryParameter("Language", language);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getWabaId() {
return this.wabaId;
}
public void setWabaId(String wabaId) {
this.wabaId = wabaId;
if(wabaId != null){
putQueryParameter("WabaId", wabaId);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
public String getTemplateCode() {
return this.templateCode;
}
public void setTemplateCode(String templateCode) {
this.templateCode = templateCode;
if(templateCode != null){
putQueryParameter("TemplateCode", templateCode);
}
}
@Override
public Class<GetWhatsappHealthStatusResponse> getResponseClass() {
return GetWhatsappHealthStatusResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetWhatsappHealthStatusResponse.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.cams.model.v20200606;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.GetWhatsappHealthStatusResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetWhatsappHealthStatusResponse extends AcsResponse {
private String accessDeniedDetail;
private String message;
private String requestId;
private String code;
private Boolean success;
private Data data;
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String canSendMessage;
private List<EntitiesItem> entities;
public String getCanSendMessage() {
return this.canSendMessage;
}
public void setCanSendMessage(String canSendMessage) {
this.canSendMessage = canSendMessage;
}
public List<EntitiesItem> getEntities() {
return this.entities;
}
public void setEntities(List<EntitiesItem> entities) {
this.entities = entities;
}
public static class EntitiesItem {
private String entityType;
private String templateCode;
private String language;
private String canSendMessage;
private String phoneNumber;
private String wabaId;
private String businessId;
private List<ErrorsItem> errors;
public String getEntityType() {
return this.entityType;
}
public void setEntityType(String entityType) {
this.entityType = entityType;
}
public String getTemplateCode() {
return this.templateCode;
}
public void setTemplateCode(String templateCode) {
this.templateCode = templateCode;
}
public String getLanguage() {
return this.language;
}
public void setLanguage(String language) {
this.language = language;
}
public String getCanSendMessage() {
return this.canSendMessage;
}
public void setCanSendMessage(String canSendMessage) {
this.canSendMessage = canSendMessage;
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public String getWabaId() {
return this.wabaId;
}
public void setWabaId(String wabaId) {
this.wabaId = wabaId;
}
public String getBusinessId() {
return this.businessId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
public List<ErrorsItem> getErrors() {
return this.errors;
}
public void setErrors(List<ErrorsItem> errors) {
this.errors = errors;
}
public static class ErrorsItem {
private String errorDescription;
private String possibleSolution;
private String errorCode;
public String getErrorDescription() {
return this.errorDescription;
}
public void setErrorDescription(String errorDescription) {
this.errorDescription = errorDescription;
}
public String getPossibleSolution() {
return this.possibleSolution;
}
public void setPossibleSolution(String possibleSolution) {
this.possibleSolution = possibleSolution;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
}
}
}
@Override
public GetWhatsappHealthStatusResponse getInstance(UnmarshallerContext context) {
return GetWhatsappHealthStatusResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/IsvGetAppIdRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class IsvGetAppIdRequest extends RpcAcsRequest<IsvGetAppIdResponse> {
private String type;
private String permissions;
public IsvGetAppIdRequest() {
super("cams", "2020-06-06", "IsvGetAppId", "cams");
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 getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putBodyParameter("Type", type);
}
}
public String getPermissions() {
return this.permissions;
}
public void setPermissions(String permissions) {
this.permissions = permissions;
if(permissions != null){
putBodyParameter("Permissions", permissions);
}
}
@Override
public Class<IsvGetAppIdResponse> getResponseClass() {
return IsvGetAppIdResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/IsvGetAppIdResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.IsvGetAppIdResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class IsvGetAppIdResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private String appId;
private String accessDeniedDetail;
private String configId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getConfigId() {
return this.configId;
}
public void setConfigId(String configId) {
this.configId = configId;
}
@Override
public IsvGetAppIdResponse getInstance(UnmarshallerContext context) {
return IsvGetAppIdResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ListChatappTemplateRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class ListChatappTemplateRequest extends RpcAcsRequest<ListChatappTemplateResponse> {
private String code;
private String language;
private String custWabaId;
private String templateType;
private String isvCode;
private String auditStatus;
private String custSpaceId;
private String name;
@SerializedName("page")
private Page page;
public ListChatappTemplateRequest() {
super("cams", "2020-06-06", "ListChatappTemplate", "cams");
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 getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
if(code != null){
putQueryParameter("Code", code);
}
}
public String getLanguage() {
return this.language;
}
public void setLanguage(String language) {
this.language = language;
if(language != null){
putQueryParameter("Language", language);
}
}
public String getCustWabaId() {
return this.custWabaId;
}
public void setCustWabaId(String custWabaId) {
this.custWabaId = custWabaId;
if(custWabaId != null){
putQueryParameter("CustWabaId", custWabaId);
}
}
public String getTemplateType() {
return this.templateType;
}
public void setTemplateType(String templateType) {
this.templateType = templateType;
if(templateType != null){
putQueryParameter("TemplateType", templateType);
}
}
public String getIsvCode() {
return this.isvCode;
}
public void setIsvCode(String isvCode) {
this.isvCode = isvCode;
if(isvCode != null){
putQueryParameter("IsvCode", isvCode);
}
}
public String getAuditStatus() {
return this.auditStatus;
}
public void setAuditStatus(String auditStatus) {
this.auditStatus = auditStatus;
if(auditStatus != null){
putQueryParameter("AuditStatus", auditStatus);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public Page getPage() {
return this.page;
}
public void setPage(Page page) {
this.page = page;
if (page != null) {
putQueryParameter("Page" , new Gson().toJson(page));
}
}
public static class Page {
@SerializedName("Index")
private Integer index;
@SerializedName("Size")
private Integer size;
public Integer getIndex() {
return this.index;
}
public void setIndex(Integer index) {
this.index = index;
}
public Integer getSize() {
return this.size;
}
public void setSize(Integer size) {
this.size = size;
}
}
@Override
public Class<ListChatappTemplateResponse> getResponseClass() {
return ListChatappTemplateResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ListChatappTemplateResponse.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.cams.model.v20200606;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.ListChatappTemplateResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListChatappTemplateResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Integer total;
private String accessDeniedDetail;
private List<Template> listTemplate;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Integer getTotal() {
return this.total;
}
public void setTotal(Integer total) {
this.total = total;
}
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public List<Template> getListTemplate() {
return this.listTemplate;
}
public void setListTemplate(List<Template> listTemplate) {
this.listTemplate = listTemplate;
}
public static class Template {
private String templateName;
private String templateCode;
private String auditStatus;
private String language;
private String category;
private String templateType;
private String reason;
private Long lastUpdateTime;
public String getTemplateName() {
return this.templateName;
}
public void setTemplateName(String templateName) {
this.templateName = templateName;
}
public String getTemplateCode() {
return this.templateCode;
}
public void setTemplateCode(String templateCode) {
this.templateCode = templateCode;
}
public String getAuditStatus() {
return this.auditStatus;
}
public void setAuditStatus(String auditStatus) {
this.auditStatus = auditStatus;
}
public String getLanguage() {
return this.language;
}
public void setLanguage(String language) {
this.language = language;
}
public String getCategory() {
return this.category;
}
public void setCategory(String category) {
this.category = category;
}
public String getTemplateType() {
return this.templateType;
}
public void setTemplateType(String templateType) {
this.templateType = templateType;
}
public String getReason() {
return this.reason;
}
public void setReason(String reason) {
this.reason = reason;
}
public Long getLastUpdateTime() {
return this.lastUpdateTime;
}
public void setLastUpdateTime(Long lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
}
}
@Override
public ListChatappTemplateResponse getInstance(UnmarshallerContext context) {
return ListChatappTemplateResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ListFlowRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class ListFlowRequest extends RpcAcsRequest<ListFlowResponse> {
private String custSpaceId;
private String flowName;
@SerializedName("page")
private Page page;
public ListFlowRequest() {
super("cams", "2020-06-06", "ListFlow", "cams");
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 getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
public String getFlowName() {
return this.flowName;
}
public void setFlowName(String flowName) {
this.flowName = flowName;
if(flowName != null){
putBodyParameter("FlowName", flowName);
}
}
public Page getPage() {
return this.page;
}
public void setPage(Page page) {
this.page = page;
if (page != null) {
putBodyParameter("Page" , new Gson().toJson(page));
}
}
public static class Page {
@SerializedName("Size")
private Integer size;
@SerializedName("Index")
private Integer index;
public Integer getSize() {
return this.size;
}
public void setSize(Integer size) {
this.size = size;
}
public Integer getIndex() {
return this.index;
}
public void setIndex(Integer index) {
this.index = index;
}
}
@Override
public Class<ListFlowResponse> getResponseClass() {
return ListFlowResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ListFlowResponse.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.cams.model.v20200606;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.ListFlowResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListFlowResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private List<返回结果> data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public List<返回结果> getData() {
return this.data;
}
public void setData(List<返回结果> data) {
this.data = data;
}
public static class 返回结果 {
private String flowId;
private String flowName;
private List<String> categories;
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
}
public String getFlowName() {
return this.flowName;
}
public void setFlowName(String flowName) {
this.flowName = flowName;
}
public List<String> getCategories() {
return this.categories;
}
public void setCategories(List<String> categories) {
this.categories = categories;
}
}
@Override
public ListFlowResponse getInstance(UnmarshallerContext context) {
return ListFlowResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ListPhoneMessageQrdlRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class ListPhoneMessageQrdlRequest extends RpcAcsRequest<ListPhoneMessageQrdlResponse> {
private String phoneNumber;
private String custSpaceId;
public ListPhoneMessageQrdlRequest() {
super("cams", "2020-06-06", "ListPhoneMessageQrdl", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putBodyParameter("PhoneNumber", phoneNumber);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<ListPhoneMessageQrdlResponse> getResponseClass() {
return ListPhoneMessageQrdlResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ListPhoneMessageQrdlResponse.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.cams.model.v20200606;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.ListPhoneMessageQrdlResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListPhoneMessageQrdlResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private List<列表> data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public List<列表> getData() {
return this.data;
}
public void setData(List<列表> data) {
this.data = data;
}
public static class 列表 {
private String phoneNumber;
private String qrdlCode;
private String generateQrImage;
private String prefilledMessage;
private String deepLinkUrl;
private String qrImageUrl;
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public String getQrdlCode() {
return this.qrdlCode;
}
public void setQrdlCode(String qrdlCode) {
this.qrdlCode = qrdlCode;
}
public String getGenerateQrImage() {
return this.generateQrImage;
}
public void setGenerateQrImage(String generateQrImage) {
this.generateQrImage = generateQrImage;
}
public String getPrefilledMessage() {
return this.prefilledMessage;
}
public void setPrefilledMessage(String prefilledMessage) {
this.prefilledMessage = prefilledMessage;
}
public String getDeepLinkUrl() {
return this.deepLinkUrl;
}
public void setDeepLinkUrl(String deepLinkUrl) {
this.deepLinkUrl = deepLinkUrl;
}
public String getQrImageUrl() {
return this.qrImageUrl;
}
public void setQrImageUrl(String qrImageUrl) {
this.qrImageUrl = qrImageUrl;
}
}
@Override
public ListPhoneMessageQrdlResponse getInstance(UnmarshallerContext context) {
return ListPhoneMessageQrdlResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ListProductCatalogRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class ListProductCatalogRequest extends RpcAcsRequest<ListProductCatalogResponse> {
private Long resourceOwnerId;
private String before;
private Long limit;
private String after;
private String resourceOwnerAccount;
private Long businessId;
private Long ownerId;
private String custSpaceId;
private String fields;
public ListProductCatalogRequest() {
super("cams", "2020-06-06", "ListProductCatalog", "cams");
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 getBefore() {
return this.before;
}
public void setBefore(String before) {
this.before = before;
if(before != null){
putQueryParameter("Before", before);
}
}
public Long getLimit() {
return this.limit;
}
public void setLimit(Long limit) {
this.limit = limit;
if(limit != null){
putQueryParameter("Limit", limit.toString());
}
}
public String getAfter() {
return this.after;
}
public void setAfter(String after) {
this.after = after;
if(after != null){
putQueryParameter("After", after);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public Long getBusinessId() {
return this.businessId;
}
public void setBusinessId(Long businessId) {
this.businessId = businessId;
if(businessId != null){
putQueryParameter("BusinessId", businessId.toString());
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
public String getFields() {
return this.fields;
}
public void setFields(String fields) {
this.fields = fields;
if(fields != null){
putQueryParameter("Fields", fields);
}
}
@Override
public Class<ListProductCatalogResponse> getResponseClass() {
return ListProductCatalogResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ListProductCatalogResponse.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.cams.model.v20200606;
import java.util.List;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.ListProductCatalogResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListProductCatalogResponse extends AcsResponse {
private String accessDeniedDetail;
private String message;
private String requestId;
private String code;
private Boolean success;
private Model model;
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Model getModel() {
return this.model;
}
public void setModel(Model model) {
this.model = model;
}
public static class Model {
private List<Map<Object,Object>> data;
private Paging paging;
public List<Map<Object,Object>> getData() {
return this.data;
}
public void setData(List<Map<Object,Object>> data) {
this.data = data;
}
public Paging getPaging() {
return this.paging;
}
public void setPaging(Paging paging) {
this.paging = paging;
}
public static class Paging {
private Cursors cursors;
public Cursors getCursors() {
return this.cursors;
}
public void setCursors(Cursors cursors) {
this.cursors = cursors;
}
public static class Cursors {
private String before;
private String after;
public String getBefore() {
return this.before;
}
public void setBefore(String before) {
this.before = before;
}
public String getAfter() {
return this.after;
}
public void setAfter(String after) {
this.after = after;
}
}
}
}
@Override
public ListProductCatalogResponse getInstance(UnmarshallerContext context) {
return ListProductCatalogResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ListProductRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class ListProductRequest extends RpcAcsRequest<ListProductResponse> {
private Long resourceOwnerId;
private String before;
private Long limit;
private String after;
private String resourceOwnerAccount;
private Long ownerId;
private String wabaId;
private String catalogId;
private String custSpaceId;
private String fields;
public ListProductRequest() {
super("cams", "2020-06-06", "ListProduct", "cams");
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 getBefore() {
return this.before;
}
public void setBefore(String before) {
this.before = before;
if(before != null){
putQueryParameter("Before", before);
}
}
public Long getLimit() {
return this.limit;
}
public void setLimit(Long limit) {
this.limit = limit;
if(limit != null){
putQueryParameter("Limit", limit.toString());
}
}
public String getAfter() {
return this.after;
}
public void setAfter(String after) {
this.after = after;
if(after != null){
putQueryParameter("After", after);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getWabaId() {
return this.wabaId;
}
public void setWabaId(String wabaId) {
this.wabaId = wabaId;
if(wabaId != null){
putQueryParameter("WabaId", wabaId);
}
}
public String getCatalogId() {
return this.catalogId;
}
public void setCatalogId(String catalogId) {
this.catalogId = catalogId;
if(catalogId != null){
putQueryParameter("CatalogId", catalogId);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
public String getFields() {
return this.fields;
}
public void setFields(String fields) {
this.fields = fields;
if(fields != null){
putQueryParameter("Fields", fields);
}
}
@Override
public Class<ListProductResponse> getResponseClass() {
return ListProductResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ListProductResponse.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.cams.model.v20200606;
import java.util.List;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.ListProductResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListProductResponse extends AcsResponse {
private String accessDeniedDetail;
private String message;
private String requestId;
private String code;
private Boolean success;
private Model model;
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Model getModel() {
return this.model;
}
public void setModel(Model model) {
this.model = model;
}
public static class Model {
private List<Map<Object,Object>> data;
private Paging paging;
public List<Map<Object,Object>> getData() {
return this.data;
}
public void setData(List<Map<Object,Object>> data) {
this.data = data;
}
public Paging getPaging() {
return this.paging;
}
public void setPaging(Paging paging) {
this.paging = paging;
}
public static class Paging {
private Cursors cursors;
public Cursors getCursors() {
return this.cursors;
}
public void setCursors(Cursors cursors) {
this.cursors = cursors;
}
public static class Cursors {
private String before;
private String after;
public String getBefore() {
return this.before;
}
public void setBefore(String before) {
this.before = before;
}
public String getAfter() {
return this.after;
}
public void setAfter(String after) {
this.after = after;
}
}
}
}
@Override
public ListProductResponse getInstance(UnmarshallerContext context) {
return ListProductResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ModifyChatappTemplateRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import java.util.Map;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyChatappTemplateRequest extends RpcAcsRequest<ModifyChatappTemplateResponse> {
@SerializedName("components")
private List<Components> components;
private String language;
private String custWabaId;
@SerializedName("example")
private Map<String,String> example;
private String templateType;
private String templateName;
private String isvCode;
private String custSpaceId;
private String category;
private Integer messageSendTtlSeconds;
private String templateCode;
public ModifyChatappTemplateRequest() {
super("cams", "2020-06-06", "ModifyChatappTemplate", "cams");
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 List<Components> getComponents() {
return this.components;
}
public void setComponents(List<Components> components) {
this.components = components;
if (components != null) {
putBodyParameter("Components" , new Gson().toJson(components));
}
}
public String getLanguage() {
return this.language;
}
public void setLanguage(String language) {
this.language = language;
if(language != null){
putBodyParameter("Language", language);
}
}
public String getCustWabaId() {
return this.custWabaId;
}
public void setCustWabaId(String custWabaId) {
this.custWabaId = custWabaId;
if(custWabaId != null){
putBodyParameter("CustWabaId", custWabaId);
}
}
public Map<String,String> getExample() {
return this.example;
}
public void setExample(Map<String,String> example) {
this.example = example;
if (example != null) {
putBodyParameter("Example" , new Gson().toJson(example));
}
}
public String getTemplateType() {
return this.templateType;
}
public void setTemplateType(String templateType) {
this.templateType = templateType;
if(templateType != null){
putBodyParameter("TemplateType", templateType);
}
}
public String getTemplateName() {
return this.templateName;
}
public void setTemplateName(String templateName) {
this.templateName = templateName;
if(templateName != null){
putBodyParameter("TemplateName", templateName);
}
}
public String getIsvCode() {
return this.isvCode;
}
public void setIsvCode(String isvCode) {
this.isvCode = isvCode;
if(isvCode != null){
putBodyParameter("IsvCode", isvCode);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
public String getCategory() {
return this.category;
}
public void setCategory(String category) {
this.category = category;
if(category != null){
putBodyParameter("Category", category);
}
}
public Integer getMessageSendTtlSeconds() {
return this.messageSendTtlSeconds;
}
public void setMessageSendTtlSeconds(Integer messageSendTtlSeconds) {
this.messageSendTtlSeconds = messageSendTtlSeconds;
if(messageSendTtlSeconds != null){
putBodyParameter("MessageSendTtlSeconds", messageSendTtlSeconds.toString());
}
}
public String getTemplateCode() {
return this.templateCode;
}
public void setTemplateCode(String templateCode) {
this.templateCode = templateCode;
if(templateCode != null){
putBodyParameter("TemplateCode", templateCode);
}
}
public static class Components {
@SerializedName("Type")
private String type;
@SerializedName("Text")
private String text;
@SerializedName("Format")
private String format;
@SerializedName("Url")
private String url;
@SerializedName("Caption")
private String caption;
@SerializedName("FileName")
private String fileName;
@SerializedName("Buttons")
private List<ButtonsItem> buttons;
@SerializedName("ThumbUrl")
private String thumbUrl;
@SerializedName("Duration")
private Integer duration;
@SerializedName("FileType")
private String fileType;
@SerializedName("CodeExpirationMinutes")
private Integer codeExpirationMinutes;
@SerializedName("AddSecretRecommendation")
private Boolean addSecretRecommendation;
@SerializedName("HasExpiration")
private Boolean hasExpiration;
@SerializedName("Cards")
private List<CardsItem> cards;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public String getFormat() {
return this.format;
}
public void setFormat(String format) {
this.format = format;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public String getCaption() {
return this.caption;
}
public void setCaption(String caption) {
this.caption = caption;
}
public String getFileName() {
return this.fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public List<ButtonsItem> getButtons() {
return this.buttons;
}
public void setButtons(List<ButtonsItem> buttons) {
this.buttons = buttons;
}
public String getThumbUrl() {
return this.thumbUrl;
}
public void setThumbUrl(String thumbUrl) {
this.thumbUrl = thumbUrl;
}
public Integer getDuration() {
return this.duration;
}
public void setDuration(Integer duration) {
this.duration = duration;
}
public String getFileType() {
return this.fileType;
}
public void setFileType(String fileType) {
this.fileType = fileType;
}
public Integer getCodeExpirationMinutes() {
return this.codeExpirationMinutes;
}
public void setCodeExpirationMinutes(Integer codeExpirationMinutes) {
this.codeExpirationMinutes = codeExpirationMinutes;
}
public Boolean getAddSecretRecommendation() {
return this.addSecretRecommendation;
}
public void setAddSecretRecommendation(Boolean addSecretRecommendation) {
this.addSecretRecommendation = addSecretRecommendation;
}
public Boolean getHasExpiration() {
return this.hasExpiration;
}
public void setHasExpiration(Boolean hasExpiration) {
this.hasExpiration = hasExpiration;
}
public List<CardsItem> getCards() {
return this.cards;
}
public void setCards(List<CardsItem> cards) {
this.cards = cards;
}
public static class ButtonsItem {
@SerializedName("Type")
private String type;
@SerializedName("Text")
private String text;
@SerializedName("PhoneNumber")
private String phoneNumber;
@SerializedName("Url")
private String url;
@SerializedName("UrlType")
private String urlType;
@SerializedName("SignatureHash")
private String signatureHash;
@SerializedName("PackageName")
private String packageName;
@SerializedName("AutofillText")
private String autofillText;
@SerializedName("IsOptOut")
private Boolean isOptOut;
@SerializedName("CouponCode")
private String couponCode;
@SerializedName("FlowId")
private String flowId;
@SerializedName("FlowAction")
private String flowAction;
@SerializedName("NavigateScreen")
private String navigateScreen;
@SerializedName("SupportedApps")
private List<SupportedAppsItem> supportedApps;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public String getUrlType() {
return this.urlType;
}
public void setUrlType(String urlType) {
this.urlType = urlType;
}
public String getSignatureHash() {
return this.signatureHash;
}
public void setSignatureHash(String signatureHash) {
this.signatureHash = signatureHash;
}
public String getPackageName() {
return this.packageName;
}
public void setPackageName(String packageName) {
this.packageName = packageName;
}
public String getAutofillText() {
return this.autofillText;
}
public void setAutofillText(String autofillText) {
this.autofillText = autofillText;
}
public Boolean getIsOptOut() {
return this.isOptOut;
}
public void setIsOptOut(Boolean isOptOut) {
this.isOptOut = isOptOut;
}
public String getCouponCode() {
return this.couponCode;
}
public void setCouponCode(String couponCode) {
this.couponCode = couponCode;
}
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
}
public String getFlowAction() {
return this.flowAction;
}
public void setFlowAction(String flowAction) {
this.flowAction = flowAction;
}
public String getNavigateScreen() {
return this.navigateScreen;
}
public void setNavigateScreen(String navigateScreen) {
this.navigateScreen = navigateScreen;
}
public List<SupportedAppsItem> getSupportedApps() {
return this.supportedApps;
}
public void setSupportedApps(List<SupportedAppsItem> supportedApps) {
this.supportedApps = supportedApps;
}
public static class SupportedAppsItem {
@SerializedName("SignatureHash")
private String signatureHash;
@SerializedName("PackageName")
private String packageName;
public String getSignatureHash() {
return this.signatureHash;
}
public void setSignatureHash(String signatureHash) {
this.signatureHash = signatureHash;
}
public String getPackageName() {
return this.packageName;
}
public void setPackageName(String packageName) {
this.packageName = packageName;
}
}
}
public static class CardsItem {
@SerializedName("CardComponents")
private List<CardComponentsItem> cardComponents;
public List<CardComponentsItem> getCardComponents() {
return this.cardComponents;
}
public void setCardComponents(List<CardComponentsItem> cardComponents) {
this.cardComponents = cardComponents;
}
public static class CardComponentsItem {
@SerializedName("Type")
private String type;
@SerializedName("Format")
private String format;
@SerializedName("Text")
private String text;
@SerializedName("Url")
private String url;
@SerializedName("Buttons")
private List<ButtonsItem> buttons;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getFormat() {
return this.format;
}
public void setFormat(String format) {
this.format = format;
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public List<ButtonsItem> getButtons() {
return this.buttons;
}
public void setButtons(List<ButtonsItem> buttons) {
this.buttons = buttons;
}
public static class ButtonsItem {
@SerializedName("Text")
private String text;
@SerializedName("Type")
private String type;
@SerializedName("Url")
private String url;
@SerializedName("UrlType")
private String urlType;
@SerializedName("PhoneNumber")
private String phoneNumber;
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public String getUrlType() {
return this.urlType;
}
public void setUrlType(String urlType) {
this.urlType = urlType;
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
}
}
}
}
@Override
public Class<ModifyChatappTemplateResponse> getResponseClass() {
return ModifyChatappTemplateResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ModifyChatappTemplateResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.ModifyChatappTemplateResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyChatappTemplateResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private String accessDeniedDetail;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String templateCode;
private String templateName;
public String getTemplateCode() {
return this.templateCode;
}
public void setTemplateCode(String templateCode) {
this.templateCode = templateCode;
}
public String getTemplateName() {
return this.templateName;
}
public void setTemplateName(String templateName) {
this.templateName = templateName;
}
}
@Override
public ModifyChatappTemplateResponse getInstance(UnmarshallerContext context) {
return ModifyChatappTemplateResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ModifyFlowRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyFlowRequest extends RpcAcsRequest<ModifyFlowResponse> {
@SerializedName("categories")
private List<String> categories;
private String custSpaceId;
private String flowName;
private String flowId;
public ModifyFlowRequest() {
super("cams", "2020-06-06", "ModifyFlow", "cams");
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 List<String> getCategories() {
return this.categories;
}
public void setCategories(List<String> categories) {
this.categories = categories;
if (categories != null) {
putBodyParameter("Categories" , new Gson().toJson(categories));
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
public String getFlowName() {
return this.flowName;
}
public void setFlowName(String flowName) {
this.flowName = flowName;
if(flowName != null){
putBodyParameter("FlowName", flowName);
}
}
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
if(flowId != null){
putBodyParameter("FlowId", flowId);
}
}
@Override
public Class<ModifyFlowResponse> getResponseClass() {
return ModifyFlowResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ModifyFlowResponse.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.cams.model.v20200606;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.ModifyFlowResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyFlowResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String flowId;
private String flowName;
private List<String> categories;
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
}
public String getFlowName() {
return this.flowName;
}
public void setFlowName(String flowName) {
this.flowName = flowName;
}
public List<String> getCategories() {
return this.categories;
}
public void setCategories(List<String> categories) {
this.categories = categories;
}
}
@Override
public ModifyFlowResponse getInstance(UnmarshallerContext context) {
return ModifyFlowResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ModifyPhoneBusinessProfileRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class ModifyPhoneBusinessProfileRequest extends RpcAcsRequest<ModifyPhoneBusinessProfileResponse> {
private Long resourceOwnerId;
private String phoneNumber;
private String about;
private String description;
private String vertical;
private String email;
private String address;
private String resourceOwnerAccount;
private Long ownerId;
private String profilePictureUrl;
private String custSpaceId;
@SerializedName("websites")
private List<String> websites;
public ModifyPhoneBusinessProfileRequest() {
super("cams", "2020-06-06", "ModifyPhoneBusinessProfile", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putQueryParameter("PhoneNumber", phoneNumber);
}
}
public String getAbout() {
return this.about;
}
public void setAbout(String about) {
this.about = about;
if(about != null){
putQueryParameter("About", about);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getVertical() {
return this.vertical;
}
public void setVertical(String vertical) {
this.vertical = vertical;
if(vertical != null){
putQueryParameter("Vertical", vertical);
}
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
if(email != null){
putQueryParameter("Email", email);
}
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
if(address != null){
putQueryParameter("Address", address);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getProfilePictureUrl() {
return this.profilePictureUrl;
}
public void setProfilePictureUrl(String profilePictureUrl) {
this.profilePictureUrl = profilePictureUrl;
if(profilePictureUrl != null){
putQueryParameter("ProfilePictureUrl", profilePictureUrl);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
public List<String> getWebsites() {
return this.websites;
}
public void setWebsites(List<String> websites) {
this.websites = websites;
if (websites != null) {
putQueryParameter("Websites" , new Gson().toJson(websites));
}
}
@Override
public Class<ModifyPhoneBusinessProfileResponse> getResponseClass() {
return ModifyPhoneBusinessProfileResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ModifyPhoneBusinessProfileResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.ModifyPhoneBusinessProfileResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyPhoneBusinessProfileResponse extends AcsResponse {
private String accessDeniedDetail;
private String message;
private String requestId;
private String code;
private Boolean success;
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public ModifyPhoneBusinessProfileResponse getInstance(UnmarshallerContext context) {
return ModifyPhoneBusinessProfileResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/PublishFlowRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class PublishFlowRequest extends RpcAcsRequest<PublishFlowResponse> {
private String custSpaceId;
private String flowId;
public PublishFlowRequest() {
super("cams", "2020-06-06", "PublishFlow", "cams");
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 getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
if(flowId != null){
putBodyParameter("FlowId", flowId);
}
}
@Override
public Class<PublishFlowResponse> getResponseClass() {
return PublishFlowResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/PublishFlowResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.PublishFlowResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PublishFlowResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public PublishFlowResponse getInstance(UnmarshallerContext context) {
return PublishFlowResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/QueryChatappBindWabaRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class QueryChatappBindWabaRequest extends RpcAcsRequest<QueryChatappBindWabaResponse> {
private Long resourceOwnerId;
private String isvCode;
private String resourceOwnerAccount;
private Long ownerId;
private String custSpaceId;
public QueryChatappBindWabaRequest() {
super("cams", "2020-06-06", "QueryChatappBindWaba", "cams");
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 getIsvCode() {
return this.isvCode;
}
public void setIsvCode(String isvCode) {
this.isvCode = isvCode;
if(isvCode != null){
putQueryParameter("IsvCode", isvCode);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<QueryChatappBindWabaResponse> getResponseClass() {
return QueryChatappBindWabaResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/QueryChatappBindWabaResponse.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.cams.model.v20200606;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.QueryChatappBindWabaResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryChatappBindWabaResponse extends AcsResponse {
private String accessDeniedDetail;
private String message;
private String requestId;
private String code;
private Boolean success;
private Data data;
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Map<Object,Object> authInternationalRateEligibility;
private String businessName;
private String currency;
private String id;
private String accountReviewStatus;
private String messageTemplateNamespace;
private String businessId;
private String name;
private String primaryBusinessLocation;
public Map<Object,Object> getAuthInternationalRateEligibility() {
return this.authInternationalRateEligibility;
}
public void setAuthInternationalRateEligibility(Map<Object,Object> authInternationalRateEligibility) {
this.authInternationalRateEligibility = authInternationalRateEligibility;
}
public String getBusinessName() {
return this.businessName;
}
public void setBusinessName(String businessName) {
this.businessName = businessName;
}
public String getCurrency() {
return this.currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getAccountReviewStatus() {
return this.accountReviewStatus;
}
public void setAccountReviewStatus(String accountReviewStatus) {
this.accountReviewStatus = accountReviewStatus;
}
public String getMessageTemplateNamespace() {
return this.messageTemplateNamespace;
}
public void setMessageTemplateNamespace(String messageTemplateNamespace) {
this.messageTemplateNamespace = messageTemplateNamespace;
}
public String getBusinessId() {
return this.businessId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getPrimaryBusinessLocation() {
return this.primaryBusinessLocation;
}
public void setPrimaryBusinessLocation(String primaryBusinessLocation) {
this.primaryBusinessLocation = primaryBusinessLocation;
}
}
@Override
public QueryChatappBindWabaResponse getInstance(UnmarshallerContext context) {
return QueryChatappBindWabaResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/QueryChatappPhoneNumbersRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class QueryChatappPhoneNumbersRequest extends RpcAcsRequest<QueryChatappPhoneNumbersResponse> {
private String isvCode;
private String custSpaceId;
private String status;
public QueryChatappPhoneNumbersRequest() {
super("cams", "2020-06-06", "QueryChatappPhoneNumbers", "cams");
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 getIsvCode() {
return this.isvCode;
}
public void setIsvCode(String isvCode) {
this.isvCode = isvCode;
if(isvCode != null){
putQueryParameter("IsvCode", isvCode);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
if(status != null){
putQueryParameter("Status", status);
}
}
@Override
public Class<QueryChatappPhoneNumbersResponse> getResponseClass() {
return QueryChatappPhoneNumbersResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/QueryChatappPhoneNumbersResponse.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.cams.model.v20200606;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.QueryChatappPhoneNumbersResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryChatappPhoneNumbersResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private String accessDeniedDetail;
private List<PhoneNumbersItem> phoneNumbers;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public List<PhoneNumbersItem> getPhoneNumbers() {
return this.phoneNumbers;
}
public void setPhoneNumbers(List<PhoneNumbersItem> phoneNumbers) {
this.phoneNumbers = phoneNumbers;
}
public static class PhoneNumbersItem {
private String upQueue;
private String phoneNumber;
private String statusQueue;
private String verifiedName;
private String statusCallbackUrl;
private String upCallbackUrl;
private String qualityRating;
private String status;
private String codeVerificationStatus;
private String nameStatus;
private String messagingLimitTier;
private String newNameStatus;
public String getUpQueue() {
return this.upQueue;
}
public void setUpQueue(String upQueue) {
this.upQueue = upQueue;
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public String getStatusQueue() {
return this.statusQueue;
}
public void setStatusQueue(String statusQueue) {
this.statusQueue = statusQueue;
}
public String getVerifiedName() {
return this.verifiedName;
}
public void setVerifiedName(String verifiedName) {
this.verifiedName = verifiedName;
}
public String getStatusCallbackUrl() {
return this.statusCallbackUrl;
}
public void setStatusCallbackUrl(String statusCallbackUrl) {
this.statusCallbackUrl = statusCallbackUrl;
}
public String getUpCallbackUrl() {
return this.upCallbackUrl;
}
public void setUpCallbackUrl(String upCallbackUrl) {
this.upCallbackUrl = upCallbackUrl;
}
public String getQualityRating() {
return this.qualityRating;
}
public void setQualityRating(String qualityRating) {
this.qualityRating = qualityRating;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getCodeVerificationStatus() {
return this.codeVerificationStatus;
}
public void setCodeVerificationStatus(String codeVerificationStatus) {
this.codeVerificationStatus = codeVerificationStatus;
}
public String getNameStatus() {
return this.nameStatus;
}
public void setNameStatus(String nameStatus) {
this.nameStatus = nameStatus;
}
public String getMessagingLimitTier() {
return this.messagingLimitTier;
}
public void setMessagingLimitTier(String messagingLimitTier) {
this.messagingLimitTier = messagingLimitTier;
}
public String getNewNameStatus() {
return this.newNameStatus;
}
public void setNewNameStatus(String newNameStatus) {
this.newNameStatus = newNameStatus;
}
}
@Override
public QueryChatappPhoneNumbersResponse getInstance(UnmarshallerContext context) {
return QueryChatappPhoneNumbersResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/QueryPhoneBusinessProfileRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class QueryPhoneBusinessProfileRequest extends RpcAcsRequest<QueryPhoneBusinessProfileResponse> {
private Long resourceOwnerId;
private String phoneNumber;
private String resourceOwnerAccount;
private Long ownerId;
private String custSpaceId;
public QueryPhoneBusinessProfileRequest() {
super("cams", "2020-06-06", "QueryPhoneBusinessProfile", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putQueryParameter("PhoneNumber", phoneNumber);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<QueryPhoneBusinessProfileResponse> getResponseClass() {
return QueryPhoneBusinessProfileResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/QueryPhoneBusinessProfileResponse.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.cams.model.v20200606;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.QueryPhoneBusinessProfileResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryPhoneBusinessProfileResponse extends AcsResponse {
private String accessDeniedDetail;
private String message;
private String requestId;
private String code;
private Boolean success;
private Data data;
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String vertical;
private String description;
private String email;
private String address;
private String profilePictureUrl;
private String about;
private List<String> websites;
public String getVertical() {
return this.vertical;
}
public void setVertical(String vertical) {
this.vertical = vertical;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public String getProfilePictureUrl() {
return this.profilePictureUrl;
}
public void setProfilePictureUrl(String profilePictureUrl) {
this.profilePictureUrl = profilePictureUrl;
}
public String getAbout() {
return this.about;
}
public void setAbout(String about) {
this.about = about;
}
public List<String> getWebsites() {
return this.websites;
}
public void setWebsites(List<String> websites) {
this.websites = websites;
}
}
@Override
public QueryPhoneBusinessProfileResponse getInstance(UnmarshallerContext context) {
return QueryPhoneBusinessProfileResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/QueryWabaBusinessInfoRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class QueryWabaBusinessInfoRequest extends RpcAcsRequest<QueryWabaBusinessInfoResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private Long ownerId;
private String wabaId;
private String custSpaceId;
public QueryWabaBusinessInfoRequest() {
super("cams", "2020-06-06", "QueryWabaBusinessInfo", "cams");
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 Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getWabaId() {
return this.wabaId;
}
public void setWabaId(String wabaId) {
this.wabaId = wabaId;
if(wabaId != null){
putQueryParameter("WabaId", wabaId);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<QueryWabaBusinessInfoResponse> getResponseClass() {
return QueryWabaBusinessInfoResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/QueryWabaBusinessInfoResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.QueryWabaBusinessInfoResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryWabaBusinessInfoResponse extends AcsResponse {
private String accessDeniedDetail;
private String message;
private String requestId;
private String code;
private Boolean success;
private Data data;
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String vertical;
private String verificationStatus;
private String businessName;
private String businessId;
public String getVertical() {
return this.vertical;
}
public void setVertical(String vertical) {
this.vertical = vertical;
}
public String getVerificationStatus() {
return this.verificationStatus;
}
public void setVerificationStatus(String verificationStatus) {
this.verificationStatus = verificationStatus;
}
public String getBusinessName() {
return this.businessName;
}
public void setBusinessName(String businessName) {
this.businessName = businessName;
}
public String getBusinessId() {
return this.businessId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
}
@Override
public QueryWabaBusinessInfoResponse getInstance(UnmarshallerContext context) {
return QueryWabaBusinessInfoResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/SendChatappMassMessageRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import java.util.Map;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class SendChatappMassMessageRequest extends RpcAcsRequest<SendChatappMassMessageResponse> {
private String language;
private String custWabaId;
private String fallBackContent;
@SerializedName("senderList")
private List<SenderList> senderList;
private String channelType;
private String from;
private String templateName;
private String tag;
private String fallBackRule;
private String taskId;
private String isvCode;
private String label;
private String fallBackId;
private Long ttl;
private Integer fallBackDuration;
private String custSpaceId;
private String templateCode;
public SendChatappMassMessageRequest() {
super("cams", "2020-06-06", "SendChatappMassMessage", "cams");
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 getLanguage() {
return this.language;
}
public void setLanguage(String language) {
this.language = language;
if(language != null){
putBodyParameter("Language", language);
}
}
public String getCustWabaId() {
return this.custWabaId;
}
public void setCustWabaId(String custWabaId) {
this.custWabaId = custWabaId;
if(custWabaId != null){
putBodyParameter("CustWabaId", custWabaId);
}
}
public String getFallBackContent() {
return this.fallBackContent;
}
public void setFallBackContent(String fallBackContent) {
this.fallBackContent = fallBackContent;
if(fallBackContent != null){
putBodyParameter("FallBackContent", fallBackContent);
}
}
public List<SenderList> getSenderList() {
return this.senderList;
}
public void setSenderList(List<SenderList> senderList) {
this.senderList = senderList;
if (senderList != null) {
putBodyParameter("SenderList" , new Gson().toJson(senderList));
}
}
public String getChannelType() {
return this.channelType;
}
public void setChannelType(String channelType) {
this.channelType = channelType;
if(channelType != null){
putBodyParameter("ChannelType", channelType);
}
}
public String getFrom() {
return this.from;
}
public void setFrom(String from) {
this.from = from;
if(from != null){
putBodyParameter("From", from);
}
}
public String getTemplateName() {
return this.templateName;
}
public void setTemplateName(String templateName) {
this.templateName = templateName;
if(templateName != null){
putBodyParameter("TemplateName", templateName);
}
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putBodyParameter("Tag", tag);
}
}
public String getFallBackRule() {
return this.fallBackRule;
}
public void setFallBackRule(String fallBackRule) {
this.fallBackRule = fallBackRule;
if(fallBackRule != null){
putBodyParameter("FallBackRule", fallBackRule);
}
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
if(taskId != null){
putBodyParameter("TaskId", taskId);
}
}
public String getIsvCode() {
return this.isvCode;
}
public void setIsvCode(String isvCode) {
this.isvCode = isvCode;
if(isvCode != null){
putBodyParameter("IsvCode", isvCode);
}
}
public String getLabel() {
return this.label;
}
public void setLabel(String label) {
this.label = label;
if(label != null){
putBodyParameter("Label", label);
}
}
public String getFallBackId() {
return this.fallBackId;
}
public void setFallBackId(String fallBackId) {
this.fallBackId = fallBackId;
if(fallBackId != null){
putBodyParameter("FallBackId", fallBackId);
}
}
public Long getTtl() {
return this.ttl;
}
public void setTtl(Long ttl) {
this.ttl = ttl;
if(ttl != null){
putBodyParameter("Ttl", ttl.toString());
}
}
public Integer getFallBackDuration() {
return this.fallBackDuration;
}
public void setFallBackDuration(Integer fallBackDuration) {
this.fallBackDuration = fallBackDuration;
if(fallBackDuration != null){
putBodyParameter("FallBackDuration", fallBackDuration.toString());
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
public String getTemplateCode() {
return this.templateCode;
}
public void setTemplateCode(String templateCode) {
this.templateCode = templateCode;
if(templateCode != null){
putBodyParameter("TemplateCode", templateCode);
}
}
public static class SenderList {
@SerializedName("To")
private String to;
@SerializedName("TemplateParams")
private Map<String,String> templateParams;
@SerializedName("Payload")
private List<String> payload;
@SerializedName("ProductAction")
private ProductAction productAction;
@SerializedName("FlowAction")
private FlowAction flowAction;
public String getTo() {
return this.to;
}
public void setTo(String to) {
this.to = to;
}
public Map<String,String> getTemplateParams() {
return this.templateParams;
}
public void setTemplateParams(Map<String,String> templateParams) {
this.templateParams = templateParams;
}
public List<String> getPayload() {
return this.payload;
}
public void setPayload(List<String> payload) {
this.payload = payload;
}
public ProductAction getProductAction() {
return this.productAction;
}
public void setProductAction(ProductAction productAction) {
this.productAction = productAction;
}
public FlowAction getFlowAction() {
return this.flowAction;
}
public void setFlowAction(FlowAction flowAction) {
this.flowAction = flowAction;
}
public static class ProductAction {
@SerializedName("ThumbnailProductRetailerId")
private String thumbnailProductRetailerId;
@SerializedName("Sections")
private List<SectionsItem> sections;
public String getThumbnailProductRetailerId() {
return this.thumbnailProductRetailerId;
}
public void setThumbnailProductRetailerId(String thumbnailProductRetailerId) {
this.thumbnailProductRetailerId = thumbnailProductRetailerId;
}
public List<SectionsItem> getSections() {
return this.sections;
}
public void setSections(List<SectionsItem> sections) {
this.sections = sections;
}
public static class SectionsItem {
@SerializedName("Title")
private String title;
@SerializedName("ProductItems")
private List<ProductItemsItem> productItems;
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public List<ProductItemsItem> getProductItems() {
return this.productItems;
}
public void setProductItems(List<ProductItemsItem> productItems) {
this.productItems = productItems;
}
public static class ProductItemsItem {
@SerializedName("ProductRetailerId")
private String productRetailerId;
public String getProductRetailerId() {
return this.productRetailerId;
}
public void setProductRetailerId(String productRetailerId) {
this.productRetailerId = productRetailerId;
}
}
}
}
public static class FlowAction {
@SerializedName("FlowToken")
private String flowToken;
@SerializedName("FlowActionData")
private Map<String,String> flowActionData;
public String getFlowToken() {
return this.flowToken;
}
public void setFlowToken(String flowToken) {
this.flowToken = flowToken;
}
public Map<String,String> getFlowActionData() {
return this.flowActionData;
}
public void setFlowActionData(Map<String,String> flowActionData) {
this.flowActionData = flowActionData;
}
}
}
@Override
public Class<SendChatappMassMessageResponse> getResponseClass() {
return SendChatappMassMessageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/SendChatappMassMessageResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.SendChatappMassMessageResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SendChatappMassMessageResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private String groupMessageId;
private String accessDeniedDetail;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getGroupMessageId() {
return this.groupMessageId;
}
public void setGroupMessageId(String groupMessageId) {
this.groupMessageId = groupMessageId;
}
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
@Override
public SendChatappMassMessageResponse getInstance(UnmarshallerContext context) {
return SendChatappMassMessageResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/SendChatappMessageRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import java.util.Map;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class SendChatappMessageRequest extends RpcAcsRequest<SendChatappMessageResponse> {
private String language;
private String type;
private String fallBackContent;
@SerializedName("payload")
private List<String> payload;
private String from;
private String tag;
private String fallBackRule;
@SerializedName("flowAction")
private FlowAction flowAction;
private String taskId;
private String isvCode;
private String custSpaceId;
private String templateCode;
@SerializedName("productAction")
private ProductAction productAction;
private String messageType;
private String custWabaId;
private String content;
@SerializedName("templateParams")
private Map<String,String> templateParams;
private String channelType;
private String templateName;
private String trackingData;
private String contextMessageId;
private String label;
private String fallBackId;
private Integer ttl;
private Integer fallBackDuration;
private String to;
public SendChatappMessageRequest() {
super("cams", "2020-06-06", "SendChatappMessage", "cams");
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 getLanguage() {
return this.language;
}
public void setLanguage(String language) {
this.language = language;
if(language != null){
putBodyParameter("Language", language);
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putBodyParameter("Type", type);
}
}
public String getFallBackContent() {
return this.fallBackContent;
}
public void setFallBackContent(String fallBackContent) {
this.fallBackContent = fallBackContent;
if(fallBackContent != null){
putBodyParameter("FallBackContent", fallBackContent);
}
}
public List<String> getPayload() {
return this.payload;
}
public void setPayload(List<String> payload) {
this.payload = payload;
if (payload != null) {
putQueryParameter("Payload" , new Gson().toJson(payload));
}
}
public String getFrom() {
return this.from;
}
public void setFrom(String from) {
this.from = from;
if(from != null){
putBodyParameter("From", from);
}
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putBodyParameter("Tag", tag);
}
}
public String getFallBackRule() {
return this.fallBackRule;
}
public void setFallBackRule(String fallBackRule) {
this.fallBackRule = fallBackRule;
if(fallBackRule != null){
putBodyParameter("FallBackRule", fallBackRule);
}
}
public FlowAction getFlowAction() {
return this.flowAction;
}
public void setFlowAction(FlowAction flowAction) {
this.flowAction = flowAction;
if (flowAction != null) {
putBodyParameter("FlowAction" , new Gson().toJson(flowAction));
}
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
if(taskId != null){
putBodyParameter("TaskId", taskId);
}
}
public String getIsvCode() {
return this.isvCode;
}
public void setIsvCode(String isvCode) {
this.isvCode = isvCode;
if(isvCode != null){
putBodyParameter("IsvCode", isvCode);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
public String getTemplateCode() {
return this.templateCode;
}
public void setTemplateCode(String templateCode) {
this.templateCode = templateCode;
if(templateCode != null){
putBodyParameter("TemplateCode", templateCode);
}
}
public ProductAction getProductAction() {
return this.productAction;
}
public void setProductAction(ProductAction productAction) {
this.productAction = productAction;
if (productAction != null) {
putBodyParameter("ProductAction" , new Gson().toJson(productAction));
}
}
public String getMessageType() {
return this.messageType;
}
public void setMessageType(String messageType) {
this.messageType = messageType;
if(messageType != null){
putBodyParameter("MessageType", messageType);
}
}
public String getCustWabaId() {
return this.custWabaId;
}
public void setCustWabaId(String custWabaId) {
this.custWabaId = custWabaId;
if(custWabaId != null){
putBodyParameter("CustWabaId", custWabaId);
}
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
if(content != null){
putQueryParameter("Content", content);
}
}
public Map<String,String> getTemplateParams() {
return this.templateParams;
}
public void setTemplateParams(Map<String,String> templateParams) {
this.templateParams = templateParams;
if (templateParams != null) {
putBodyParameter("TemplateParams" , new Gson().toJson(templateParams));
}
}
public String getChannelType() {
return this.channelType;
}
public void setChannelType(String channelType) {
this.channelType = channelType;
if(channelType != null){
putBodyParameter("ChannelType", channelType);
}
}
public String getTemplateName() {
return this.templateName;
}
public void setTemplateName(String templateName) {
this.templateName = templateName;
if(templateName != null){
putBodyParameter("TemplateName", templateName);
}
}
public String getTrackingData() {
return this.trackingData;
}
public void setTrackingData(String trackingData) {
this.trackingData = trackingData;
if(trackingData != null){
putBodyParameter("TrackingData", trackingData);
}
}
public String getContextMessageId() {
return this.contextMessageId;
}
public void setContextMessageId(String contextMessageId) {
this.contextMessageId = contextMessageId;
if(contextMessageId != null){
putBodyParameter("ContextMessageId", contextMessageId);
}
}
public String getLabel() {
return this.label;
}
public void setLabel(String label) {
this.label = label;
if(label != null){
putBodyParameter("Label", label);
}
}
public String getFallBackId() {
return this.fallBackId;
}
public void setFallBackId(String fallBackId) {
this.fallBackId = fallBackId;
if(fallBackId != null){
putBodyParameter("FallBackId", fallBackId);
}
}
public Integer getTtl() {
return this.ttl;
}
public void setTtl(Integer ttl) {
this.ttl = ttl;
if(ttl != null){
putBodyParameter("Ttl", ttl.toString());
}
}
public Integer getFallBackDuration() {
return this.fallBackDuration;
}
public void setFallBackDuration(Integer fallBackDuration) {
this.fallBackDuration = fallBackDuration;
if(fallBackDuration != null){
putBodyParameter("FallBackDuration", fallBackDuration.toString());
}
}
public String getTo() {
return this.to;
}
public void setTo(String to) {
this.to = to;
if(to != null){
putBodyParameter("To", to);
}
}
public static class FlowAction {
@SerializedName("FlowToken")
private String flowToken;
@SerializedName("FlowActionData")
private Map<String,String> flowActionData;
public String getFlowToken() {
return this.flowToken;
}
public void setFlowToken(String flowToken) {
this.flowToken = flowToken;
}
public Map<String,String> getFlowActionData() {
return this.flowActionData;
}
public void setFlowActionData(Map<String,String> flowActionData) {
this.flowActionData = flowActionData;
}
}
public static class ProductAction {
@SerializedName("ThumbnailProductRetailerId")
private String thumbnailProductRetailerId;
@SerializedName("Sections")
private List<SectionsItem> sections;
public String getThumbnailProductRetailerId() {
return this.thumbnailProductRetailerId;
}
public void setThumbnailProductRetailerId(String thumbnailProductRetailerId) {
this.thumbnailProductRetailerId = thumbnailProductRetailerId;
}
public List<SectionsItem> getSections() {
return this.sections;
}
public void setSections(List<SectionsItem> sections) {
this.sections = sections;
}
public static class SectionsItem {
@SerializedName("Title")
private String title;
@SerializedName("ProductItems")
private List<ProductItemsItem> productItems;
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public List<ProductItemsItem> getProductItems() {
return this.productItems;
}
public void setProductItems(List<ProductItemsItem> productItems) {
this.productItems = productItems;
}
public static class ProductItemsItem {
@SerializedName("ProductRetailerId")
private String productRetailerId;
public String getProductRetailerId() {
return this.productRetailerId;
}
public void setProductRetailerId(String productRetailerId) {
this.productRetailerId = productRetailerId;
}
}
}
}
@Override
public Class<SendChatappMessageResponse> getResponseClass() {
return SendChatappMessageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/SendChatappMessageResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.SendChatappMessageResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SendChatappMessageResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private String messageId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getMessageId() {
return this.messageId;
}
public void setMessageId(String messageId) {
this.messageId = messageId;
}
@Override
public SendChatappMessageResponse getInstance(UnmarshallerContext context) {
return SendChatappMessageResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/SubmitIsvCustomerTermsRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class SubmitIsvCustomerTermsRequest extends RpcAcsRequest<SubmitIsvCustomerTermsResponse> {
private String officeAddress;
private String isvTerms;
private String contactMail;
private String countryId;
private String custSpaceId;
private String businessDesc;
private String custName;
public SubmitIsvCustomerTermsRequest() {
super("cams", "2020-06-06", "SubmitIsvCustomerTerms", "cams");
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 getOfficeAddress() {
return this.officeAddress;
}
public void setOfficeAddress(String officeAddress) {
this.officeAddress = officeAddress;
if(officeAddress != null){
putQueryParameter("OfficeAddress", officeAddress);
}
}
public String getIsvTerms() {
return this.isvTerms;
}
public void setIsvTerms(String isvTerms) {
this.isvTerms = isvTerms;
if(isvTerms != null){
putQueryParameter("IsvTerms", isvTerms);
}
}
public String getContactMail() {
return this.contactMail;
}
public void setContactMail(String contactMail) {
this.contactMail = contactMail;
if(contactMail != null){
putQueryParameter("ContactMail", contactMail);
}
}
public String getCountryId() {
return this.countryId;
}
public void setCountryId(String countryId) {
this.countryId = countryId;
if(countryId != null){
putQueryParameter("CountryId", countryId);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
public String getBusinessDesc() {
return this.businessDesc;
}
public void setBusinessDesc(String businessDesc) {
this.businessDesc = businessDesc;
if(businessDesc != null){
putQueryParameter("BusinessDesc", businessDesc);
}
}
public String getCustName() {
return this.custName;
}
public void setCustName(String custName) {
this.custName = custName;
if(custName != null){
putQueryParameter("CustName", custName);
}
}
@Override
public Class<SubmitIsvCustomerTermsResponse> getResponseClass() {
return SubmitIsvCustomerTermsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/SubmitIsvCustomerTermsResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.SubmitIsvCustomerTermsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SubmitIsvCustomerTermsResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private String accessDeniedDetail;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
@Override
public SubmitIsvCustomerTermsResponse getInstance(UnmarshallerContext context) {
return SubmitIsvCustomerTermsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdateAccountWebhookRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateAccountWebhookRequest extends RpcAcsRequest<UpdateAccountWebhookResponse> {
private String queueFlag;
private String httpFlag;
private String statusCallbackUrl;
private String custSpaceId;
public UpdateAccountWebhookRequest() {
super("cams", "2020-06-06", "UpdateAccountWebhook", "cams");
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 getQueueFlag() {
return this.queueFlag;
}
public void setQueueFlag(String queueFlag) {
this.queueFlag = queueFlag;
if(queueFlag != null){
putQueryParameter("QueueFlag", queueFlag);
}
}
public String getHttpFlag() {
return this.httpFlag;
}
public void setHttpFlag(String httpFlag) {
this.httpFlag = httpFlag;
if(httpFlag != null){
putQueryParameter("HttpFlag", httpFlag);
}
}
public String getStatusCallbackUrl() {
return this.statusCallbackUrl;
}
public void setStatusCallbackUrl(String statusCallbackUrl) {
this.statusCallbackUrl = statusCallbackUrl;
if(statusCallbackUrl != null){
putQueryParameter("StatusCallbackUrl", statusCallbackUrl);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<UpdateAccountWebhookResponse> getResponseClass() {
return UpdateAccountWebhookResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdateAccountWebhookResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.UpdateAccountWebhookResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateAccountWebhookResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private String accessDeniedDetail;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
@Override
public UpdateAccountWebhookResponse getInstance(UnmarshallerContext context) {
return UpdateAccountWebhookResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdateCommerceSettingRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateCommerceSettingRequest extends RpcAcsRequest<UpdateCommerceSettingResponse> {
private Long resourceOwnerId;
private String phoneNumber;
private Boolean catalogVisible;
private Boolean cartEnable;
private String resourceOwnerAccount;
private Long ownerId;
private String custSpaceId;
public UpdateCommerceSettingRequest() {
super("cams", "2020-06-06", "UpdateCommerceSetting", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putQueryParameter("PhoneNumber", phoneNumber);
}
}
public Boolean getCatalogVisible() {
return this.catalogVisible;
}
public void setCatalogVisible(Boolean catalogVisible) {
this.catalogVisible = catalogVisible;
if(catalogVisible != null){
putQueryParameter("CatalogVisible", catalogVisible.toString());
}
}
public Boolean getCartEnable() {
return this.cartEnable;
}
public void setCartEnable(Boolean cartEnable) {
this.cartEnable = cartEnable;
if(cartEnable != null){
putQueryParameter("CartEnable", cartEnable.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<UpdateCommerceSettingResponse> getResponseClass() {
return UpdateCommerceSettingResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdateCommerceSettingResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.UpdateCommerceSettingResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateCommerceSettingResponse extends AcsResponse {
private String accessDeniedDetail;
private String message;
private String requestId;
private String code;
private Boolean success;
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public UpdateCommerceSettingResponse getInstance(UnmarshallerContext context) {
return UpdateCommerceSettingResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdateConversationalAutomationRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateConversationalAutomationRequest extends RpcAcsRequest<UpdateConversationalAutomationResponse> {
private Long resourceOwnerId;
private String phoneNumber;
private Boolean enableWelcomeMessage;
@SerializedName("commands")
private List<Commands> commands;
@SerializedName("prompts")
private List<String> prompts;
private String resourceOwnerAccount;
private Long ownerId;
private String custSpaceId;
public UpdateConversationalAutomationRequest() {
super("cams", "2020-06-06", "UpdateConversationalAutomation", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putQueryParameter("PhoneNumber", phoneNumber);
}
}
public Boolean getEnableWelcomeMessage() {
return this.enableWelcomeMessage;
}
public void setEnableWelcomeMessage(Boolean enableWelcomeMessage) {
this.enableWelcomeMessage = enableWelcomeMessage;
if(enableWelcomeMessage != null){
putQueryParameter("EnableWelcomeMessage", enableWelcomeMessage.toString());
}
}
public List<Commands> getCommands() {
return this.commands;
}
public void setCommands(List<Commands> commands) {
this.commands = commands;
if (commands != null) {
putQueryParameter("Commands" , new Gson().toJson(commands));
}
}
public List<String> getPrompts() {
return this.prompts;
}
public void setPrompts(List<String> prompts) {
this.prompts = prompts;
if (prompts != null) {
putQueryParameter("Prompts" , new Gson().toJson(prompts));
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
public static class Commands {
@SerializedName("CommandDescription")
private String commandDescription;
@SerializedName("CommandName")
private String commandName;
public String getCommandDescription() {
return this.commandDescription;
}
public void setCommandDescription(String commandDescription) {
this.commandDescription = commandDescription;
}
public String getCommandName() {
return this.commandName;
}
public void setCommandName(String commandName) {
this.commandName = commandName;
}
}
@Override
public Class<UpdateConversationalAutomationResponse> getResponseClass() {
return UpdateConversationalAutomationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdateConversationalAutomationResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.UpdateConversationalAutomationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateConversationalAutomationResponse extends AcsResponse {
private String accessDeniedDetail;
private String message;
private String requestId;
private String code;
private Boolean success;
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public UpdateConversationalAutomationResponse getInstance(UnmarshallerContext context) {
return UpdateConversationalAutomationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdateFlowJSONAssetRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateFlowJSONAssetRequest extends RpcAcsRequest<UpdateFlowJSONAssetResponse> {
private String filePath;
private String custSpaceId;
private String flowId;
public UpdateFlowJSONAssetRequest() {
super("cams", "2020-06-06", "UpdateFlowJSONAsset", "cams");
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 getFilePath() {
return this.filePath;
}
public void setFilePath(String filePath) {
this.filePath = filePath;
if(filePath != null){
putBodyParameter("FilePath", filePath);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
if(flowId != null){
putBodyParameter("FlowId", flowId);
}
}
@Override
public Class<UpdateFlowJSONAssetResponse> getResponseClass() {
return UpdateFlowJSONAssetResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdateFlowJSONAssetResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.UpdateFlowJSONAssetResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateFlowJSONAssetResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String flowId;
public String getFlowId() {
return this.flowId;
}
public void setFlowId(String flowId) {
this.flowId = flowId;
}
}
@Override
public UpdateFlowJSONAssetResponse getInstance(UnmarshallerContext context) {
return UpdateFlowJSONAssetResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdatePhoneEncryptionPublicKeyRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdatePhoneEncryptionPublicKeyRequest extends RpcAcsRequest<UpdatePhoneEncryptionPublicKeyResponse> {
private String phoneNumber;
private String encryptionPublicKey;
private String custSpaceId;
public UpdatePhoneEncryptionPublicKeyRequest() {
super("cams", "2020-06-06", "UpdatePhoneEncryptionPublicKey", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putBodyParameter("PhoneNumber", phoneNumber);
}
}
public String getEncryptionPublicKey() {
return this.encryptionPublicKey;
}
public void setEncryptionPublicKey(String encryptionPublicKey) {
this.encryptionPublicKey = encryptionPublicKey;
if(encryptionPublicKey != null){
putBodyParameter("EncryptionPublicKey", encryptionPublicKey);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<UpdatePhoneEncryptionPublicKeyResponse> getResponseClass() {
return UpdatePhoneEncryptionPublicKeyResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdatePhoneEncryptionPublicKeyResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.UpdatePhoneEncryptionPublicKeyResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdatePhoneEncryptionPublicKeyResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public UpdatePhoneEncryptionPublicKeyResponse getInstance(UnmarshallerContext context) {
return UpdatePhoneEncryptionPublicKeyResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdatePhoneMessageQrdlRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdatePhoneMessageQrdlRequest extends RpcAcsRequest<UpdatePhoneMessageQrdlResponse> {
private String phoneNumber;
private String prefilledMessage;
private String generateQrImage;
private String qrdlCode;
private String custSpaceId;
public UpdatePhoneMessageQrdlRequest() {
super("cams", "2020-06-06", "UpdatePhoneMessageQrdl", "cams");
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 getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putBodyParameter("PhoneNumber", phoneNumber);
}
}
public String getPrefilledMessage() {
return this.prefilledMessage;
}
public void setPrefilledMessage(String prefilledMessage) {
this.prefilledMessage = prefilledMessage;
if(prefilledMessage != null){
putBodyParameter("PrefilledMessage", prefilledMessage);
}
}
public String getGenerateQrImage() {
return this.generateQrImage;
}
public void setGenerateQrImage(String generateQrImage) {
this.generateQrImage = generateQrImage;
if(generateQrImage != null){
putBodyParameter("GenerateQrImage", generateQrImage);
}
}
public String getQrdlCode() {
return this.qrdlCode;
}
public void setQrdlCode(String qrdlCode) {
this.qrdlCode = qrdlCode;
if(qrdlCode != null){
putBodyParameter("QrdlCode", qrdlCode);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putBodyParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<UpdatePhoneMessageQrdlResponse> getResponseClass() {
return UpdatePhoneMessageQrdlResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdatePhoneMessageQrdlResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.UpdatePhoneMessageQrdlResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdatePhoneMessageQrdlResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String phoneNumber;
private String qrdlCode;
private String generateQrImage;
private String prefilledMessage;
private String deepLinkUrl;
private String qrImageUrl;
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public String getQrdlCode() {
return this.qrdlCode;
}
public void setQrdlCode(String qrdlCode) {
this.qrdlCode = qrdlCode;
}
public String getGenerateQrImage() {
return this.generateQrImage;
}
public void setGenerateQrImage(String generateQrImage) {
this.generateQrImage = generateQrImage;
}
public String getPrefilledMessage() {
return this.prefilledMessage;
}
public void setPrefilledMessage(String prefilledMessage) {
this.prefilledMessage = prefilledMessage;
}
public String getDeepLinkUrl() {
return this.deepLinkUrl;
}
public void setDeepLinkUrl(String deepLinkUrl) {
this.deepLinkUrl = deepLinkUrl;
}
public String getQrImageUrl() {
return this.qrImageUrl;
}
public void setQrImageUrl(String qrImageUrl) {
this.qrImageUrl = qrImageUrl;
}
}
@Override
public UpdatePhoneMessageQrdlResponse getInstance(UnmarshallerContext context) {
return UpdatePhoneMessageQrdlResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdatePhoneWebhookRequest.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.cams.model.v20200606;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cams.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdatePhoneWebhookRequest extends RpcAcsRequest<UpdatePhoneWebhookResponse> {
private String upCallbackUrl;
private String phoneNumber;
private String queueFlag;
private String httpFlag;
private String statusCallbackUrl;
private String custSpaceId;
public UpdatePhoneWebhookRequest() {
super("cams", "2020-06-06", "UpdatePhoneWebhook", "cams");
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 getUpCallbackUrl() {
return this.upCallbackUrl;
}
public void setUpCallbackUrl(String upCallbackUrl) {
this.upCallbackUrl = upCallbackUrl;
if(upCallbackUrl != null){
putQueryParameter("UpCallbackUrl", upCallbackUrl);
}
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putQueryParameter("PhoneNumber", phoneNumber);
}
}
public String getQueueFlag() {
return this.queueFlag;
}
public void setQueueFlag(String queueFlag) {
this.queueFlag = queueFlag;
if(queueFlag != null){
putQueryParameter("QueueFlag", queueFlag);
}
}
public String getHttpFlag() {
return this.httpFlag;
}
public void setHttpFlag(String httpFlag) {
this.httpFlag = httpFlag;
if(httpFlag != null){
putQueryParameter("HttpFlag", httpFlag);
}
}
public String getStatusCallbackUrl() {
return this.statusCallbackUrl;
}
public void setStatusCallbackUrl(String statusCallbackUrl) {
this.statusCallbackUrl = statusCallbackUrl;
if(statusCallbackUrl != null){
putQueryParameter("StatusCallbackUrl", statusCallbackUrl);
}
}
public String getCustSpaceId() {
return this.custSpaceId;
}
public void setCustSpaceId(String custSpaceId) {
this.custSpaceId = custSpaceId;
if(custSpaceId != null){
putQueryParameter("CustSpaceId", custSpaceId);
}
}
@Override
public Class<UpdatePhoneWebhookResponse> getResponseClass() {
return UpdatePhoneWebhookResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/UpdatePhoneWebhookResponse.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.cams.model.v20200606;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cams.transform.v20200606.UpdatePhoneWebhookResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdatePhoneWebhookResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private String accessDeniedDetail;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public void setAccessDeniedDetail(String accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
}
@Override
public UpdatePhoneWebhookResponse getInstance(UnmarshallerContext context) {
return UpdatePhoneWebhookResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/AddChatappPhoneNumberResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.AddChatappPhoneNumberResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AddChatappPhoneNumberResponseUnmarshaller {
public static AddChatappPhoneNumberResponse unmarshall(AddChatappPhoneNumberResponse addChatappPhoneNumberResponse, UnmarshallerContext _ctx) {
addChatappPhoneNumberResponse.setRequestId(_ctx.stringValue("AddChatappPhoneNumberResponse.RequestId"));
addChatappPhoneNumberResponse.setAccessDeniedDetail(_ctx.stringValue("AddChatappPhoneNumberResponse.AccessDeniedDetail"));
addChatappPhoneNumberResponse.setMessage(_ctx.stringValue("AddChatappPhoneNumberResponse.Message"));
addChatappPhoneNumberResponse.setCode(_ctx.stringValue("AddChatappPhoneNumberResponse.Code"));
addChatappPhoneNumberResponse.setSuccess(_ctx.booleanValue("AddChatappPhoneNumberResponse.Success"));
return addChatappPhoneNumberResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/BeeBotAssociateResponseUnmarshaller.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.cams.transform.v20200606;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cams.model.v20200606.BeeBotAssociateResponse;
import com.aliyuncs.cams.model.v20200606.BeeBotAssociateResponse.Data;
import com.aliyuncs.cams.model.v20200606.BeeBotAssociateResponse.Data.联想的列表;
import com.aliyuncs.transform.UnmarshallerContext;
public class BeeBotAssociateResponseUnmarshaller {
public static BeeBotAssociateResponse unmarshall(BeeBotAssociateResponse beeBotAssociateResponse, UnmarshallerContext _ctx) {
beeBotAssociateResponse.setRequestId(_ctx.stringValue("BeeBotAssociateResponse.RequestId"));
beeBotAssociateResponse.setCode(_ctx.stringValue("BeeBotAssociateResponse.Code"));
beeBotAssociateResponse.setMessage(_ctx.stringValue("BeeBotAssociateResponse.Message"));
beeBotAssociateResponse.setAccessDeniedDetail(_ctx.stringValue("BeeBotAssociateResponse.AccessDeniedDetail"));
Data data = new Data();
data.setMessageId(_ctx.stringValue("BeeBotAssociateResponse.Data.MessageId"));
data.setSessionId(_ctx.stringValue("BeeBotAssociateResponse.Data.SessionId"));
List<联想的列表> associate = new ArrayList<联想的列表>();
for (int i = 0; i < _ctx.lengthValue("BeeBotAssociateResponse.Data.Associate.Length"); i++) {
联想的列表 联想的列表 = new 联想的列表();
联想的列表.setMeta(_ctx.stringValue("BeeBotAssociateResponse.Data.Associate["+ i +"].Meta"));
联想的列表.setTitle(_ctx.stringValue("BeeBotAssociateResponse.Data.Associate["+ i +"].Title"));
associate.add(联想的列表);
}
data.setAssociate(associate);
beeBotAssociateResponse.setData(data);
return beeBotAssociateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/BeeBotChatResponseUnmarshaller.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.cams.transform.v20200606;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cams.model.v20200606.BeeBotChatResponse;
import com.aliyuncs.cams.model.v20200606.BeeBotChatResponse.Data;
import com.aliyuncs.cams.model.v20200606.BeeBotChatResponse.Data.消息的列表;
import com.aliyuncs.cams.model.v20200606.BeeBotChatResponse.Data.消息的列表.Knowledge;
import com.aliyuncs.cams.model.v20200606.BeeBotChatResponse.Data.消息的列表.Knowledge.RelatedKnowledgesItem;
import com.aliyuncs.cams.model.v20200606.BeeBotChatResponse.Data.消息的列表.Recommend;
import com.aliyuncs.cams.model.v20200606.BeeBotChatResponse.Data.消息的列表.Text;
import com.aliyuncs.cams.model.v20200606.BeeBotChatResponse.Data.消息的列表.Text.SlotsItem;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class BeeBotChatResponseUnmarshaller {
public static BeeBotChatResponse unmarshall(BeeBotChatResponse beeBotChatResponse, UnmarshallerContext _ctx) {
beeBotChatResponse.setRequestId(_ctx.stringValue("BeeBotChatResponse.RequestId"));
beeBotChatResponse.setCode(_ctx.stringValue("BeeBotChatResponse.Code"));
beeBotChatResponse.setMessage(_ctx.stringValue("BeeBotChatResponse.Message"));
beeBotChatResponse.setAccessDeniedDetail(_ctx.stringValue("BeeBotChatResponse.AccessDeniedDetail"));
Data data = new Data();
data.setMessageId(_ctx.stringValue("BeeBotChatResponse.Data.MessageId"));
data.setSessionId(_ctx.stringValue("BeeBotChatResponse.Data.SessionId"));
List<消息的列表> messages = new ArrayList<消息的列表>();
for (int i = 0; i < _ctx.lengthValue("BeeBotChatResponse.Data.Messages.Length"); i++) {
消息的列表 消息的列表 = new 消息的列表();
消息的列表.setAnswerType(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].AnswerType"));
消息的列表.setAnswerSource(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].AnswerSource"));
Knowledge knowledge = new Knowledge();
knowledge.setHitStatement(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Knowledge.HitStatement"));
knowledge.setSummary(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Knowledge.Summary"));
knowledge.setCategory(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Knowledge.Category"));
knowledge.setTitle(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Knowledge.Title"));
knowledge.setContent(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Knowledge.Content"));
knowledge.setAnswerSource(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Knowledge.AnswerSource"));
knowledge.setId(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Knowledge.Id"));
knowledge.setContentType(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Knowledge.ContentType"));
List<RelatedKnowledgesItem> relatedKnowledges = new ArrayList<RelatedKnowledgesItem>();
for (int j = 0; j < _ctx.lengthValue("BeeBotChatResponse.Data.Messages["+ i +"].Knowledge.RelatedKnowledges.Length"); j++) {
RelatedKnowledgesItem relatedKnowledgesItem = new RelatedKnowledgesItem();
relatedKnowledgesItem.setKnowledgeId(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Knowledge.RelatedKnowledges["+ j +"].KnowledgeId"));
relatedKnowledgesItem.setTitle(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Knowledge.RelatedKnowledges["+ j +"].Title"));
relatedKnowledges.add(relatedKnowledgesItem);
}
knowledge.setRelatedKnowledges(relatedKnowledges);
消息的列表.setKnowledge(knowledge);
Text text = new Text();
text.setHitStatement(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.HitStatement"));
text.setDialogName(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.DialogName"));
text.setAnswerSource(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.AnswerSource"));
text.setNodeName(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.NodeName"));
text.setIntentName(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.IntentName"));
text.setMetaData(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.MetaData"));
text.setExternalFlags(_ctx.mapValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.ExternalFlags"));
text.setExt(_ctx.mapValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.Ext"));
text.setUserDefinedChatTitle(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.UserDefinedChatTitle"));
text.setContent(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.Content"));
text.setNodeId(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.NodeId"));
text.setContentType(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.ContentType"));
List<SlotsItem> slots = new ArrayList<SlotsItem>();
for (int j = 0; j < _ctx.lengthValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.Slots.Length"); j++) {
SlotsItem slotsItem = new SlotsItem();
slotsItem.setValue(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.Slots["+ j +"].Value"));
slotsItem.setOrigin(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.Slots["+ j +"].Origin"));
slotsItem.setName(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.Slots["+ j +"].Name"));
slotsItem.setHit(_ctx.booleanValue("BeeBotChatResponse.Data.Messages["+ i +"].Text.Slots["+ j +"].Hit"));
slots.add(slotsItem);
}
text.setSlots(slots);
消息的列表.setText(text);
List<Recommend> recommends = new ArrayList<Recommend>();
for (int j = 0; j < _ctx.lengthValue("BeeBotChatResponse.Data.Messages["+ i +"].Recommends.Length"); j++) {
Recommend recommend = new Recommend();
recommend.setKnowledgeId(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Recommends["+ j +"].KnowledgeId"));
recommend.setTitle(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Recommends["+ j +"].Title"));
recommend.setAnswerSource(_ctx.stringValue("BeeBotChatResponse.Data.Messages["+ i +"].Recommends["+ j +"].AnswerSource"));
recommends.add(recommend);
}
消息的列表.setRecommends(recommends);
messages.add(消息的列表);
}
data.setMessages(messages);
beeBotChatResponse.setData(data);
return beeBotChatResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/ChatappBindWabaResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.ChatappBindWabaResponse;
import com.aliyuncs.cams.model.v20200606.ChatappBindWabaResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class ChatappBindWabaResponseUnmarshaller {
public static ChatappBindWabaResponse unmarshall(ChatappBindWabaResponse chatappBindWabaResponse, UnmarshallerContext _ctx) {
chatappBindWabaResponse.setRequestId(_ctx.stringValue("ChatappBindWabaResponse.RequestId"));
chatappBindWabaResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappBindWabaResponse.AccessDeniedDetail"));
chatappBindWabaResponse.setMessage(_ctx.stringValue("ChatappBindWabaResponse.Message"));
chatappBindWabaResponse.setCode(_ctx.stringValue("ChatappBindWabaResponse.Code"));
chatappBindWabaResponse.setSuccess(_ctx.booleanValue("ChatappBindWabaResponse.Success"));
Data data = new Data();
data.setCustSpaceId(_ctx.stringValue("ChatappBindWabaResponse.Data.CustSpaceId"));
data.setWabaId(_ctx.stringValue("ChatappBindWabaResponse.Data.WabaId"));
chatappBindWabaResponse.setData(data);
return chatappBindWabaResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/ChatappEmbedSignUpResponseUnmarshaller.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.cams.transform.v20200606;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cams.model.v20200606.ChatappEmbedSignUpResponse;
import com.aliyuncs.cams.model.v20200606.ChatappEmbedSignUpResponse.Waba列表;
import com.aliyuncs.transform.UnmarshallerContext;
public class ChatappEmbedSignUpResponseUnmarshaller {
public static ChatappEmbedSignUpResponse unmarshall(ChatappEmbedSignUpResponse chatappEmbedSignUpResponse, UnmarshallerContext _ctx) {
chatappEmbedSignUpResponse.setRequestId(_ctx.stringValue("ChatappEmbedSignUpResponse.RequestId"));
chatappEmbedSignUpResponse.setCode(_ctx.stringValue("ChatappEmbedSignUpResponse.Code"));
chatappEmbedSignUpResponse.setMessage(_ctx.stringValue("ChatappEmbedSignUpResponse.Message"));
chatappEmbedSignUpResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappEmbedSignUpResponse.AccessDeniedDetail"));
List<Waba列表> wabas = new ArrayList<Waba列表>();
for (int i = 0; i < _ctx.lengthValue("ChatappEmbedSignUpResponse.Wabas.Length"); i++) {
Waba列表 waba列表 = new Waba列表();
waba列表.setId(_ctx.stringValue("ChatappEmbedSignUpResponse.Wabas["+ i +"].Id"));
waba列表.setName(_ctx.stringValue("ChatappEmbedSignUpResponse.Wabas["+ i +"].Name"));
waba列表.setCurrency(_ctx.stringValue("ChatappEmbedSignUpResponse.Wabas["+ i +"].Currency"));
waba列表.setAccountReviewStatus(_ctx.stringValue("ChatappEmbedSignUpResponse.Wabas["+ i +"].AccountReviewStatus"));
waba列表.setMessageTemplateNamespace(_ctx.stringValue("ChatappEmbedSignUpResponse.Wabas["+ i +"].MessageTemplateNamespace"));
wabas.add(waba列表);
}
chatappEmbedSignUpResponse.setWabas(wabas);
return chatappEmbedSignUpResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/ChatappMigrationRegisterResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.ChatappMigrationRegisterResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ChatappMigrationRegisterResponseUnmarshaller {
public static ChatappMigrationRegisterResponse unmarshall(ChatappMigrationRegisterResponse chatappMigrationRegisterResponse, UnmarshallerContext _ctx) {
chatappMigrationRegisterResponse.setRequestId(_ctx.stringValue("ChatappMigrationRegisterResponse.RequestId"));
chatappMigrationRegisterResponse.setCode(_ctx.stringValue("ChatappMigrationRegisterResponse.Code"));
chatappMigrationRegisterResponse.setMessage(_ctx.stringValue("ChatappMigrationRegisterResponse.Message"));
chatappMigrationRegisterResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappMigrationRegisterResponse.AccessDeniedDetail"));
return chatappMigrationRegisterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/ChatappMigrationVerifiedResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.ChatappMigrationVerifiedResponse;
import com.aliyuncs.cams.model.v20200606.ChatappMigrationVerifiedResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class ChatappMigrationVerifiedResponseUnmarshaller {
public static ChatappMigrationVerifiedResponse unmarshall(ChatappMigrationVerifiedResponse chatappMigrationVerifiedResponse, UnmarshallerContext _ctx) {
chatappMigrationVerifiedResponse.setRequestId(_ctx.stringValue("ChatappMigrationVerifiedResponse.RequestId"));
chatappMigrationVerifiedResponse.setCode(_ctx.stringValue("ChatappMigrationVerifiedResponse.Code"));
chatappMigrationVerifiedResponse.setMessage(_ctx.stringValue("ChatappMigrationVerifiedResponse.Message"));
chatappMigrationVerifiedResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappMigrationVerifiedResponse.AccessDeniedDetail"));
Data data = new Data();
data.setPhoneNumber(_ctx.stringValue("ChatappMigrationVerifiedResponse.Data.PhoneNumber"));
data.setId(_ctx.stringValue("ChatappMigrationVerifiedResponse.Data.Id"));
chatappMigrationVerifiedResponse.setData(data);
return chatappMigrationVerifiedResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/ChatappPhoneNumberDeregisterResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.ChatappPhoneNumberDeregisterResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ChatappPhoneNumberDeregisterResponseUnmarshaller {
public static ChatappPhoneNumberDeregisterResponse unmarshall(ChatappPhoneNumberDeregisterResponse chatappPhoneNumberDeregisterResponse, UnmarshallerContext _ctx) {
chatappPhoneNumberDeregisterResponse.setRequestId(_ctx.stringValue("ChatappPhoneNumberDeregisterResponse.RequestId"));
chatappPhoneNumberDeregisterResponse.setCode(_ctx.stringValue("ChatappPhoneNumberDeregisterResponse.Code"));
chatappPhoneNumberDeregisterResponse.setMessage(_ctx.stringValue("ChatappPhoneNumberDeregisterResponse.Message"));
chatappPhoneNumberDeregisterResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappPhoneNumberDeregisterResponse.AccessDeniedDetail"));
return chatappPhoneNumberDeregisterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/ChatappPhoneNumberRegisterResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.ChatappPhoneNumberRegisterResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ChatappPhoneNumberRegisterResponseUnmarshaller {
public static ChatappPhoneNumberRegisterResponse unmarshall(ChatappPhoneNumberRegisterResponse chatappPhoneNumberRegisterResponse, UnmarshallerContext _ctx) {
chatappPhoneNumberRegisterResponse.setRequestId(_ctx.stringValue("ChatappPhoneNumberRegisterResponse.RequestId"));
chatappPhoneNumberRegisterResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappPhoneNumberRegisterResponse.AccessDeniedDetail"));
chatappPhoneNumberRegisterResponse.setMessage(_ctx.stringValue("ChatappPhoneNumberRegisterResponse.Message"));
chatappPhoneNumberRegisterResponse.setCode(_ctx.stringValue("ChatappPhoneNumberRegisterResponse.Code"));
chatappPhoneNumberRegisterResponse.setSuccess(_ctx.booleanValue("ChatappPhoneNumberRegisterResponse.Success"));
return chatappPhoneNumberRegisterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/ChatappSyncPhoneNumberResponseUnmarshaller.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.cams.transform.v20200606;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cams.model.v20200606.ChatappSyncPhoneNumberResponse;
import com.aliyuncs.cams.model.v20200606.ChatappSyncPhoneNumberResponse.Content;
import com.aliyuncs.transform.UnmarshallerContext;
public class ChatappSyncPhoneNumberResponseUnmarshaller {
public static ChatappSyncPhoneNumberResponse unmarshall(ChatappSyncPhoneNumberResponse chatappSyncPhoneNumberResponse, UnmarshallerContext _ctx) {
chatappSyncPhoneNumberResponse.setRequestId(_ctx.stringValue("ChatappSyncPhoneNumberResponse.RequestId"));
chatappSyncPhoneNumberResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappSyncPhoneNumberResponse.AccessDeniedDetail"));
chatappSyncPhoneNumberResponse.setMessage(_ctx.stringValue("ChatappSyncPhoneNumberResponse.Message"));
chatappSyncPhoneNumberResponse.setCode(_ctx.stringValue("ChatappSyncPhoneNumberResponse.Code"));
chatappSyncPhoneNumberResponse.setSuccess(_ctx.booleanValue("ChatappSyncPhoneNumberResponse.Success"));
List<Content> phoneNumbers = new ArrayList<Content>();
for (int i = 0; i < _ctx.lengthValue("ChatappSyncPhoneNumberResponse.PhoneNumbers.Length"); i++) {
Content content = new Content();
content.setVerifiedName(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].VerifiedName"));
content.setStatus(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].Status"));
content.setQualityRating(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].QualityRating"));
content.setCodeVerificationStatus(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].CodeVerificationStatus"));
content.setNewNameStatus(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].NewNameStatus"));
content.setPhoneNumber(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].PhoneNumber"));
content.setStatusQueue(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].StatusQueue"));
content.setUpQueue(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].UpQueue"));
content.setNameStatus(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].NameStatus"));
content.setUpCallbackUrl(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].UpCallbackUrl"));
content.setMessagingLimitTier(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].MessagingLimitTier"));
content.setStatusCallbackUrl(_ctx.stringValue("ChatappSyncPhoneNumberResponse.PhoneNumbers["+ i +"].StatusCallbackUrl"));
phoneNumbers.add(content);
}
chatappSyncPhoneNumberResponse.setPhoneNumbers(phoneNumbers);
return chatappSyncPhoneNumberResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/ChatappVerifyAndRegisterResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.ChatappVerifyAndRegisterResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ChatappVerifyAndRegisterResponseUnmarshaller {
public static ChatappVerifyAndRegisterResponse unmarshall(ChatappVerifyAndRegisterResponse chatappVerifyAndRegisterResponse, UnmarshallerContext _ctx) {
chatappVerifyAndRegisterResponse.setRequestId(_ctx.stringValue("ChatappVerifyAndRegisterResponse.RequestId"));
chatappVerifyAndRegisterResponse.setAccessDeniedDetail(_ctx.stringValue("ChatappVerifyAndRegisterResponse.AccessDeniedDetail"));
chatappVerifyAndRegisterResponse.setMessage(_ctx.stringValue("ChatappVerifyAndRegisterResponse.Message"));
chatappVerifyAndRegisterResponse.setCode(_ctx.stringValue("ChatappVerifyAndRegisterResponse.Code"));
chatappVerifyAndRegisterResponse.setSuccess(_ctx.booleanValue("ChatappVerifyAndRegisterResponse.Success"));
return chatappVerifyAndRegisterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/CreateChatappMigrationInitiateResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.CreateChatappMigrationInitiateResponse;
import com.aliyuncs.cams.model.v20200606.CreateChatappMigrationInitiateResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateChatappMigrationInitiateResponseUnmarshaller {
public static CreateChatappMigrationInitiateResponse unmarshall(CreateChatappMigrationInitiateResponse createChatappMigrationInitiateResponse, UnmarshallerContext _ctx) {
createChatappMigrationInitiateResponse.setRequestId(_ctx.stringValue("CreateChatappMigrationInitiateResponse.RequestId"));
createChatappMigrationInitiateResponse.setCode(_ctx.stringValue("CreateChatappMigrationInitiateResponse.Code"));
createChatappMigrationInitiateResponse.setMessage(_ctx.stringValue("CreateChatappMigrationInitiateResponse.Message"));
createChatappMigrationInitiateResponse.setAccessDeniedDetail(_ctx.stringValue("CreateChatappMigrationInitiateResponse.AccessDeniedDetail"));
Data data = new Data();
data.setPhoneNumber(_ctx.stringValue("CreateChatappMigrationInitiateResponse.Data.PhoneNumber"));
data.setId(_ctx.stringValue("CreateChatappMigrationInitiateResponse.Data.Id"));
data.setStatus(_ctx.stringValue("CreateChatappMigrationInitiateResponse.Data.Status"));
createChatappMigrationInitiateResponse.setData(data);
return createChatappMigrationInitiateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/CreateChatappTemplateResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.CreateChatappTemplateResponse;
import com.aliyuncs.cams.model.v20200606.CreateChatappTemplateResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateChatappTemplateResponseUnmarshaller {
public static CreateChatappTemplateResponse unmarshall(CreateChatappTemplateResponse createChatappTemplateResponse, UnmarshallerContext _ctx) {
createChatappTemplateResponse.setRequestId(_ctx.stringValue("CreateChatappTemplateResponse.RequestId"));
createChatappTemplateResponse.setCode(_ctx.stringValue("CreateChatappTemplateResponse.Code"));
createChatappTemplateResponse.setMessage(_ctx.stringValue("CreateChatappTemplateResponse.Message"));
createChatappTemplateResponse.setAccessDeniedDetail(_ctx.stringValue("CreateChatappTemplateResponse.AccessDeniedDetail"));
Data data = new Data();
data.setTemplateCode(_ctx.stringValue("CreateChatappTemplateResponse.Data.TemplateCode"));
data.setTemplateName(_ctx.stringValue("CreateChatappTemplateResponse.Data.TemplateName"));
createChatappTemplateResponse.setData(data);
return createChatappTemplateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/CreateFlowResponseUnmarshaller.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.cams.transform.v20200606;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cams.model.v20200606.CreateFlowResponse;
import com.aliyuncs.cams.model.v20200606.CreateFlowResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateFlowResponseUnmarshaller {
public static CreateFlowResponse unmarshall(CreateFlowResponse createFlowResponse, UnmarshallerContext _ctx) {
createFlowResponse.setRequestId(_ctx.stringValue("CreateFlowResponse.RequestId"));
createFlowResponse.setCode(_ctx.stringValue("CreateFlowResponse.Code"));
createFlowResponse.setMessage(_ctx.stringValue("CreateFlowResponse.Message"));
Data data = new Data();
data.setFlowId(_ctx.stringValue("CreateFlowResponse.Data.FlowId"));
data.setFlowName(_ctx.stringValue("CreateFlowResponse.Data.FlowName"));
List<String> categories = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("CreateFlowResponse.Data.Categories.Length"); i++) {
categories.add(_ctx.stringValue("CreateFlowResponse.Data.Categories["+ i +"]"));
}
data.setCategories(categories);
createFlowResponse.setData(data);
return createFlowResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/CreatePhoneMessageQrdlResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.CreatePhoneMessageQrdlResponse;
import com.aliyuncs.cams.model.v20200606.CreatePhoneMessageQrdlResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreatePhoneMessageQrdlResponseUnmarshaller {
public static CreatePhoneMessageQrdlResponse unmarshall(CreatePhoneMessageQrdlResponse createPhoneMessageQrdlResponse, UnmarshallerContext _ctx) {
createPhoneMessageQrdlResponse.setRequestId(_ctx.stringValue("CreatePhoneMessageQrdlResponse.RequestId"));
createPhoneMessageQrdlResponse.setCode(_ctx.stringValue("CreatePhoneMessageQrdlResponse.Code"));
createPhoneMessageQrdlResponse.setMessage(_ctx.stringValue("CreatePhoneMessageQrdlResponse.Message"));
Data data = new Data();
data.setPhoneNumber(_ctx.stringValue("CreatePhoneMessageQrdlResponse.Data.PhoneNumber"));
data.setQrdlCode(_ctx.stringValue("CreatePhoneMessageQrdlResponse.Data.QrdlCode"));
data.setGenerateQrImage(_ctx.stringValue("CreatePhoneMessageQrdlResponse.Data.GenerateQrImage"));
data.setPrefilledMessage(_ctx.stringValue("CreatePhoneMessageQrdlResponse.Data.PrefilledMessage"));
data.setDeepLinkUrl(_ctx.stringValue("CreatePhoneMessageQrdlResponse.Data.DeepLinkUrl"));
data.setQrImageUrl(_ctx.stringValue("CreatePhoneMessageQrdlResponse.Data.QrImageUrl"));
createPhoneMessageQrdlResponse.setData(data);
return createPhoneMessageQrdlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/DeleteChatappTemplateResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.DeleteChatappTemplateResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteChatappTemplateResponseUnmarshaller {
public static DeleteChatappTemplateResponse unmarshall(DeleteChatappTemplateResponse deleteChatappTemplateResponse, UnmarshallerContext _ctx) {
deleteChatappTemplateResponse.setRequestId(_ctx.stringValue("DeleteChatappTemplateResponse.RequestId"));
deleteChatappTemplateResponse.setAccessDeniedDetail(_ctx.stringValue("DeleteChatappTemplateResponse.AccessDeniedDetail"));
deleteChatappTemplateResponse.setMessage(_ctx.stringValue("DeleteChatappTemplateResponse.Message"));
deleteChatappTemplateResponse.setCode(_ctx.stringValue("DeleteChatappTemplateResponse.Code"));
deleteChatappTemplateResponse.setSuccess(_ctx.booleanValue("DeleteChatappTemplateResponse.Success"));
return deleteChatappTemplateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/DeleteFlowResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.DeleteFlowResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteFlowResponseUnmarshaller {
public static DeleteFlowResponse unmarshall(DeleteFlowResponse deleteFlowResponse, UnmarshallerContext _ctx) {
deleteFlowResponse.setRequestId(_ctx.stringValue("DeleteFlowResponse.RequestId"));
deleteFlowResponse.setCode(_ctx.stringValue("DeleteFlowResponse.Code"));
deleteFlowResponse.setMessage(_ctx.stringValue("DeleteFlowResponse.Message"));
return deleteFlowResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/DeletePhoneMessageQrdlResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.DeletePhoneMessageQrdlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeletePhoneMessageQrdlResponseUnmarshaller {
public static DeletePhoneMessageQrdlResponse unmarshall(DeletePhoneMessageQrdlResponse deletePhoneMessageQrdlResponse, UnmarshallerContext _ctx) {
deletePhoneMessageQrdlResponse.setRequestId(_ctx.stringValue("DeletePhoneMessageQrdlResponse.RequestId"));
deletePhoneMessageQrdlResponse.setCode(_ctx.stringValue("DeletePhoneMessageQrdlResponse.Code"));
deletePhoneMessageQrdlResponse.setMessage(_ctx.stringValue("DeletePhoneMessageQrdlResponse.Message"));
return deletePhoneMessageQrdlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/DeprecateFlowResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.DeprecateFlowResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeprecateFlowResponseUnmarshaller {
public static DeprecateFlowResponse unmarshall(DeprecateFlowResponse deprecateFlowResponse, UnmarshallerContext _ctx) {
deprecateFlowResponse.setRequestId(_ctx.stringValue("DeprecateFlowResponse.RequestId"));
deprecateFlowResponse.setCode(_ctx.stringValue("DeprecateFlowResponse.Code"));
deprecateFlowResponse.setMessage(_ctx.stringValue("DeprecateFlowResponse.Message"));
return deprecateFlowResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/EnableWhatsappROIMetricResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.EnableWhatsappROIMetricResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class EnableWhatsappROIMetricResponseUnmarshaller {
public static EnableWhatsappROIMetricResponse unmarshall(EnableWhatsappROIMetricResponse enableWhatsappROIMetricResponse, UnmarshallerContext _ctx) {
enableWhatsappROIMetricResponse.setRequestId(_ctx.stringValue("EnableWhatsappROIMetricResponse.RequestId"));
enableWhatsappROIMetricResponse.setCode(_ctx.stringValue("EnableWhatsappROIMetricResponse.Code"));
enableWhatsappROIMetricResponse.setMessage(_ctx.stringValue("EnableWhatsappROIMetricResponse.Message"));
enableWhatsappROIMetricResponse.setAccessDeniedDetail(_ctx.stringValue("EnableWhatsappROIMetricResponse.AccessDeniedDetail"));
return enableWhatsappROIMetricResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/GetChatappPhoneNumberMetricResponseUnmarshaller.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.cams.transform.v20200606;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cams.model.v20200606.GetChatappPhoneNumberMetricResponse;
import com.aliyuncs.cams.model.v20200606.GetChatappPhoneNumberMetricResponse.返回数据;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetChatappPhoneNumberMetricResponseUnmarshaller {
public static GetChatappPhoneNumberMetricResponse unmarshall(GetChatappPhoneNumberMetricResponse getChatappPhoneNumberMetricResponse, UnmarshallerContext _ctx) {
getChatappPhoneNumberMetricResponse.setRequestId(_ctx.stringValue("GetChatappPhoneNumberMetricResponse.RequestId"));
getChatappPhoneNumberMetricResponse.setCode(_ctx.stringValue("GetChatappPhoneNumberMetricResponse.Code"));
getChatappPhoneNumberMetricResponse.setMessage(_ctx.stringValue("GetChatappPhoneNumberMetricResponse.Message"));
getChatappPhoneNumberMetricResponse.setAccessDeniedDetail(_ctx.stringValue("GetChatappPhoneNumberMetricResponse.AccessDeniedDetail"));
List<返回数据> data = new ArrayList<返回数据>();
for (int i = 0; i < _ctx.lengthValue("GetChatappPhoneNumberMetricResponse.Data.Length"); i++) {
返回数据 返回数据 = new 返回数据();
返回数据.setSentCount(_ctx.integerValue("GetChatappPhoneNumberMetricResponse.Data["+ i +"].SentCount"));
返回数据.setDeliveredCount(_ctx.integerValue("GetChatappPhoneNumberMetricResponse.Data["+ i +"].DeliveredCount"));
返回数据.setStart(_ctx.longValue("GetChatappPhoneNumberMetricResponse.Data["+ i +"].Start"));
返回数据.setEnd(_ctx.longValue("GetChatappPhoneNumberMetricResponse.Data["+ i +"].End"));
返回数据.setPhoneNumber(_ctx.stringValue("GetChatappPhoneNumberMetricResponse.Data["+ i +"].PhoneNumber"));
返回数据.setGranularity(_ctx.stringValue("GetChatappPhoneNumberMetricResponse.Data["+ i +"].Granularity"));
data.add(返回数据);
}
getChatappPhoneNumberMetricResponse.setData(data);
return getChatappPhoneNumberMetricResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/GetChatappTemplateDetailResponseUnmarshaller.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.cams.transform.v20200606;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cams.model.v20200606.GetChatappTemplateDetailResponse;
import com.aliyuncs.cams.model.v20200606.GetChatappTemplateDetailResponse.Data;
import com.aliyuncs.cams.model.v20200606.GetChatappTemplateDetailResponse.Data.Component;
import com.aliyuncs.cams.model.v20200606.GetChatappTemplateDetailResponse.Data.Component.Button;
import com.aliyuncs.cams.model.v20200606.GetChatappTemplateDetailResponse.Data.Component.Button.ExtendAttrs;
import com.aliyuncs.cams.model.v20200606.GetChatappTemplateDetailResponse.Data.Component.Button.SupportedAppsItem;
import com.aliyuncs.cams.model.v20200606.GetChatappTemplateDetailResponse.Data.Component.轮播卡片列表;
import com.aliyuncs.cams.model.v20200606.GetChatappTemplateDetailResponse.Data.Component.轮播卡片列表.卡片控件列表;
import com.aliyuncs.cams.model.v20200606.GetChatappTemplateDetailResponse.Data.Component.轮播卡片列表.卡片控件列表.卡片按钮列表;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetChatappTemplateDetailResponseUnmarshaller {
public static GetChatappTemplateDetailResponse unmarshall(GetChatappTemplateDetailResponse getChatappTemplateDetailResponse, UnmarshallerContext _ctx) {
getChatappTemplateDetailResponse.setRequestId(_ctx.stringValue("GetChatappTemplateDetailResponse.RequestId"));
getChatappTemplateDetailResponse.setCode(_ctx.stringValue("GetChatappTemplateDetailResponse.Code"));
getChatappTemplateDetailResponse.setMessage(_ctx.stringValue("GetChatappTemplateDetailResponse.Message"));
getChatappTemplateDetailResponse.setAccessDeniedDetail(_ctx.stringValue("GetChatappTemplateDetailResponse.AccessDeniedDetail"));
Data data = new Data();
data.setCategory(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Category"));
data.setTemplateCode(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.TemplateCode"));
data.setName(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Name"));
data.setLanguage(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Language"));
data.setExample(_ctx.mapValue("GetChatappTemplateDetailResponse.Data.Example"));
data.setAuditStatus(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.AuditStatus"));
data.setTemplateType(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.TemplateType"));
data.setQualityScore(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.QualityScore"));
data.setMessageSendTtlSeconds(_ctx.integerValue("GetChatappTemplateDetailResponse.Data.MessageSendTtlSeconds"));
data.setReason(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Reason"));
List<Component> components = new ArrayList<Component>();
for (int i = 0; i < _ctx.lengthValue("GetChatappTemplateDetailResponse.Data.Components.Length"); i++) {
Component component = new Component();
component.setType(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Type"));
component.setUrl(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Url"));
component.setText(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Text"));
component.setCaption(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Caption"));
component.setFileName(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].FileName"));
component.setFormat(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Format"));
component.setThumbUrl(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].ThumbUrl"));
component.setDuration(_ctx.integerValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Duration"));
component.setFileType(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].FileType"));
component.setLatitude(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Latitude"));
component.setLongitude(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Longitude"));
component.setLocationName(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].LocationName"));
component.setLocationAddress(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].LocationAddress"));
component.setAddSecretRecommendation(_ctx.booleanValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].AddSecretRecommendation"));
component.setCodeExpirationMinutes(_ctx.integerValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].CodeExpirationMinutes"));
component.setHasExpiration(_ctx.booleanValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].hasExpiration"));
component.setOfferExpirationTimeMs(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].OfferExpirationTimeMs"));
List<Button> buttons = new ArrayList<Button>();
for (int j = 0; j < _ctx.lengthValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons.Length"); j++) {
Button button = new Button();
button.setType(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].Type"));
button.setText(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].Text"));
button.setPhoneNumber(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].PhoneNumber"));
button.setUrl(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].Url"));
button.setUrlType(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].UrlType"));
button.setSignatureHash(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].SignatureHash"));
button.setPackageName(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].PackageName"));
button.setAutofillText(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].AutofillText"));
button.setIsOptOut(_ctx.booleanValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].IsOptOut"));
button.setCouponCode(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].CouponCode"));
button.setFlowId(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].FlowId"));
button.setFlowAction(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].FlowAction"));
button.setNavigateScreen(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].NavigateScreen"));
ExtendAttrs extendAttrs = new ExtendAttrs();
extendAttrs.setNextTemplateCode(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].ExtendAttrs.NextTemplateCode"));
extendAttrs.setNextTemplateName(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].ExtendAttrs.NextTemplateName"));
extendAttrs.setNextLanguageCode(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].ExtendAttrs.NextLanguageCode"));
extendAttrs.setAction(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].ExtendAttrs.Action"));
extendAttrs.setIntentCode(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].ExtendAttrs.IntentCode"));
button.setExtendAttrs(extendAttrs);
List<SupportedAppsItem> supportedApps = new ArrayList<SupportedAppsItem>();
for (int k = 0; k < _ctx.lengthValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].SupportedApps.Length"); k++) {
SupportedAppsItem supportedAppsItem = new SupportedAppsItem();
supportedAppsItem.setSignatureHash(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].SupportedApps["+ k +"].SignatureHash"));
supportedAppsItem.setPackageName(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Buttons["+ j +"].SupportedApps["+ k +"].PackageName"));
supportedApps.add(supportedAppsItem);
}
button.setSupportedApps(supportedApps);
buttons.add(button);
}
component.setButtons(buttons);
List<轮播卡片列表> cards = new ArrayList<轮播卡片列表>();
for (int j = 0; j < _ctx.lengthValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Cards.Length"); j++) {
轮播卡片列表 轮播卡片列表 = new 轮播卡片列表();
List<卡片控件列表> cardComponents = new ArrayList<卡片控件列表>();
for (int k = 0; k < _ctx.lengthValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Cards["+ j +"].CardComponents.Length"); k++) {
卡片控件列表 卡片控件列表 = new 卡片控件列表();
卡片控件列表.setType(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Cards["+ j +"].CardComponents["+ k +"].Type"));
卡片控件列表.setText(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Cards["+ j +"].CardComponents["+ k +"].Text"));
卡片控件列表.setUrl(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Cards["+ j +"].CardComponents["+ k +"].Url"));
卡片控件列表.setFormat(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Cards["+ j +"].CardComponents["+ k +"].Format"));
List<卡片按钮列表> buttons1 = new ArrayList<卡片按钮列表>();
for (int l = 0; l < _ctx.lengthValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Cards["+ j +"].CardComponents["+ k +"].Buttons.Length"); l++) {
卡片按钮列表 卡片按钮列表 = new 卡片按钮列表();
卡片按钮列表.setType(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Cards["+ j +"].CardComponents["+ k +"].Buttons["+ l +"].Type"));
卡片按钮列表.setText(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Cards["+ j +"].CardComponents["+ k +"].Buttons["+ l +"].Text"));
卡片按钮列表.setUrl(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Cards["+ j +"].CardComponents["+ k +"].Buttons["+ l +"].Url"));
卡片按钮列表.setUrlType(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Cards["+ j +"].CardComponents["+ k +"].Buttons["+ l +"].UrlType"));
卡片按钮列表.setPhoneNumber(_ctx.stringValue("GetChatappTemplateDetailResponse.Data.Components["+ i +"].Cards["+ j +"].CardComponents["+ k +"].Buttons["+ l +"].PhoneNumber"));
buttons1.add(卡片按钮列表);
}
卡片控件列表.setButtons1(buttons1);
cardComponents.add(卡片控件列表);
}
轮播卡片列表.setCardComponents(cardComponents);
cards.add(轮播卡片列表);
}
component.setCards(cards);
components.add(component);
}
data.setComponents(components);
getChatappTemplateDetailResponse.setData(data);
return getChatappTemplateDetailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/GetChatappTemplateMetricResponseUnmarshaller.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.cams.transform.v20200606;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cams.model.v20200606.GetChatappTemplateMetricResponse;
import com.aliyuncs.cams.model.v20200606.GetChatappTemplateMetricResponse.返回数据;
import com.aliyuncs.cams.model.v20200606.GetChatappTemplateMetricResponse.返回数据.按钮点击数据;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetChatappTemplateMetricResponseUnmarshaller {
public static GetChatappTemplateMetricResponse unmarshall(GetChatappTemplateMetricResponse getChatappTemplateMetricResponse, UnmarshallerContext _ctx) {
getChatappTemplateMetricResponse.setRequestId(_ctx.stringValue("GetChatappTemplateMetricResponse.RequestId"));
getChatappTemplateMetricResponse.setCode(_ctx.stringValue("GetChatappTemplateMetricResponse.Code"));
getChatappTemplateMetricResponse.setMessage(_ctx.stringValue("GetChatappTemplateMetricResponse.Message"));
getChatappTemplateMetricResponse.setAccessDeniedDetail(_ctx.stringValue("GetChatappTemplateMetricResponse.AccessDeniedDetail"));
List<返回数据> data = new ArrayList<返回数据>();
for (int i = 0; i < _ctx.lengthValue("GetChatappTemplateMetricResponse.Data.Length"); i++) {
返回数据 返回数据 = new 返回数据();
返回数据.setTemplateCode(_ctx.stringValue("GetChatappTemplateMetricResponse.Data["+ i +"].TemplateCode"));
返回数据.setLanguage(_ctx.stringValue("GetChatappTemplateMetricResponse.Data["+ i +"].Language"));
返回数据.setSentCount(_ctx.integerValue("GetChatappTemplateMetricResponse.Data["+ i +"].SentCount"));
返回数据.setReadCount(_ctx.integerValue("GetChatappTemplateMetricResponse.Data["+ i +"].ReadCount"));
返回数据.setDeliveredCount(_ctx.integerValue("GetChatappTemplateMetricResponse.Data["+ i +"].DeliveredCount"));
返回数据.setStart(_ctx.longValue("GetChatappTemplateMetricResponse.Data["+ i +"].Start"));
返回数据.setEnd(_ctx.longValue("GetChatappTemplateMetricResponse.Data["+ i +"].End"));
List<按钮点击数据> cliented = new ArrayList<按钮点击数据>();
for (int j = 0; j < _ctx.lengthValue("GetChatappTemplateMetricResponse.Data["+ i +"].Cliented.Length"); j++) {
按钮点击数据 按钮点击数据 = new 按钮点击数据();
按钮点击数据.setType(_ctx.stringValue("GetChatappTemplateMetricResponse.Data["+ i +"].Cliented["+ j +"].Type"));
按钮点击数据.setButtonContent(_ctx.stringValue("GetChatappTemplateMetricResponse.Data["+ i +"].Cliented["+ j +"].ButtonContent"));
按钮点击数据.setCount(_ctx.integerValue("GetChatappTemplateMetricResponse.Data["+ i +"].Cliented["+ j +"].Count"));
cliented.add(按钮点击数据);
}
返回数据.setCliented(cliented);
data.add(返回数据);
}
getChatappTemplateMetricResponse.setData(data);
return getChatappTemplateMetricResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/transform/v20200606/GetChatappUploadAuthorizationResponseUnmarshaller.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.cams.transform.v20200606;
import com.aliyuncs.cams.model.v20200606.GetChatappUploadAuthorizationResponse;
import com.aliyuncs.cams.model.v20200606.GetChatappUploadAuthorizationResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetChatappUploadAuthorizationResponseUnmarshaller {
public static GetChatappUploadAuthorizationResponse unmarshall(GetChatappUploadAuthorizationResponse getChatappUploadAuthorizationResponse, UnmarshallerContext _ctx) {
getChatappUploadAuthorizationResponse.setRequestId(_ctx.stringValue("GetChatappUploadAuthorizationResponse.RequestId"));
getChatappUploadAuthorizationResponse.setCode(_ctx.stringValue("GetChatappUploadAuthorizationResponse.Code"));
getChatappUploadAuthorizationResponse.setMessage(_ctx.stringValue("GetChatappUploadAuthorizationResponse.Message"));
getChatappUploadAuthorizationResponse.setAccessDeniedDetail(_ctx.stringValue("GetChatappUploadAuthorizationResponse.AccessDeniedDetail"));
Data data = new Data();
data.setAccessKeyId(_ctx.stringValue("GetChatappUploadAuthorizationResponse.Data.AccessKeyId"));
data.setAccessKeySecret(_ctx.stringValue("GetChatappUploadAuthorizationResponse.Data.AccessKeySecret"));
data.setBucketName(_ctx.stringValue("GetChatappUploadAuthorizationResponse.Data.BucketName"));
data.setDir(_ctx.stringValue("GetChatappUploadAuthorizationResponse.Data.Dir"));
data.setEndPoint(_ctx.stringValue("GetChatappUploadAuthorizationResponse.Data.EndPoint"));
data.setSecurityToken(_ctx.stringValue("GetChatappUploadAuthorizationResponse.Data.SecurityToken"));
data.setExpire(_ctx.integerValue("GetChatappUploadAuthorizationResponse.Data.Expire"));
getChatappUploadAuthorizationResponse.setData(data);
return getChatappUploadAuthorizationResponse;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.