From a9dd4e740726b178f6fdf4a710e960d1712c835e Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 11 Apr 2024 01:20:26 +0000 Subject: [PATCH] Generated 2020-06-06 for cams. --- aliyun-java-sdk-cams/ChangeLog.txt | 3 + aliyun-java-sdk-cams/pom.xml | 2 +- .../CreateChatappTemplateRequest.java | 33 +++ .../model/v20200606/CreateFlowRequest.java | 84 ++++++ .../model/v20200606/CreateFlowResponse.java | 110 +++++++ .../CreatePhoneMessageQrdlRequest.java | 93 ++++++ .../CreatePhoneMessageQrdlResponse.java | 139 +++++++++ .../DeleteChatappTemplateRequest.java | 39 +++ .../model/v20200606/DeleteFlowRequest.java | 93 ++++++ .../model/v20200606/DeleteFlowResponse.java | 87 ++++++ .../DeletePhoneMessageQrdlRequest.java | 80 +++++ .../DeletePhoneMessageQrdlResponse.java | 66 +++++ .../model/v20200606/DeprecateFlowRequest.java | 67 +++++ .../v20200606/DeprecateFlowResponse.java | 66 +++++ .../GetChatappTemplateDetailRequest.java | 13 + .../GetChatappTemplateDetailResponse.java | 30 ++ .../v20200606/GetFlowJSONAssestRequest.java | 67 +++++ .../v20200606/GetFlowJSONAssestResponse.java | 99 +++++++ .../v20200606/GetFlowPreviewUrlRequest.java | 67 +++++ .../v20200606/GetFlowPreviewUrlResponse.java | 109 +++++++ .../cams/model/v20200606/GetFlowRequest.java | 67 +++++ .../cams/model/v20200606/GetFlowResponse.java | 160 ++++++++++ .../v20200606/GetPermissionByCodeRequest.java | 84 ++++++ .../GetPermissionByCodeResponse.java | 66 +++++ .../GetPhoneEncryptionPublicKeyRequest.java | 67 +++++ .../GetPhoneEncryptionPublicKeyResponse.java | 109 +++++++ .../model/v20200606/IsvGetAppIdRequest.java | 15 +- .../model/v20200606/IsvGetAppIdResponse.java | 10 + .../cams/model/v20200606/ListFlowRequest.java | 119 ++++++++ .../model/v20200606/ListFlowResponse.java | 191 ++++++++++++ .../ListPhoneMessageQrdlRequest.java | 67 +++++ .../ListPhoneMessageQrdlResponse.java | 140 +++++++++ .../ModifyChatappTemplateRequest.java | 46 +++ .../model/v20200606/ModifyFlowRequest.java | 97 ++++++ .../model/v20200606/ModifyFlowResponse.java | 110 +++++++ .../ModifyPhoneBusinessProfileRequest.java | 13 + .../model/v20200606/PublishFlowRequest.java | 67 +++++ .../model/v20200606/PublishFlowResponse.java | 66 +++++ .../QueryChatappPhoneNumbersRequest.java | 15 +- .../QueryPhoneBusinessProfileResponse.java | 10 + .../SendChatappMassMessageRequest.java | 49 ++++ .../v20200606/SendChatappMessageRequest.java | 276 +++++++++++------- .../v20200606/UpdateFlowJSONAssetRequest.java | 80 +++++ .../UpdateFlowJSONAssetResponse.java | 89 ++++++ ...UpdatePhoneEncryptionPublicKeyRequest.java | 80 +++++ ...pdatePhoneEncryptionPublicKeyResponse.java | 66 +++++ .../UpdatePhoneMessageQrdlRequest.java | 106 +++++++ .../UpdatePhoneMessageQrdlResponse.java | 139 +++++++++ .../CreateFlowResponseUnmarshaller.java | 46 +++ ...ePhoneMessageQrdlResponseUnmarshaller.java | 41 +++ .../DeleteFlowResponseUnmarshaller.java | 34 +++ ...ePhoneMessageQrdlResponseUnmarshaller.java | 31 ++ .../DeprecateFlowResponseUnmarshaller.java | 31 ++ ...appTemplateDetailResponseUnmarshaller.java | 3 + ...GetFlowJSONAssestResponseUnmarshaller.java | 37 +++ ...GetFlowPreviewUrlResponseUnmarshaller.java | 38 +++ .../GetFlowResponseUnmarshaller.java | 51 ++++ ...tPermissionByCodeResponseUnmarshaller.java | 31 ++ ...cryptionPublicKeyResponseUnmarshaller.java | 38 +++ .../IsvGetAppIdResponseUnmarshaller.java | 3 +- .../ListFlowResponseUnmarshaller.java | 55 ++++ ...tPhoneMessageQrdlResponseUnmarshaller.java | 49 ++++ .../ModifyFlowResponseUnmarshaller.java | 46 +++ .../PublishFlowResponseUnmarshaller.java | 31 ++ ...neBusinessProfileResponseUnmarshaller.java | 1 + ...dateFlowJSONAssetResponseUnmarshaller.java | 36 +++ ...cryptionPublicKeyResponseUnmarshaller.java | 31 ++ ...ePhoneMessageQrdlResponseUnmarshaller.java | 41 +++ 68 files changed, 4309 insertions(+), 116 deletions(-) create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreateFlowRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreateFlowResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreatePhoneMessageQrdlRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreatePhoneMessageQrdlResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeleteFlowRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeleteFlowResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeletePhoneMessageQrdlRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeletePhoneMessageQrdlResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeprecateFlowRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeprecateFlowResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowJSONAssestRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowJSONAssestResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowPreviewUrlRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowPreviewUrlResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPermissionByCodeRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPermissionByCodeResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPhoneEncryptionPublicKeyRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPhoneEncryptionPublicKeyResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListFlowRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListFlowResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListPhoneMessageQrdlRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListPhoneMessageQrdlResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyFlowRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyFlowResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/PublishFlowRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/PublishFlowResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateFlowJSONAssetRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateFlowJSONAssetResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneEncryptionPublicKeyRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneEncryptionPublicKeyResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneMessageQrdlRequest.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneMessageQrdlResponse.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/CreateFlowResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/CreatePhoneMessageQrdlResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeleteFlowResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeletePhoneMessageQrdlResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeprecateFlowResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetFlowJSONAssestResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetFlowPreviewUrlResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetFlowResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetPermissionByCodeResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetPhoneEncryptionPublicKeyResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ListFlowResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ListPhoneMessageQrdlResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ModifyFlowResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/PublishFlowResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdateFlowJSONAssetResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdatePhoneEncryptionPublicKeyResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdatePhoneMessageQrdlResponseUnmarshaller.java diff --git a/aliyun-java-sdk-cams/ChangeLog.txt b/aliyun-java-sdk-cams/ChangeLog.txt index 21daf97c08..db3b91adcc 100644 --- a/aliyun-java-sdk-cams/ChangeLog.txt +++ b/aliyun-java-sdk-cams/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-04-11 Version: 1.0.11 +- Generated 2020-06-06 for `cams`. + 2023-10-19 Version: 1.0.10 - Coupon template - Carousel template diff --git a/aliyun-java-sdk-cams/pom.xml b/aliyun-java-sdk-cams/pom.xml index 0c07354f06..46b715ef5b 100644 --- a/aliyun-java-sdk-cams/pom.xml +++ b/aliyun-java-sdk-cams/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-cams jar - 1.0.10 + 1.0.11 aliyun-java-sdk-cams http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreateChatappTemplateRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreateChatappTemplateRequest.java index 76a3ba5806..f018fd7a51 100644 --- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreateChatappTemplateRequest.java +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreateChatappTemplateRequest.java @@ -370,6 +370,15 @@ public static class ButtonsItem { @SerializedName("CouponCode") private String couponCode; + @SerializedName("FlowId") + private String flowId; + + @SerializedName("FlowAction") + private String flowAction; + + @SerializedName("NavigateScreen") + private String navigateScreen; + public String getType() { return this.type; } @@ -449,6 +458,30 @@ public String getCouponCode() { 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 static class CardsItem { diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreateFlowRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreateFlowRequest.java new file mode 100644 index 0000000000..def76e9361 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreateFlowRequest.java @@ -0,0 +1,84 @@ +/* + * 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 CreateFlowRequest extends RpcAcsRequest { + + + @SerializedName("categories") + private List categories; + + private String custSpaceId; + + private String flowName; + public CreateFlowRequest() { + super("cams", "2020-06-06", "CreateFlow", "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 getCategories() { + return this.categories; + } + + public void setCategories(List 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); + } + } + + @Override + public Class getResponseClass() { + return CreateFlowResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreateFlowResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreateFlowResponse.java new file mode 100644 index 0000000000..8727f4f8a0 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreateFlowResponse.java @@ -0,0 +1,110 @@ +/* + * 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.CreateFlowResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateFlowResponse 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 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 getCategories() { + return this.categories; + } + + public void setCategories(List categories) { + this.categories = categories; + } + } + + @Override + public CreateFlowResponse getInstance(UnmarshallerContext context) { + return CreateFlowResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreatePhoneMessageQrdlRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreatePhoneMessageQrdlRequest.java new file mode 100644 index 0000000000..e65bb4feb9 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreatePhoneMessageQrdlRequest.java @@ -0,0 +1,93 @@ +/* + * 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 CreatePhoneMessageQrdlRequest extends RpcAcsRequest { + + + private String phoneNumber; + + private String prefilledMessage; + + private String generateQrImage; + + private String custSpaceId; + public CreatePhoneMessageQrdlRequest() { + super("cams", "2020-06-06", "CreatePhoneMessageQrdl", "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 getCustSpaceId() { + return this.custSpaceId; + } + + public void setCustSpaceId(String custSpaceId) { + this.custSpaceId = custSpaceId; + if(custSpaceId != null){ + putBodyParameter("CustSpaceId", custSpaceId); + } + } + + @Override + public Class getResponseClass() { + return CreatePhoneMessageQrdlResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreatePhoneMessageQrdlResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreatePhoneMessageQrdlResponse.java new file mode 100644 index 0000000000..a8a84dcea8 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/CreatePhoneMessageQrdlResponse.java @@ -0,0 +1,139 @@ +/* + * 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.CreatePhoneMessageQrdlResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreatePhoneMessageQrdlResponse 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 CreatePhoneMessageQrdlResponse getInstance(UnmarshallerContext context) { + return CreatePhoneMessageQrdlResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeleteChatappTemplateRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeleteChatappTemplateRequest.java index be74db6f9b..828f3ce469 100644 --- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeleteChatappTemplateRequest.java +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeleteChatappTemplateRequest.java @@ -27,6 +27,12 @@ public class DeleteChatappTemplateRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String code; + + private String resourceOwnerAccount; + + private Long ownerId; + public DeleteFlowRequest() { + super("cams", "2020-06-06", "DeleteFlow", "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 getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + if(code != null){ + putQueryParameter("Code", code); + } + } + + 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()); + } + } + + @Override + public Class getResponseClass() { + return DeleteFlowResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeleteFlowResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeleteFlowResponse.java new file mode 100644 index 0000000000..dfc5f686fa --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeleteFlowResponse.java @@ -0,0 +1,87 @@ +/* + * 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.DeleteFlowResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteFlowResponse extends AcsResponse { + + private Map response; + + private String accessDeniedDetail; + + private String message; + + private String code; + + private Boolean success; + + public Map getResponse() { + return this.response; + } + + public void setResponse(Map response) { + this.response = response; + } + + 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 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 DeleteFlowResponse getInstance(UnmarshallerContext context) { + return DeleteFlowResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeletePhoneMessageQrdlRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeletePhoneMessageQrdlRequest.java new file mode 100644 index 0000000000..9d6a02dd4d --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeletePhoneMessageQrdlRequest.java @@ -0,0 +1,80 @@ +/* + * 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 DeletePhoneMessageQrdlRequest extends RpcAcsRequest { + + + private String phoneNumber; + + private String qrdlCode; + + private String custSpaceId; + public DeletePhoneMessageQrdlRequest() { + super("cams", "2020-06-06", "DeletePhoneMessageQrdl", "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 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 getResponseClass() { + return DeletePhoneMessageQrdlResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeletePhoneMessageQrdlResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeletePhoneMessageQrdlResponse.java new file mode 100644 index 0000000000..c391f7115e --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeletePhoneMessageQrdlResponse.java @@ -0,0 +1,66 @@ +/* + * 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.DeletePhoneMessageQrdlResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeletePhoneMessageQrdlResponse 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 DeletePhoneMessageQrdlResponse getInstance(UnmarshallerContext context) { + return DeletePhoneMessageQrdlResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeprecateFlowRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeprecateFlowRequest.java new file mode 100644 index 0000000000..5ceee2d316 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeprecateFlowRequest.java @@ -0,0 +1,67 @@ +/* + * 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 DeprecateFlowRequest extends RpcAcsRequest { + + + private String custSpaceId; + + private String flowId; + public DeprecateFlowRequest() { + super("cams", "2020-06-06", "DeprecateFlow", "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 getResponseClass() { + return DeprecateFlowResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeprecateFlowResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeprecateFlowResponse.java new file mode 100644 index 0000000000..c9ef097ef9 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/DeprecateFlowResponse.java @@ -0,0 +1,66 @@ +/* + * 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.DeprecateFlowResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeprecateFlowResponse 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 DeprecateFlowResponse getInstance(UnmarshallerContext context) { + return DeprecateFlowResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetChatappTemplateDetailRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetChatappTemplateDetailRequest.java index a0eae2af4d..582d342618 100644 --- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetChatappTemplateDetailRequest.java +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetChatappTemplateDetailRequest.java @@ -31,6 +31,8 @@ public class GetChatappTemplateDetailRequest extends RpcAcsRequest { + + + 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 getResponseClass() { + return GetFlowJSONAssestResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowJSONAssestResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowJSONAssestResponse.java new file mode 100644 index 0000000000..a3f49b9e6f --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowJSONAssestResponse.java @@ -0,0 +1,99 @@ +/* + * 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; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowPreviewUrlRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowPreviewUrlRequest.java new file mode 100644 index 0000000000..ca6ee77fc9 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowPreviewUrlRequest.java @@ -0,0 +1,67 @@ +/* + * 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 { + + + 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 getResponseClass() { + return GetFlowPreviewUrlResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowPreviewUrlResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowPreviewUrlResponse.java new file mode 100644 index 0000000000..a85dbe9bb6 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowPreviewUrlResponse.java @@ -0,0 +1,109 @@ +/* + * 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; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowRequest.java new file mode 100644 index 0000000000..4e2e8c78bb --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowRequest.java @@ -0,0 +1,67 @@ +/* + * 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 { + + + 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 getResponseClass() { + return GetFlowResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowResponse.java new file mode 100644 index 0000000000..f13ed42b1e --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetFlowResponse.java @@ -0,0 +1,160 @@ +/* + * 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 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 getCategories() { + return this.categories; + } + + public void setCategories(List categories) { + this.categories = categories; + } + } + + @Override + public GetFlowResponse getInstance(UnmarshallerContext context) { + return GetFlowResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPermissionByCodeRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPermissionByCodeRequest.java new file mode 100644 index 0000000000..fdb4a86b94 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPermissionByCodeRequest.java @@ -0,0 +1,84 @@ +/* + * 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 { + + + private String code; + + @SerializedName("permissions") + private List 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 getPermissions() { + return this.permissions; + } + + public void setPermissions(List 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 getResponseClass() { + return GetPermissionByCodeResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPermissionByCodeResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPermissionByCodeResponse.java new file mode 100644 index 0000000000..b2f9d7bfb7 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPermissionByCodeResponse.java @@ -0,0 +1,66 @@ +/* + * 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; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPhoneEncryptionPublicKeyRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPhoneEncryptionPublicKeyRequest.java new file mode 100644 index 0000000000..652efaa679 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPhoneEncryptionPublicKeyRequest.java @@ -0,0 +1,67 @@ +/* + * 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 { + + + 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 getResponseClass() { + return GetPhoneEncryptionPublicKeyResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPhoneEncryptionPublicKeyResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPhoneEncryptionPublicKeyResponse.java new file mode 100644 index 0000000000..c8f5903b56 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/GetPhoneEncryptionPublicKeyResponse.java @@ -0,0 +1,109 @@ +/* + * 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; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/IsvGetAppIdRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/IsvGetAppIdRequest.java index d7446cc8d0..cb8002f1a5 100644 --- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/IsvGetAppIdRequest.java +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/IsvGetAppIdRequest.java @@ -25,7 +25,9 @@ public class IsvGetAppIdRequest extends RpcAcsRequest { - private String type; + private String type; + + private String permissions; public IsvGetAppIdRequest() { super("cams", "2020-06-06", "IsvGetAppId", "cams"); setMethod(MethodType.POST); @@ -44,6 +46,17 @@ public void setType(String 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 diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/IsvGetAppIdResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/IsvGetAppIdResponse.java index 1d8df0abcd..a6520c83bf 100644 --- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/IsvGetAppIdResponse.java +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/IsvGetAppIdResponse.java @@ -34,6 +34,8 @@ public class IsvGetAppIdResponse extends AcsResponse { private String accessDeniedDetail; + private String configId; + public String getRequestId() { return this.requestId; } @@ -74,6 +76,14 @@ 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); diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListFlowRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListFlowRequest.java new file mode 100644 index 0000000000..3bd4d1ef6a --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListFlowRequest.java @@ -0,0 +1,119 @@ +/* + * 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 ListFlowRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private Long pageSize; + + private String resourceOwnerAccount; + + private Long ownerId; + + private Long pageNo; + + private String status; + 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 Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public Long getPageSize() { + return this.pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getResourceOwnerAccount() { + return this.resourceOwnerAccount; + } + + public void setResourceOwnerAccount(String resourceOwnerAccount) { + this.resourceOwnerAccount = resourceOwnerAccount; + if(resourceOwnerAccount != null){ + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + public Long getPageNo() { + return this.pageNo; + } + + public void setPageNo(Long pageNo) { + this.pageNo = pageNo; + if(pageNo != null){ + putQueryParameter("PageNo", pageNo.toString()); + } + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + if(status != null){ + putQueryParameter("Status", status); + } + } + + @Override + public Class getResponseClass() { + return ListFlowResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListFlowResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListFlowResponse.java new file mode 100644 index 0000000000..5618501915 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListFlowResponse.java @@ -0,0 +1,191 @@ +/* + * 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.ListFlowResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListFlowResponse extends AcsResponse { + + private Map response; + + private String accessDeniedDetail; + + private String message; + + private String code; + + private Boolean success; + + private List data; + + public Map getResponse() { + return this.response; + } + + public void setResponse(Map response) { + this.response = response; + } + + 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 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 List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public static class DataItem { + + private String status; + + private String gmtCreate; + + private String gmtModified; + + private String title; + + private String partnerId; + + private String id; + + private String code; + + private String bizCode; + + private String remark; + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getTitle() { + return this.title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getPartnerId() { + return this.partnerId; + } + + public void setPartnerId(String partnerId) { + this.partnerId = partnerId; + } + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getBizCode() { + return this.bizCode; + } + + public void setBizCode(String bizCode) { + this.bizCode = bizCode; + } + + public String getRemark() { + return this.remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + } + + @Override + public ListFlowResponse getInstance(UnmarshallerContext context) { + return ListFlowResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListPhoneMessageQrdlRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListPhoneMessageQrdlRequest.java new file mode 100644 index 0000000000..8f27940be5 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListPhoneMessageQrdlRequest.java @@ -0,0 +1,67 @@ +/* + * 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 { + + + 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 getResponseClass() { + return ListPhoneMessageQrdlResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListPhoneMessageQrdlResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListPhoneMessageQrdlResponse.java new file mode 100644 index 0000000000..2b1f194bb7 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ListPhoneMessageQrdlResponse.java @@ -0,0 +1,140 @@ +/* + * 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; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyChatappTemplateRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyChatappTemplateRequest.java index e28fbbda5b..49c94fa4a9 100644 --- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyChatappTemplateRequest.java +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyChatappTemplateRequest.java @@ -41,6 +41,8 @@ public class ModifyChatappTemplateRequest extends RpcAcsRequest { + + + @SerializedName("categories") + private List 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 getCategories() { + return this.categories; + } + + public void setCategories(List 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 getResponseClass() { + return ModifyFlowResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyFlowResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyFlowResponse.java new file mode 100644 index 0000000000..366b621b1e --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyFlowResponse.java @@ -0,0 +1,110 @@ +/* + * 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 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 getCategories() { + return this.categories; + } + + public void setCategories(List categories) { + this.categories = categories; + } + } + + @Override + public ModifyFlowResponse getInstance(UnmarshallerContext context) { + return ModifyFlowResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyPhoneBusinessProfileRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyPhoneBusinessProfileRequest.java index e4d6cce152..84f0dc26d5 100644 --- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyPhoneBusinessProfileRequest.java +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/ModifyPhoneBusinessProfileRequest.java @@ -30,6 +30,8 @@ public class ModifyPhoneBusinessProfileRequest extends RpcAcsRequest { + + + 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 getResponseClass() { + return PublishFlowResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/PublishFlowResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/PublishFlowResponse.java new file mode 100644 index 0000000000..aa4223b3ec --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/PublishFlowResponse.java @@ -0,0 +1,66 @@ +/* + * 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; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryChatappPhoneNumbersRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryChatappPhoneNumbersRequest.java index d0ceee5380..89e7843379 100644 --- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryChatappPhoneNumbersRequest.java +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/QueryChatappPhoneNumbersRequest.java @@ -27,7 +27,9 @@ public class QueryChatappPhoneNumbersRequest extends RpcAcsRequest websites; public String getAddress() { @@ -129,6 +131,14 @@ public void setProfilePictureUrl(String profilePictureUrl) { this.profilePictureUrl = profilePictureUrl; } + public String getAbout() { + return this.about; + } + + public void setAbout(String about) { + this.about = about; + } + public List getWebsites() { return this.websites; } diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/SendChatappMassMessageRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/SendChatappMassMessageRequest.java index 545e68cffa..6ac6e029d0 100644 --- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/SendChatappMassMessageRequest.java +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/SendChatappMassMessageRequest.java @@ -42,6 +42,8 @@ public class SendChatappMassMessageRequest extends RpcAcsRequest flowActionData; + + public String getFlowToken() { + return this.flowToken; + } + + public void setFlowToken(String flowToken) { + this.flowToken = flowToken; + } + + public Map getFlowActionData() { + return this.flowActionData; + } + + public void setFlowActionData(Map flowActionData) { + this.flowActionData = flowActionData; + } + } } @Override diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/SendChatappMessageRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/SendChatappMessageRequest.java index 02e9cae2c2..0331e19df1 100644 --- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/SendChatappMessageRequest.java +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/SendChatappMessageRequest.java @@ -29,41 +29,50 @@ public class SendChatappMessageRequest extends RpcAcsRequest { - @SerializedName("productAction") - private ProductAction productAction; - - private String messageType; - private String language; - private String custWabaId; - private String type; private String fallBackContent; - private String content; - - @SerializedName("templateParams") - private Map templateParams; - @SerializedName("payload") private List payload; - private String channelType; - private String from; private String tag; private String fallBackRule; - private String trackingData; + @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 templateParams; + + private String channelType; + + private String templateName; + + private String trackingData; + private String contextMessageId; private String label; @@ -74,11 +83,7 @@ public class SendChatappMessageRequest extends RpcAcsRequest getTemplateParams() { - return this.templateParams; - } - - public void setTemplateParams(Map templateParams) { - this.templateParams = templateParams; - if (templateParams != null) { - putBodyParameter("TemplateParams" , new Gson().toJson(templateParams)); - } - } - public List getPayload() { return this.payload; } @@ -187,17 +137,6 @@ public void setPayload(List payload) { } } - 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; } @@ -231,15 +170,15 @@ public void setFallBackRule(String fallBackRule) { } } - public String getTrackingData() { - return this.trackingData; + public FlowAction getFlowAction() { + return this.flowAction; } - public void setTrackingData(String trackingData) { - this.trackingData = trackingData; - if(trackingData != null){ - putBodyParameter("TrackingData", trackingData); - } + public void setFlowAction(FlowAction flowAction) { + this.flowAction = flowAction; + if (flowAction != null) { + putBodyParameter("FlowAction" , new Gson().toJson(flowAction)); + } } public String getTaskId() { @@ -264,6 +203,116 @@ public void setIsvCode(String 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 getTemplateParams() { + return this.templateParams; + } + + public void setTemplateParams(Map 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; } @@ -319,17 +368,6 @@ public void setFallBackDuration(Integer fallBackDuration) { } } - public String getCustSpaceId() { - return this.custSpaceId; - } - - public void setCustSpaceId(String custSpaceId) { - this.custSpaceId = custSpaceId; - if(custSpaceId != null){ - putBodyParameter("CustSpaceId", custSpaceId); - } - } - public String getTo() { return this.to; } @@ -341,15 +379,29 @@ public void setTo(String to) { } } - public String getTemplateCode() { - return this.templateCode; - } + public static class FlowAction { - public void setTemplateCode(String templateCode) { - this.templateCode = templateCode; - if(templateCode != null){ - putBodyParameter("TemplateCode", templateCode); - } + @SerializedName("FlowToken") + private String flowToken; + + @SerializedName("FlowActionData") + private Map flowActionData; + + public String getFlowToken() { + return this.flowToken; + } + + public void setFlowToken(String flowToken) { + this.flowToken = flowToken; + } + + public Map getFlowActionData() { + return this.flowActionData; + } + + public void setFlowActionData(Map flowActionData) { + this.flowActionData = flowActionData; + } } public static class ProductAction { diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateFlowJSONAssetRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateFlowJSONAssetRequest.java new file mode 100644 index 0000000000..52a310d570 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateFlowJSONAssetRequest.java @@ -0,0 +1,80 @@ +/* + * 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 { + + + 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 getResponseClass() { + return UpdateFlowJSONAssetResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateFlowJSONAssetResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateFlowJSONAssetResponse.java new file mode 100644 index 0000000000..8783004eca --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdateFlowJSONAssetResponse.java @@ -0,0 +1,89 @@ +/* + * 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; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneEncryptionPublicKeyRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneEncryptionPublicKeyRequest.java new file mode 100644 index 0000000000..68179f3e21 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneEncryptionPublicKeyRequest.java @@ -0,0 +1,80 @@ +/* + * 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 { + + + 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 getResponseClass() { + return UpdatePhoneEncryptionPublicKeyResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneEncryptionPublicKeyResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneEncryptionPublicKeyResponse.java new file mode 100644 index 0000000000..6a4e26cb27 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneEncryptionPublicKeyResponse.java @@ -0,0 +1,66 @@ +/* + * 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; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneMessageQrdlRequest.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneMessageQrdlRequest.java new file mode 100644 index 0000000000..10a5e8d669 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneMessageQrdlRequest.java @@ -0,0 +1,106 @@ +/* + * 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 { + + + 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 getResponseClass() { + return UpdatePhoneMessageQrdlResponse.class; + } + +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneMessageQrdlResponse.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneMessageQrdlResponse.java new file mode 100644 index 0000000000..4c79ea7d61 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/model/v20200606/UpdatePhoneMessageQrdlResponse.java @@ -0,0 +1,139 @@ +/* + * 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; + } +} diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/CreateFlowResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/CreateFlowResponseUnmarshaller.java new file mode 100644 index 0000000000..9cf23bac8b --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/CreateFlowResponseUnmarshaller.java @@ -0,0 +1,46 @@ +/* + * 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 categories = new ArrayList(); + 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; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/CreatePhoneMessageQrdlResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/CreatePhoneMessageQrdlResponseUnmarshaller.java new file mode 100644 index 0000000000..7bff75d69f --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/CreatePhoneMessageQrdlResponseUnmarshaller.java @@ -0,0 +1,41 @@ +/* + * 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; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeleteFlowResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeleteFlowResponseUnmarshaller.java new file mode 100644 index 0000000000..747fcb9f6c --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeleteFlowResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * 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 java.util.Map; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteFlowResponseUnmarshaller { + + public static DeleteFlowResponse unmarshall(DeleteFlowResponse deleteFlowResponse, UnmarshallerContext _ctx) { + + deleteFlowResponse.setResponse(_ctx.mapValue("DeleteFlowResponse.Response")); + deleteFlowResponse.setAccessDeniedDetail(_ctx.stringValue("DeleteFlowResponse.AccessDeniedDetail")); + deleteFlowResponse.setMessage(_ctx.stringValue("DeleteFlowResponse.Message")); + deleteFlowResponse.setCode(_ctx.stringValue("DeleteFlowResponse.Code")); + deleteFlowResponse.setSuccess(_ctx.booleanValue("DeleteFlowResponse.Success")); + + return deleteFlowResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeletePhoneMessageQrdlResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeletePhoneMessageQrdlResponseUnmarshaller.java new file mode 100644 index 0000000000..1d4113216e --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeletePhoneMessageQrdlResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * 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; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeprecateFlowResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeprecateFlowResponseUnmarshaller.java new file mode 100644 index 0000000000..ba52135feb --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/DeprecateFlowResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * 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; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetChatappTemplateDetailResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetChatappTemplateDetailResponseUnmarshaller.java index c683fc102f..62a3dd789c 100644 --- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetChatappTemplateDetailResponseUnmarshaller.java +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetChatappTemplateDetailResponseUnmarshaller.java @@ -84,6 +84,9 @@ public static GetChatappTemplateDetailResponse unmarshall(GetChatappTemplateDeta 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")); diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetFlowJSONAssestResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetFlowJSONAssestResponseUnmarshaller.java new file mode 100644 index 0000000000..11ff80b873 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetFlowJSONAssestResponseUnmarshaller.java @@ -0,0 +1,37 @@ +/* + * 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.GetFlowJSONAssestResponse; +import com.aliyuncs.cams.model.v20200606.GetFlowJSONAssestResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetFlowJSONAssestResponseUnmarshaller { + + public static GetFlowJSONAssestResponse unmarshall(GetFlowJSONAssestResponse getFlowJSONAssestResponse, UnmarshallerContext _ctx) { + + getFlowJSONAssestResponse.setRequestId(_ctx.stringValue("GetFlowJSONAssestResponse.RequestId")); + getFlowJSONAssestResponse.setCode(_ctx.stringValue("GetFlowJSONAssestResponse.Code")); + getFlowJSONAssestResponse.setMessage(_ctx.stringValue("GetFlowJSONAssestResponse.Message")); + + Data data = new Data(); + data.setFlowId(_ctx.stringValue("GetFlowJSONAssestResponse.Data.FlowId")); + data.setFilePath(_ctx.stringValue("GetFlowJSONAssestResponse.Data.FilePath")); + getFlowJSONAssestResponse.setData(data); + + return getFlowJSONAssestResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetFlowPreviewUrlResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetFlowPreviewUrlResponseUnmarshaller.java new file mode 100644 index 0000000000..6d29c6bd89 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetFlowPreviewUrlResponseUnmarshaller.java @@ -0,0 +1,38 @@ +/* + * 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.GetFlowPreviewUrlResponse; +import com.aliyuncs.cams.model.v20200606.GetFlowPreviewUrlResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetFlowPreviewUrlResponseUnmarshaller { + + public static GetFlowPreviewUrlResponse unmarshall(GetFlowPreviewUrlResponse getFlowPreviewUrlResponse, UnmarshallerContext _ctx) { + + getFlowPreviewUrlResponse.setRequestId(_ctx.stringValue("GetFlowPreviewUrlResponse.RequestId")); + getFlowPreviewUrlResponse.setCode(_ctx.stringValue("GetFlowPreviewUrlResponse.Code")); + getFlowPreviewUrlResponse.setMessage(_ctx.stringValue("GetFlowPreviewUrlResponse.Message")); + + Data data = new Data(); + data.setFlowId(_ctx.stringValue("GetFlowPreviewUrlResponse.Data.FlowId")); + data.setPreviewUrl(_ctx.stringValue("GetFlowPreviewUrlResponse.Data.PreviewUrl")); + data.setPreviewUrlExpires(_ctx.longValue("GetFlowPreviewUrlResponse.Data.PreviewUrlExpires")); + getFlowPreviewUrlResponse.setData(data); + + return getFlowPreviewUrlResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetFlowResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetFlowResponseUnmarshaller.java new file mode 100644 index 0000000000..a71585b7b3 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetFlowResponseUnmarshaller.java @@ -0,0 +1,51 @@ +/* + * 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.GetFlowResponse; +import com.aliyuncs.cams.model.v20200606.GetFlowResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetFlowResponseUnmarshaller { + + public static GetFlowResponse unmarshall(GetFlowResponse getFlowResponse, UnmarshallerContext _ctx) { + + getFlowResponse.setRequestId(_ctx.stringValue("GetFlowResponse.RequestId")); + getFlowResponse.setCode(_ctx.stringValue("GetFlowResponse.Code")); + getFlowResponse.setMessage(_ctx.stringValue("GetFlowResponse.Message")); + + Data data = new Data(); + data.setStatus(_ctx.stringValue("GetFlowResponse.Data.Status")); + data.setFlowId(_ctx.stringValue("GetFlowResponse.Data.FlowId")); + data.setFlowName(_ctx.stringValue("GetFlowResponse.Data.FlowName")); + data.setJSONVersion(_ctx.stringValue("GetFlowResponse.Data.JSONVersion")); + data.setDataApiVersion(_ctx.stringValue("GetFlowResponse.Data.DataApiVersion")); + data.setPreviewUrl(_ctx.stringValue("GetFlowResponse.Data.PreviewUrl")); + data.setPreviewUrlExpires(_ctx.longValue("GetFlowResponse.Data.PreviewUrlExpires")); + + List categories = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetFlowResponse.Data.Categories.Length"); i++) { + categories.add(_ctx.stringValue("GetFlowResponse.Data.Categories["+ i +"]")); + } + data.setCategories(categories); + getFlowResponse.setData(data); + + return getFlowResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetPermissionByCodeResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetPermissionByCodeResponseUnmarshaller.java new file mode 100644 index 0000000000..ca9ac82674 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetPermissionByCodeResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * 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.GetPermissionByCodeResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetPermissionByCodeResponseUnmarshaller { + + public static GetPermissionByCodeResponse unmarshall(GetPermissionByCodeResponse getPermissionByCodeResponse, UnmarshallerContext _ctx) { + + getPermissionByCodeResponse.setRequestId(_ctx.stringValue("GetPermissionByCodeResponse.RequestId")); + getPermissionByCodeResponse.setCode(_ctx.stringValue("GetPermissionByCodeResponse.Code")); + getPermissionByCodeResponse.setMessage(_ctx.stringValue("GetPermissionByCodeResponse.Message")); + + return getPermissionByCodeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetPhoneEncryptionPublicKeyResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetPhoneEncryptionPublicKeyResponseUnmarshaller.java new file mode 100644 index 0000000000..d2c9f6c3b4 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/GetPhoneEncryptionPublicKeyResponseUnmarshaller.java @@ -0,0 +1,38 @@ +/* + * 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.GetPhoneEncryptionPublicKeyResponse; +import com.aliyuncs.cams.model.v20200606.GetPhoneEncryptionPublicKeyResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetPhoneEncryptionPublicKeyResponseUnmarshaller { + + public static GetPhoneEncryptionPublicKeyResponse unmarshall(GetPhoneEncryptionPublicKeyResponse getPhoneEncryptionPublicKeyResponse, UnmarshallerContext _ctx) { + + getPhoneEncryptionPublicKeyResponse.setRequestId(_ctx.stringValue("GetPhoneEncryptionPublicKeyResponse.RequestId")); + getPhoneEncryptionPublicKeyResponse.setCode(_ctx.stringValue("GetPhoneEncryptionPublicKeyResponse.Code")); + getPhoneEncryptionPublicKeyResponse.setMessage(_ctx.stringValue("GetPhoneEncryptionPublicKeyResponse.Message")); + + Data data = new Data(); + data.setPhoneNumber(_ctx.stringValue("GetPhoneEncryptionPublicKeyResponse.Data.PhoneNumber")); + data.setEncryptionPublicKey(_ctx.stringValue("GetPhoneEncryptionPublicKeyResponse.Data.EncryptionPublicKey")); + data.setEncryptionPublicKeyStatus(_ctx.stringValue("GetPhoneEncryptionPublicKeyResponse.Data.EncryptionPublicKeyStatus")); + getPhoneEncryptionPublicKeyResponse.setData(data); + + return getPhoneEncryptionPublicKeyResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/IsvGetAppIdResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/IsvGetAppIdResponseUnmarshaller.java index b947055d39..1adf6ad4df 100644 --- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/IsvGetAppIdResponseUnmarshaller.java +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/IsvGetAppIdResponseUnmarshaller.java @@ -26,7 +26,8 @@ public static IsvGetAppIdResponse unmarshall(IsvGetAppIdResponse isvGetAppIdResp isvGetAppIdResponse.setCode(_ctx.stringValue("IsvGetAppIdResponse.Code")); isvGetAppIdResponse.setMessage(_ctx.stringValue("IsvGetAppIdResponse.Message")); isvGetAppIdResponse.setAppId(_ctx.stringValue("IsvGetAppIdResponse.AppId")); - isvGetAppIdResponse.setAccessDeniedDetail(_ctx.stringValue("IsvGetAppIdResponse.AccessDeniedDetail")); + isvGetAppIdResponse.setAccessDeniedDetail(_ctx.stringValue("IsvGetAppIdResponse.AccessDeniedDetail")); + isvGetAppIdResponse.setConfigId(_ctx.stringValue("IsvGetAppIdResponse.ConfigId")); return isvGetAppIdResponse; } diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ListFlowResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ListFlowResponseUnmarshaller.java new file mode 100644 index 0000000000..69761472d1 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ListFlowResponseUnmarshaller.java @@ -0,0 +1,55 @@ +/* + * 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.ListFlowResponse; +import com.aliyuncs.cams.model.v20200606.ListFlowResponse.DataItem; +import java.util.Map; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListFlowResponseUnmarshaller { + + public static ListFlowResponse unmarshall(ListFlowResponse listFlowResponse, UnmarshallerContext _ctx) { + + listFlowResponse.setResponse(_ctx.mapValue("ListFlowResponse.Response")); + listFlowResponse.setAccessDeniedDetail(_ctx.stringValue("ListFlowResponse.AccessDeniedDetail")); + listFlowResponse.setMessage(_ctx.stringValue("ListFlowResponse.Message")); + listFlowResponse.setCode(_ctx.stringValue("ListFlowResponse.Code")); + listFlowResponse.setSuccess(_ctx.booleanValue("ListFlowResponse.Success")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListFlowResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setStatus(_ctx.stringValue("ListFlowResponse.Data["+ i +"].Status")); + dataItem.setGmtCreate(_ctx.stringValue("ListFlowResponse.Data["+ i +"].GmtCreate")); + dataItem.setGmtModified(_ctx.stringValue("ListFlowResponse.Data["+ i +"].GmtModified")); + dataItem.setTitle(_ctx.stringValue("ListFlowResponse.Data["+ i +"].Title")); + dataItem.setPartnerId(_ctx.stringValue("ListFlowResponse.Data["+ i +"].PartnerId")); + dataItem.setId(_ctx.stringValue("ListFlowResponse.Data["+ i +"].Id")); + dataItem.setCode(_ctx.stringValue("ListFlowResponse.Data["+ i +"].Code")); + dataItem.setBizCode(_ctx.stringValue("ListFlowResponse.Data["+ i +"].BizCode")); + dataItem.setRemark(_ctx.stringValue("ListFlowResponse.Data["+ i +"].Remark")); + + data.add(dataItem); + } + listFlowResponse.setData(data); + + return listFlowResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ListPhoneMessageQrdlResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ListPhoneMessageQrdlResponseUnmarshaller.java new file mode 100644 index 0000000000..f82b6b7b94 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ListPhoneMessageQrdlResponseUnmarshaller.java @@ -0,0 +1,49 @@ +/* + * 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.ListPhoneMessageQrdlResponse; +import com.aliyuncs.cams.model.v20200606.ListPhoneMessageQrdlResponse.列表; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListPhoneMessageQrdlResponseUnmarshaller { + + public static ListPhoneMessageQrdlResponse unmarshall(ListPhoneMessageQrdlResponse listPhoneMessageQrdlResponse, UnmarshallerContext _ctx) { + + listPhoneMessageQrdlResponse.setRequestId(_ctx.stringValue("ListPhoneMessageQrdlResponse.RequestId")); + listPhoneMessageQrdlResponse.setCode(_ctx.stringValue("ListPhoneMessageQrdlResponse.Code")); + listPhoneMessageQrdlResponse.setMessage(_ctx.stringValue("ListPhoneMessageQrdlResponse.Message")); + + List<列表> data = new ArrayList<列表>(); + for (int i = 0; i < _ctx.lengthValue("ListPhoneMessageQrdlResponse.Data.Length"); i++) { + 列表 列表 = new 列表(); + 列表.setPhoneNumber(_ctx.stringValue("ListPhoneMessageQrdlResponse.Data["+ i +"].PhoneNumber")); + 列表.setQrdlCode(_ctx.stringValue("ListPhoneMessageQrdlResponse.Data["+ i +"].QrdlCode")); + 列表.setGenerateQrImage(_ctx.stringValue("ListPhoneMessageQrdlResponse.Data["+ i +"].GenerateQrImage")); + 列表.setPrefilledMessage(_ctx.stringValue("ListPhoneMessageQrdlResponse.Data["+ i +"].PrefilledMessage")); + 列表.setDeepLinkUrl(_ctx.stringValue("ListPhoneMessageQrdlResponse.Data["+ i +"].DeepLinkUrl")); + 列表.setQrImageUrl(_ctx.stringValue("ListPhoneMessageQrdlResponse.Data["+ i +"].QrImageUrl")); + + data.add(列表); + } + listPhoneMessageQrdlResponse.setData(data); + + return listPhoneMessageQrdlResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ModifyFlowResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ModifyFlowResponseUnmarshaller.java new file mode 100644 index 0000000000..850ed5418f --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/ModifyFlowResponseUnmarshaller.java @@ -0,0 +1,46 @@ +/* + * 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.ModifyFlowResponse; +import com.aliyuncs.cams.model.v20200606.ModifyFlowResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyFlowResponseUnmarshaller { + + public static ModifyFlowResponse unmarshall(ModifyFlowResponse modifyFlowResponse, UnmarshallerContext _ctx) { + + modifyFlowResponse.setRequestId(_ctx.stringValue("ModifyFlowResponse.RequestId")); + modifyFlowResponse.setCode(_ctx.stringValue("ModifyFlowResponse.Code")); + modifyFlowResponse.setMessage(_ctx.stringValue("ModifyFlowResponse.Message")); + + Data data = new Data(); + data.setFlowId(_ctx.stringValue("ModifyFlowResponse.Data.FlowId")); + data.setFlowName(_ctx.stringValue("ModifyFlowResponse.Data.FlowName")); + + List categories = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ModifyFlowResponse.Data.Categories.Length"); i++) { + categories.add(_ctx.stringValue("ModifyFlowResponse.Data.Categories["+ i +"]")); + } + data.setCategories(categories); + modifyFlowResponse.setData(data); + + return modifyFlowResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/PublishFlowResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/PublishFlowResponseUnmarshaller.java new file mode 100644 index 0000000000..4eef647659 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/PublishFlowResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * 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.PublishFlowResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class PublishFlowResponseUnmarshaller { + + public static PublishFlowResponse unmarshall(PublishFlowResponse publishFlowResponse, UnmarshallerContext _ctx) { + + publishFlowResponse.setRequestId(_ctx.stringValue("PublishFlowResponse.RequestId")); + publishFlowResponse.setCode(_ctx.stringValue("PublishFlowResponse.Code")); + publishFlowResponse.setMessage(_ctx.stringValue("PublishFlowResponse.Message")); + + return publishFlowResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/QueryPhoneBusinessProfileResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/QueryPhoneBusinessProfileResponseUnmarshaller.java index f58bd7c72a..5f7b534197 100644 --- a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/QueryPhoneBusinessProfileResponseUnmarshaller.java +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/QueryPhoneBusinessProfileResponseUnmarshaller.java @@ -37,6 +37,7 @@ public static QueryPhoneBusinessProfileResponse unmarshall(QueryPhoneBusinessPro data.setVertical(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Data.Vertical")); data.setEmail(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Data.Email")); data.setProfilePictureUrl(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Data.ProfilePictureUrl")); + data.setAbout(_ctx.stringValue("QueryPhoneBusinessProfileResponse.Data.About")); List websites = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("QueryPhoneBusinessProfileResponse.Data.Websites.Length"); i++) { diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdateFlowJSONAssetResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdateFlowJSONAssetResponseUnmarshaller.java new file mode 100644 index 0000000000..96bb799058 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdateFlowJSONAssetResponseUnmarshaller.java @@ -0,0 +1,36 @@ +/* + * 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.UpdateFlowJSONAssetResponse; +import com.aliyuncs.cams.model.v20200606.UpdateFlowJSONAssetResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateFlowJSONAssetResponseUnmarshaller { + + public static UpdateFlowJSONAssetResponse unmarshall(UpdateFlowJSONAssetResponse updateFlowJSONAssetResponse, UnmarshallerContext _ctx) { + + updateFlowJSONAssetResponse.setRequestId(_ctx.stringValue("UpdateFlowJSONAssetResponse.RequestId")); + updateFlowJSONAssetResponse.setCode(_ctx.stringValue("UpdateFlowJSONAssetResponse.Code")); + updateFlowJSONAssetResponse.setMessage(_ctx.stringValue("UpdateFlowJSONAssetResponse.Message")); + + Data data = new Data(); + data.setFlowId(_ctx.stringValue("UpdateFlowJSONAssetResponse.Data.FlowId")); + updateFlowJSONAssetResponse.setData(data); + + return updateFlowJSONAssetResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdatePhoneEncryptionPublicKeyResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdatePhoneEncryptionPublicKeyResponseUnmarshaller.java new file mode 100644 index 0000000000..b3c5423fd7 --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdatePhoneEncryptionPublicKeyResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * 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.UpdatePhoneEncryptionPublicKeyResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdatePhoneEncryptionPublicKeyResponseUnmarshaller { + + public static UpdatePhoneEncryptionPublicKeyResponse unmarshall(UpdatePhoneEncryptionPublicKeyResponse updatePhoneEncryptionPublicKeyResponse, UnmarshallerContext _ctx) { + + updatePhoneEncryptionPublicKeyResponse.setRequestId(_ctx.stringValue("UpdatePhoneEncryptionPublicKeyResponse.RequestId")); + updatePhoneEncryptionPublicKeyResponse.setCode(_ctx.stringValue("UpdatePhoneEncryptionPublicKeyResponse.Code")); + updatePhoneEncryptionPublicKeyResponse.setMessage(_ctx.stringValue("UpdatePhoneEncryptionPublicKeyResponse.Message")); + + return updatePhoneEncryptionPublicKeyResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdatePhoneMessageQrdlResponseUnmarshaller.java b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdatePhoneMessageQrdlResponseUnmarshaller.java new file mode 100644 index 0000000000..f63e92418b --- /dev/null +++ b/aliyun-java-sdk-cams/src/main/java/com/aliyuncs/cams/transform/v20200606/UpdatePhoneMessageQrdlResponseUnmarshaller.java @@ -0,0 +1,41 @@ +/* + * 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.UpdatePhoneMessageQrdlResponse; +import com.aliyuncs.cams.model.v20200606.UpdatePhoneMessageQrdlResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdatePhoneMessageQrdlResponseUnmarshaller { + + public static UpdatePhoneMessageQrdlResponse unmarshall(UpdatePhoneMessageQrdlResponse updatePhoneMessageQrdlResponse, UnmarshallerContext _ctx) { + + updatePhoneMessageQrdlResponse.setRequestId(_ctx.stringValue("UpdatePhoneMessageQrdlResponse.RequestId")); + updatePhoneMessageQrdlResponse.setCode(_ctx.stringValue("UpdatePhoneMessageQrdlResponse.Code")); + updatePhoneMessageQrdlResponse.setMessage(_ctx.stringValue("UpdatePhoneMessageQrdlResponse.Message")); + + Data data = new Data(); + data.setPhoneNumber(_ctx.stringValue("UpdatePhoneMessageQrdlResponse.Data.PhoneNumber")); + data.setQrdlCode(_ctx.stringValue("UpdatePhoneMessageQrdlResponse.Data.QrdlCode")); + data.setGenerateQrImage(_ctx.stringValue("UpdatePhoneMessageQrdlResponse.Data.GenerateQrImage")); + data.setPrefilledMessage(_ctx.stringValue("UpdatePhoneMessageQrdlResponse.Data.PrefilledMessage")); + data.setDeepLinkUrl(_ctx.stringValue("UpdatePhoneMessageQrdlResponse.Data.DeepLinkUrl")); + data.setQrImageUrl(_ctx.stringValue("UpdatePhoneMessageQrdlResponse.Data.QrImageUrl")); + updatePhoneMessageQrdlResponse.setData(data); + + return updatePhoneMessageQrdlResponse; + } +} \ No newline at end of file