From 969c3f7e9a0d1f899af48d666baca1b1fbc0a406 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 30 Oct 2023 03:36:43 +0000 Subject: [PATCH] Update to support new apis. --- aliyun-java-sdk-live/ChangeLog.txt | 3 + aliyun-java-sdk-live/pom.xml | 2 +- .../CheckLiveMessageUsersInGroupRequest.java | 103 ++++++++++ .../CheckLiveMessageUsersInGroupResponse.java | 80 ++++++++ .../CheckLiveMessageUsersOnlineRequest.java | 90 +++++++++ .../CheckLiveMessageUsersOnlineResponse.java | 80 ++++++++ .../CreateLiveMessageAppRequest.java | 108 +++++++++++ .../CreateLiveMessageAppResponse.java | 76 ++++++++ .../CreateLiveMessageGroupRequest.java | 142 ++++++++++++++ .../CreateLiveMessageGroupResponse.java | 76 ++++++++ .../DeleteLiveMessageGroupRequest.java | 95 +++++++++ .../DeleteLiveMessageGroupResponse.java | 56 ++++++ .../DescribeLiveMessageAppRequest.java | 69 +++++++ .../DescribeLiveMessageAppResponse.java | 116 +++++++++++ .../DescribeLiveMessageGroupBandRequest.java | 82 ++++++++ .../DescribeLiveMessageGroupBandResponse.java | 87 +++++++++ .../DescribeLiveMessageGroupRequest.java | 82 ++++++++ .../DescribeLiveMessageGroupResponse.java | 168 ++++++++++++++++ .../KickLiveMessageGroupUserRequest.java | 95 +++++++++ .../KickLiveMessageGroupUserResponse.java | 46 +++++ .../v20161101/ListLiveMessageAppsRequest.java | 82 ++++++++ .../ListLiveMessageAppsResponse.java | 120 ++++++++++++ .../ListLiveMessageGroupMessagesRequest.java | 160 +++++++++++++++ .../ListLiveMessageGroupMessagesResponse.java | 183 ++++++++++++++++++ .../ListLiveMessageGroupUsersRequest.java | 121 ++++++++++++ .../ListLiveMessageGroupUsersResponse.java | 110 +++++++++++ .../ListLiveMessageGroupsRequest.java | 95 +++++++++ .../ListLiveMessageGroupsResponse.java | 150 ++++++++++++++ .../ModifyLiveMessageAppAuditRequest.java | 95 +++++++++ .../ModifyLiveMessageAppAuditResponse.java | 96 +++++++++ .../ModifyLiveMessageAppCallbackRequest.java | 82 ++++++++ .../ModifyLiveMessageAppCallbackResponse.java | 86 ++++++++ .../ModifyLiveMessageAppDisableRequest.java | 82 ++++++++ .../ModifyLiveMessageAppDisableResponse.java | 76 ++++++++ .../ModifyLiveMessageGroupBandRequest.java | 136 +++++++++++++ .../ModifyLiveMessageGroupBandResponse.java | 46 +++++ .../ModifyLiveMessageGroupRequest.java | 142 ++++++++++++++ .../ModifyLiveMessageGroupResponse.java | 46 +++++ .../ModifyLiveMessageUserInfoRequest.java | 95 +++++++++ .../ModifyLiveMessageUserInfoResponse.java | 46 +++++ .../SendLiveMessageGroupRequest.java | 147 ++++++++++++++ .../SendLiveMessageGroupResponse.java | 46 +++++ .../v20161101/SendLiveMessageUserRequest.java | 147 ++++++++++++++ .../SendLiveMessageUserResponse.java | 46 +++++ ...ssageUsersInGroupResponseUnmarshaller.java | 43 ++++ ...essageUsersOnlineResponseUnmarshaller.java | 43 ++++ ...ateLiveMessageAppResponseUnmarshaller.java | 32 +++ ...eLiveMessageGroupResponseUnmarshaller.java | 32 +++ ...eLiveMessageGroupResponseUnmarshaller.java | 30 +++ ...ibeLiveMessageAppResponseUnmarshaller.java | 36 ++++ ...eMessageGroupBandResponseUnmarshaller.java | 46 +++++ ...eLiveMessageGroupResponseUnmarshaller.java | 50 +++++ ...eMessageGroupUserResponseUnmarshaller.java | 29 +++ ...stLiveMessageAppsResponseUnmarshaller.java | 47 +++++ ...sageGroupMessagesResponseUnmarshaller.java | 56 ++++++ ...MessageGroupUsersResponseUnmarshaller.java | 46 +++++ ...LiveMessageGroupsResponseUnmarshaller.java | 55 ++++++ ...veMessageAppAuditResponseUnmarshaller.java | 34 ++++ ...essageAppCallbackResponseUnmarshaller.java | 33 ++++ ...MessageAppDisableResponseUnmarshaller.java | 32 +++ ...eMessageGroupBandResponseUnmarshaller.java | 29 +++ ...yLiveMessageGroupResponseUnmarshaller.java | 29 +++ ...veMessageUserInfoResponseUnmarshaller.java | 29 +++ ...dLiveMessageGroupResponseUnmarshaller.java | 29 +++ ...ndLiveMessageUserResponseUnmarshaller.java | 29 +++ 65 files changed, 4879 insertions(+), 1 deletion(-) create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersInGroupRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersInGroupResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersOnlineRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersOnlineResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageAppRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageAppResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageGroupRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageGroupResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveMessageGroupRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveMessageGroupResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageAppRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageAppResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupBandRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupBandResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/KickLiveMessageGroupUserRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/KickLiveMessageGroupUserResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageAppsRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageAppsResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupMessagesRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupMessagesResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupUsersRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupUsersResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupsRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupsResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppAuditRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppAuditResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppCallbackRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppCallbackResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppDisableRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppDisableResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupBandRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupBandResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageUserInfoRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageUserInfoResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageGroupRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageGroupResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageUserRequest.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageUserResponse.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CheckLiveMessageUsersInGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CheckLiveMessageUsersOnlineResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CreateLiveMessageAppResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CreateLiveMessageGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DeleteLiveMessageGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveMessageAppResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveMessageGroupBandResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveMessageGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/KickLiveMessageGroupUserResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageAppsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupMessagesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupUsersResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageAppAuditResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageAppCallbackResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageAppDisableResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageGroupBandResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageUserInfoResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/SendLiveMessageGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/SendLiveMessageUserResponseUnmarshaller.java diff --git a/aliyun-java-sdk-live/ChangeLog.txt b/aliyun-java-sdk-live/ChangeLog.txt index 2621221445..d0e150dca0 100644 --- a/aliyun-java-sdk-live/ChangeLog.txt +++ b/aliyun-java-sdk-live/ChangeLog.txt @@ -1,3 +1,6 @@ +2023-10-30 Version: 3.9.40 +- Update to support new apis. + 2023-10-18 Version: 3.9.39 - Update to support new apis. diff --git a/aliyun-java-sdk-live/pom.xml b/aliyun-java-sdk-live/pom.xml index 47fc043384..1abd3f3cbd 100644 --- a/aliyun-java-sdk-live/pom.xml +++ b/aliyun-java-sdk-live/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-live jar - 3.9.39 + 3.9.40 aliyun-java-sdk-live http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersInGroupRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersInGroupRequest.java new file mode 100644 index 0000000000..6a7fb1179c --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersInGroupRequest.java @@ -0,0 +1,103 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class CheckLiveMessageUsersInGroupRequest extends RpcAcsRequest { + + + private String groupId; + + private String dataCenter; + + private List userIds; + + private String appId; + public CheckLiveMessageUsersInGroupRequest() { + super("live", "2016-11-01", "CheckLiveMessageUsersInGroup", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public List getUserIds() { + return this.userIds; + } + + public void setUserIds(List userIds) { + this.userIds = userIds; + if (userIds != null) { + String userIdsArrVal = ""; + for(int depth1 = 0; depth1 < userIds.size(); depth1++) { + userIdsArrVal += userIds.get(depth1) + ","; + } + if (userIdsArrVal.length() > 0) { + userIdsArrVal = userIdsArrVal.substring(0, userIdsArrVal.length() - 1); + } + putQueryParameter("UserIds" , userIdsArrVal); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + @Override + public Class getResponseClass() { + return CheckLiveMessageUsersInGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersInGroupResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersInGroupResponse.java new file mode 100644 index 0000000000..7061f62fd6 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersInGroupResponse.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.live.model.v20161101; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.CheckLiveMessageUsersInGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CheckLiveMessageUsersInGroupResponse extends AcsResponse { + + private String requestId; + + private List users; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getUsers() { + return this.users; + } + + public void setUsers(List users) { + this.users = users; + } + + public static class UsersItem { + + private String userId; + + private Boolean online; + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public Boolean getOnline() { + return this.online; + } + + public void setOnline(Boolean online) { + this.online = online; + } + } + + @Override + public CheckLiveMessageUsersInGroupResponse getInstance(UnmarshallerContext context) { + return CheckLiveMessageUsersInGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersOnlineRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersOnlineRequest.java new file mode 100644 index 0000000000..44790a5877 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersOnlineRequest.java @@ -0,0 +1,90 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class CheckLiveMessageUsersOnlineRequest extends RpcAcsRequest { + + + private String dataCenter; + + private List userIds; + + private String appId; + public CheckLiveMessageUsersOnlineRequest() { + super("live", "2016-11-01", "CheckLiveMessageUsersOnline", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public List getUserIds() { + return this.userIds; + } + + public void setUserIds(List userIds) { + this.userIds = userIds; + if (userIds != null) { + String userIdsArrVal = ""; + for(int depth1 = 0; depth1 < userIds.size(); depth1++) { + userIdsArrVal += userIds.get(depth1) + ","; + } + if (userIdsArrVal.length() > 0) { + userIdsArrVal = userIdsArrVal.substring(0, userIdsArrVal.length() - 1); + } + putQueryParameter("UserIds" , userIdsArrVal); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + @Override + public Class getResponseClass() { + return CheckLiveMessageUsersOnlineResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersOnlineResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersOnlineResponse.java new file mode 100644 index 0000000000..387138f898 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersOnlineResponse.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.live.model.v20161101; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.CheckLiveMessageUsersOnlineResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CheckLiveMessageUsersOnlineResponse extends AcsResponse { + + private String requestId; + + private List userList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getUserList() { + return this.userList; + } + + public void setUserList(List userList) { + this.userList = userList; + } + + public static class Users { + + private String userId; + + private Boolean online; + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public Boolean getOnline() { + return this.online; + } + + public void setOnline(Boolean online) { + this.online = online; + } + } + + @Override + public CheckLiveMessageUsersOnlineResponse getInstance(UnmarshallerContext context) { + return CheckLiveMessageUsersOnlineResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageAppRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageAppRequest.java new file mode 100644 index 0000000000..35aa592f05 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageAppRequest.java @@ -0,0 +1,108 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class CreateLiveMessageAppRequest extends RpcAcsRequest { + + + private String dataCenter; + + private String appName; + + private Integer auditType; + + private String auditUrl; + + private String eventCallbackUrl; + public CreateLiveMessageAppRequest() { + super("live", "2016-11-01", "CreateLiveMessageApp", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public Integer getAuditType() { + return this.auditType; + } + + public void setAuditType(Integer auditType) { + this.auditType = auditType; + if(auditType != null){ + putQueryParameter("AuditType", auditType.toString()); + } + } + + public String getAuditUrl() { + return this.auditUrl; + } + + public void setAuditUrl(String auditUrl) { + this.auditUrl = auditUrl; + if(auditUrl != null){ + putQueryParameter("AuditUrl", auditUrl); + } + } + + public String getEventCallbackUrl() { + return this.eventCallbackUrl; + } + + public void setEventCallbackUrl(String eventCallbackUrl) { + this.eventCallbackUrl = eventCallbackUrl; + if(eventCallbackUrl != null){ + putQueryParameter("EventCallbackUrl", eventCallbackUrl); + } + } + + @Override + public Class getResponseClass() { + return CreateLiveMessageAppResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageAppResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageAppResponse.java new file mode 100644 index 0000000000..3b71c3f19e --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageAppResponse.java @@ -0,0 +1,76 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.CreateLiveMessageAppResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateLiveMessageAppResponse extends AcsResponse { + + private String requestId; + + private String appId; + + private String appKey; + + private String appSign; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + } + + public String getAppKey() { + return this.appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public String getAppSign() { + return this.appSign; + } + + public void setAppSign(String appSign) { + this.appSign = appSign; + } + + @Override + public CreateLiveMessageAppResponse getInstance(UnmarshallerContext context) { + return CreateLiveMessageAppResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageGroupRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageGroupRequest.java new file mode 100644 index 0000000000..a239e89296 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageGroupRequest.java @@ -0,0 +1,142 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class CreateLiveMessageGroupRequest extends RpcAcsRequest { + + + private String groupId; + + private String groupInfo; + + private String creatorId; + + private String dataCenter; + + private String groupName; + + private String appId; + + private List administrators; + public CreateLiveMessageGroupRequest() { + super("live", "2016-11-01", "CreateLiveMessageGroup", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public String getGroupInfo() { + return this.groupInfo; + } + + public void setGroupInfo(String groupInfo) { + this.groupInfo = groupInfo; + if(groupInfo != null){ + putQueryParameter("GroupInfo", groupInfo); + } + } + + public String getCreatorId() { + return this.creatorId; + } + + public void setCreatorId(String creatorId) { + this.creatorId = creatorId; + if(creatorId != null){ + putQueryParameter("CreatorId", creatorId); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getGroupName() { + return this.groupName; + } + + public void setGroupName(String groupName) { + this.groupName = groupName; + if(groupName != null){ + putQueryParameter("GroupName", groupName); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + public List getAdministrators() { + return this.administrators; + } + + public void setAdministrators(List administrators) { + this.administrators = administrators; + if (administrators != null) { + String administratorsArrVal = ""; + for(int depth1 = 0; depth1 < administrators.size(); depth1++) { + administratorsArrVal += administrators.get(depth1) + ","; + } + if (administratorsArrVal.length() > 0) { + administratorsArrVal = administratorsArrVal.substring(0, administratorsArrVal.length() - 1); + } + putQueryParameter("Administrators" , administratorsArrVal); + } + } + + @Override + public Class getResponseClass() { + return CreateLiveMessageGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageGroupResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageGroupResponse.java new file mode 100644 index 0000000000..9051bd3d3e --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateLiveMessageGroupResponse.java @@ -0,0 +1,76 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.CreateLiveMessageGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateLiveMessageGroupResponse extends AcsResponse { + + private String requestId; + + private String groupId; + + private Boolean alreadyExists; + + private Boolean alreadyDelete; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + public Boolean getAlreadyExists() { + return this.alreadyExists; + } + + public void setAlreadyExists(Boolean alreadyExists) { + this.alreadyExists = alreadyExists; + } + + public Boolean getAlreadyDelete() { + return this.alreadyDelete; + } + + public void setAlreadyDelete(Boolean alreadyDelete) { + this.alreadyDelete = alreadyDelete; + } + + @Override + public CreateLiveMessageGroupResponse getInstance(UnmarshallerContext context) { + return CreateLiveMessageGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveMessageGroupRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveMessageGroupRequest.java new file mode 100644 index 0000000000..599da715ca --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveMessageGroupRequest.java @@ -0,0 +1,95 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class DeleteLiveMessageGroupRequest extends RpcAcsRequest { + + + private String groupId; + + private String dataCenter; + + private String appId; + + private String operatorId; + public DeleteLiveMessageGroupRequest() { + super("live", "2016-11-01", "DeleteLiveMessageGroup", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + public String getOperatorId() { + return this.operatorId; + } + + public void setOperatorId(String operatorId) { + this.operatorId = operatorId; + if(operatorId != null){ + putQueryParameter("OperatorId", operatorId); + } + } + + @Override + public Class getResponseClass() { + return DeleteLiveMessageGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveMessageGroupResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveMessageGroupResponse.java new file mode 100644 index 0000000000..e83886af40 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveMessageGroupResponse.java @@ -0,0 +1,56 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.DeleteLiveMessageGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteLiveMessageGroupResponse extends AcsResponse { + + private String requestId; + + private String groupId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + @Override + public DeleteLiveMessageGroupResponse getInstance(UnmarshallerContext context) { + return DeleteLiveMessageGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageAppRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageAppRequest.java new file mode 100644 index 0000000000..4ed65c4639 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageAppRequest.java @@ -0,0 +1,69 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribeLiveMessageAppRequest extends RpcAcsRequest { + + + private String dataCenter; + + private String appId; + public DescribeLiveMessageAppRequest() { + super("live", "2016-11-01", "DescribeLiveMessageApp", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + @Override + public Class getResponseClass() { + return DescribeLiveMessageAppResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageAppResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageAppResponse.java new file mode 100644 index 0000000000..e42c353128 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageAppResponse.java @@ -0,0 +1,116 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.DescribeLiveMessageAppResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeLiveMessageAppResponse extends AcsResponse { + + private String requestId; + + private String appId; + + private String appKey; + + private String appSign; + + private Integer auditType; + + private String auditUrl; + + private String callbackUrl; + + private Boolean disable; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + } + + public String getAppKey() { + return this.appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public String getAppSign() { + return this.appSign; + } + + public void setAppSign(String appSign) { + this.appSign = appSign; + } + + public Integer getAuditType() { + return this.auditType; + } + + public void setAuditType(Integer auditType) { + this.auditType = auditType; + } + + public String getAuditUrl() { + return this.auditUrl; + } + + public void setAuditUrl(String auditUrl) { + this.auditUrl = auditUrl; + } + + public String getCallbackUrl() { + return this.callbackUrl; + } + + public void setCallbackUrl(String callbackUrl) { + this.callbackUrl = callbackUrl; + } + + public Boolean getDisable() { + return this.disable; + } + + public void setDisable(Boolean disable) { + this.disable = disable; + } + + @Override + public DescribeLiveMessageAppResponse getInstance(UnmarshallerContext context) { + return DescribeLiveMessageAppResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupBandRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupBandRequest.java new file mode 100644 index 0000000000..ef2d432b63 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupBandRequest.java @@ -0,0 +1,82 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribeLiveMessageGroupBandRequest extends RpcAcsRequest { + + + private String groupId; + + private String dataCenter; + + private String appId; + public DescribeLiveMessageGroupBandRequest() { + super("live", "2016-11-01", "DescribeLiveMessageGroupBand", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + @Override + public Class getResponseClass() { + return DescribeLiveMessageGroupBandResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupBandResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupBandResponse.java new file mode 100644 index 0000000000..7c61164c7c --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupBandResponse.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.live.model.v20161101; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.DescribeLiveMessageGroupBandResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeLiveMessageGroupBandResponse extends AcsResponse { + + private String requestId; + + private String groupId; + + private Boolean isbannedAll; + + private List bannedUserList; + + private List unbannedUserList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + public Boolean getIsbannedAll() { + return this.isbannedAll; + } + + public void setIsbannedAll(Boolean isbannedAll) { + this.isbannedAll = isbannedAll; + } + + public List getBannedUserList() { + return this.bannedUserList; + } + + public void setBannedUserList(List bannedUserList) { + this.bannedUserList = bannedUserList; + } + + public List getUnbannedUserList() { + return this.unbannedUserList; + } + + public void setUnbannedUserList(List unbannedUserList) { + this.unbannedUserList = unbannedUserList; + } + + @Override + public DescribeLiveMessageGroupBandResponse getInstance(UnmarshallerContext context) { + return DescribeLiveMessageGroupBandResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupRequest.java new file mode 100644 index 0000000000..6627a2b66b --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupRequest.java @@ -0,0 +1,82 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribeLiveMessageGroupRequest extends RpcAcsRequest { + + + private String groupId; + + private String dataCenter; + + private String appId; + public DescribeLiveMessageGroupRequest() { + super("live", "2016-11-01", "DescribeLiveMessageGroup", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + @Override + public Class getResponseClass() { + return DescribeLiveMessageGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupResponse.java new file mode 100644 index 0000000000..e6f8e7ed65 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveMessageGroupResponse.java @@ -0,0 +1,168 @@ +/* + * 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.live.model.v20161101; + +import java.util.List; +import java.util.Map; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.DescribeLiveMessageGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeLiveMessageGroupResponse extends AcsResponse { + + private String requestId; + + private String groupId; + + private String creatorId; + + private Long createtime; + + private String groupName; + + private String groupInfo; + + private Boolean delete; + + private Long totalTimes; + + private Long onlineUserCounts; + + private Map msgAmount; + + private Long deletatime; + + private String deletor; + + private List adminList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + public String getCreatorId() { + return this.creatorId; + } + + public void setCreatorId(String creatorId) { + this.creatorId = creatorId; + } + + public Long getCreatetime() { + return this.createtime; + } + + public void setCreatetime(Long createtime) { + this.createtime = createtime; + } + + public String getGroupName() { + return this.groupName; + } + + public void setGroupName(String groupName) { + this.groupName = groupName; + } + + public String getGroupInfo() { + return this.groupInfo; + } + + public void setGroupInfo(String groupInfo) { + this.groupInfo = groupInfo; + } + + public Boolean getDelete() { + return this.delete; + } + + public void setDelete(Boolean delete) { + this.delete = delete; + } + + public Long getTotalTimes() { + return this.totalTimes; + } + + public void setTotalTimes(Long totalTimes) { + this.totalTimes = totalTimes; + } + + public Long getOnlineUserCounts() { + return this.onlineUserCounts; + } + + public void setOnlineUserCounts(Long onlineUserCounts) { + this.onlineUserCounts = onlineUserCounts; + } + + public Map getMsgAmount() { + return this.msgAmount; + } + + public void setMsgAmount(Map msgAmount) { + this.msgAmount = msgAmount; + } + + public Long getDeletatime() { + return this.deletatime; + } + + public void setDeletatime(Long deletatime) { + this.deletatime = deletatime; + } + + public String getDeletor() { + return this.deletor; + } + + public void setDeletor(String deletor) { + this.deletor = deletor; + } + + public List getAdminList() { + return this.adminList; + } + + public void setAdminList(List adminList) { + this.adminList = adminList; + } + + @Override + public DescribeLiveMessageGroupResponse getInstance(UnmarshallerContext context) { + return DescribeLiveMessageGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/KickLiveMessageGroupUserRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/KickLiveMessageGroupUserRequest.java new file mode 100644 index 0000000000..9c5cd93dc8 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/KickLiveMessageGroupUserRequest.java @@ -0,0 +1,95 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class KickLiveMessageGroupUserRequest extends RpcAcsRequest { + + + private String groupId; + + private String dataCenter; + + private String kickoffUser; + + private String appId; + public KickLiveMessageGroupUserRequest() { + super("live", "2016-11-01", "KickLiveMessageGroupUser", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getKickoffUser() { + return this.kickoffUser; + } + + public void setKickoffUser(String kickoffUser) { + this.kickoffUser = kickoffUser; + if(kickoffUser != null){ + putQueryParameter("KickoffUser", kickoffUser); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + @Override + public Class getResponseClass() { + return KickLiveMessageGroupUserResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/KickLiveMessageGroupUserResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/KickLiveMessageGroupUserResponse.java new file mode 100644 index 0000000000..bb8cdadcc7 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/KickLiveMessageGroupUserResponse.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.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.KickLiveMessageGroupUserResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class KickLiveMessageGroupUserResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public KickLiveMessageGroupUserResponse getInstance(UnmarshallerContext context) { + return KickLiveMessageGroupUserResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageAppsRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageAppsRequest.java new file mode 100644 index 0000000000..bbb5a0c789 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageAppsRequest.java @@ -0,0 +1,82 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class ListLiveMessageAppsRequest extends RpcAcsRequest { + + + private Integer sortType; + + private Long nextPageToken; + + private String dataCenter; + public ListLiveMessageAppsRequest() { + super("live", "2016-11-01", "ListLiveMessageApps", "live"); + setProtocol(ProtocolType.HTTPS); + 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 Integer getSortType() { + return this.sortType; + } + + public void setSortType(Integer sortType) { + this.sortType = sortType; + if(sortType != null){ + putQueryParameter("SortType", sortType.toString()); + } + } + + public Long getNextPageToken() { + return this.nextPageToken; + } + + public void setNextPageToken(Long nextPageToken) { + this.nextPageToken = nextPageToken; + if(nextPageToken != null){ + putQueryParameter("NextPageToken", nextPageToken.toString()); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + @Override + public Class getResponseClass() { + return ListLiveMessageAppsResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageAppsResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageAppsResponse.java new file mode 100644 index 0000000000..9f3100e79c --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageAppsResponse.java @@ -0,0 +1,120 @@ +/* + * 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.live.model.v20161101; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.ListLiveMessageAppsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListLiveMessageAppsResponse extends AcsResponse { + + private String requestId; + + private Boolean hasMore; + + private Long nextPageToken; + + private List appList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getHasMore() { + return this.hasMore; + } + + public void setHasMore(Boolean hasMore) { + this.hasMore = hasMore; + } + + public Long getNextPageToken() { + return this.nextPageToken; + } + + public void setNextPageToken(Long nextPageToken) { + this.nextPageToken = nextPageToken; + } + + public List getAppList() { + return this.appList; + } + + public void setAppList(List appList) { + this.appList = appList; + } + + public static class Apps { + + private String appId; + + private String appKey; + + private String appSign; + + private String disable; + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + } + + public String getAppKey() { + return this.appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public String getAppSign() { + return this.appSign; + } + + public void setAppSign(String appSign) { + this.appSign = appSign; + } + + public String getDisable() { + return this.disable; + } + + public void setDisable(String disable) { + this.disable = disable; + } + } + + @Override + public ListLiveMessageAppsResponse getInstance(UnmarshallerContext context) { + return ListLiveMessageAppsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupMessagesRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupMessagesRequest.java new file mode 100644 index 0000000000..c7cce79353 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupMessagesRequest.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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class ListLiveMessageGroupMessagesRequest extends RpcAcsRequest { + + + private Integer sortType; + + private Long nextPageToken; + + private String groupId; + + private Long endTime; + + private Long beginTime; + + private String dataCenter; + + private String appId; + + private Integer pageSize; + + private Long msgType; + public ListLiveMessageGroupMessagesRequest() { + super("live", "2016-11-01", "ListLiveMessageGroupMessages", "live"); + setProtocol(ProtocolType.HTTPS); + 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 Integer getSortType() { + return this.sortType; + } + + public void setSortType(Integer sortType) { + this.sortType = sortType; + if(sortType != null){ + putQueryParameter("SortType", sortType.toString()); + } + } + + public Long getNextPageToken() { + return this.nextPageToken; + } + + public void setNextPageToken(Long nextPageToken) { + this.nextPageToken = nextPageToken; + if(nextPageToken != null){ + putQueryParameter("NextPageToken", nextPageToken.toString()); + } + } + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime.toString()); + } + } + + public Long getBeginTime() { + return this.beginTime; + } + + public void setBeginTime(Long beginTime) { + this.beginTime = beginTime; + if(beginTime != null){ + putQueryParameter("BeginTime", beginTime.toString()); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public Long getMsgType() { + return this.msgType; + } + + public void setMsgType(Long msgType) { + this.msgType = msgType; + if(msgType != null){ + putQueryParameter("MsgType", msgType.toString()); + } + } + + @Override + public Class getResponseClass() { + return ListLiveMessageGroupMessagesResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupMessagesResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupMessagesResponse.java new file mode 100644 index 0000000000..920b619a00 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupMessagesResponse.java @@ -0,0 +1,183 @@ +/* + * 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.live.model.v20161101; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.ListLiveMessageGroupMessagesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListLiveMessageGroupMessagesResponse extends AcsResponse { + + private String requestId; + + private String groupId; + + private Long nextPageToken; + + private Boolean hasmore; + + private List messageList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + public Long getNextPageToken() { + return this.nextPageToken; + } + + public void setNextPageToken(Long nextPageToken) { + this.nextPageToken = nextPageToken; + } + + public Boolean getHasmore() { + return this.hasmore; + } + + public void setHasmore(Boolean hasmore) { + this.hasmore = hasmore; + } + + public List getMessageList() { + return this.messageList; + } + + public void setMessageList(List messageList) { + this.messageList = messageList; + } + + public static class Messages { + + private String body; + + private Long timestamp; + + private String msgTid; + + private Long msgType; + + private Long seqNumber; + + private Long totalMessages; + + private Sender sender; + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + } + + public Long getTimestamp() { + return this.timestamp; + } + + public void setTimestamp(Long timestamp) { + this.timestamp = timestamp; + } + + public String getMsgTid() { + return this.msgTid; + } + + public void setMsgTid(String msgTid) { + this.msgTid = msgTid; + } + + public Long getMsgType() { + return this.msgType; + } + + public void setMsgType(Long msgType) { + this.msgType = msgType; + } + + public Long getSeqNumber() { + return this.seqNumber; + } + + public void setSeqNumber(Long seqNumber) { + this.seqNumber = seqNumber; + } + + public Long getTotalMessages() { + return this.totalMessages; + } + + public void setTotalMessages(Long totalMessages) { + this.totalMessages = totalMessages; + } + + public Sender getSender() { + return this.sender; + } + + public void setSender(Sender sender) { + this.sender = sender; + } + + public static class Sender { + + private String userId; + + private String userInfo; + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getUserInfo() { + return this.userInfo; + } + + public void setUserInfo(String userInfo) { + this.userInfo = userInfo; + } + } + } + + @Override + public ListLiveMessageGroupMessagesResponse getInstance(UnmarshallerContext context) { + return ListLiveMessageGroupMessagesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupUsersRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupUsersRequest.java new file mode 100644 index 0000000000..180349276d --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupUsersRequest.java @@ -0,0 +1,121 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class ListLiveMessageGroupUsersRequest extends RpcAcsRequest { + + + private Integer sortType; + + private Long nextPageToken; + + private String groupId; + + private String dataCenter; + + private String appId; + + private Integer pageSize; + public ListLiveMessageGroupUsersRequest() { + super("live", "2016-11-01", "ListLiveMessageGroupUsers", "live"); + setProtocol(ProtocolType.HTTPS); + 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 Integer getSortType() { + return this.sortType; + } + + public void setSortType(Integer sortType) { + this.sortType = sortType; + if(sortType != null){ + putQueryParameter("SortType", sortType.toString()); + } + } + + public Long getNextPageToken() { + return this.nextPageToken; + } + + public void setNextPageToken(Long nextPageToken) { + this.nextPageToken = nextPageToken; + if(nextPageToken != null){ + putQueryParameter("NextPageToken", nextPageToken.toString()); + } + } + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + @Override + public Class getResponseClass() { + return ListLiveMessageGroupUsersResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupUsersResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupUsersResponse.java new file mode 100644 index 0000000000..6a94e8c358 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupUsersResponse.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.live.model.v20161101; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.ListLiveMessageGroupUsersResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListLiveMessageGroupUsersResponse extends AcsResponse { + + private String requestId; + + private String groupId; + + private Long nextPageToken; + + private Boolean hasmore; + + private List userList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + public Long getNextPageToken() { + return this.nextPageToken; + } + + public void setNextPageToken(Long nextPageToken) { + this.nextPageToken = nextPageToken; + } + + public Boolean getHasmore() { + return this.hasmore; + } + + public void setHasmore(Boolean hasmore) { + this.hasmore = hasmore; + } + + public List getUserList() { + return this.userList; + } + + public void setUserList(List userList) { + this.userList = userList; + } + + public static class Users { + + private String userId; + + private String userInfo; + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getUserInfo() { + return this.userInfo; + } + + public void setUserInfo(String userInfo) { + this.userInfo = userInfo; + } + } + + @Override + public ListLiveMessageGroupUsersResponse getInstance(UnmarshallerContext context) { + return ListLiveMessageGroupUsersResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupsRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupsRequest.java new file mode 100644 index 0000000000..0d2ff1f9bb --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupsRequest.java @@ -0,0 +1,95 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class ListLiveMessageGroupsRequest extends RpcAcsRequest { + + + private Integer sortType; + + private Long nextPageToken; + + private String dataCenter; + + private String appId; + public ListLiveMessageGroupsRequest() { + super("live", "2016-11-01", "ListLiveMessageGroups", "live"); + setProtocol(ProtocolType.HTTPS); + 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 Integer getSortType() { + return this.sortType; + } + + public void setSortType(Integer sortType) { + this.sortType = sortType; + if(sortType != null){ + putQueryParameter("SortType", sortType.toString()); + } + } + + public Long getNextPageToken() { + return this.nextPageToken; + } + + public void setNextPageToken(Long nextPageToken) { + this.nextPageToken = nextPageToken; + if(nextPageToken != null){ + putQueryParameter("NextPageToken", nextPageToken.toString()); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + @Override + public Class getResponseClass() { + return ListLiveMessageGroupsResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupsResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupsResponse.java new file mode 100644 index 0000000000..0eda0f5084 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupsResponse.java @@ -0,0 +1,150 @@ +/* + * 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.live.model.v20161101; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.ListLiveMessageGroupsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListLiveMessageGroupsResponse extends AcsResponse { + + private String requestId; + + private Boolean hasmore; + + private String nextpageToken; + + private List groupList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getHasmore() { + return this.hasmore; + } + + public void setHasmore(Boolean hasmore) { + this.hasmore = hasmore; + } + + public String getNextpageToken() { + return this.nextpageToken; + } + + public void setNextpageToken(String nextpageToken) { + this.nextpageToken = nextpageToken; + } + + public List getGroupList() { + return this.groupList; + } + + public void setGroupList(List groupList) { + this.groupList = groupList; + } + + public static class Groups { + + private String groupId; + + private String creatorId; + + private Long createtime; + + private String groupName; + + private String groupInfo; + + private Boolean delete; + + private List adminList; + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + public String getCreatorId() { + return this.creatorId; + } + + public void setCreatorId(String creatorId) { + this.creatorId = creatorId; + } + + public Long getCreatetime() { + return this.createtime; + } + + public void setCreatetime(Long createtime) { + this.createtime = createtime; + } + + public String getGroupName() { + return this.groupName; + } + + public void setGroupName(String groupName) { + this.groupName = groupName; + } + + public String getGroupInfo() { + return this.groupInfo; + } + + public void setGroupInfo(String groupInfo) { + this.groupInfo = groupInfo; + } + + public Boolean getDelete() { + return this.delete; + } + + public void setDelete(Boolean delete) { + this.delete = delete; + } + + public List getAdminList() { + return this.adminList; + } + + public void setAdminList(List adminList) { + this.adminList = adminList; + } + } + + @Override + public ListLiveMessageGroupsResponse getInstance(UnmarshallerContext context) { + return ListLiveMessageGroupsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppAuditRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppAuditRequest.java new file mode 100644 index 0000000000..c18bcf1450 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppAuditRequest.java @@ -0,0 +1,95 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class ModifyLiveMessageAppAuditRequest extends RpcAcsRequest { + + + private String dataCenter; + + private String appId; + + private Integer auditType; + + private String auditUrl; + public ModifyLiveMessageAppAuditRequest() { + super("live", "2016-11-01", "ModifyLiveMessageAppAudit", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + public Integer getAuditType() { + return this.auditType; + } + + public void setAuditType(Integer auditType) { + this.auditType = auditType; + if(auditType != null){ + putQueryParameter("AuditType", auditType.toString()); + } + } + + public String getAuditUrl() { + return this.auditUrl; + } + + public void setAuditUrl(String auditUrl) { + this.auditUrl = auditUrl; + if(auditUrl != null){ + putQueryParameter("AuditUrl", auditUrl); + } + } + + @Override + public Class getResponseClass() { + return ModifyLiveMessageAppAuditResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppAuditResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppAuditResponse.java new file mode 100644 index 0000000000..390582b52d --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppAuditResponse.java @@ -0,0 +1,96 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.ModifyLiveMessageAppAuditResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyLiveMessageAppAuditResponse extends AcsResponse { + + private String requestId; + + private String appId; + + private String appSign; + + private Integer auditType; + + private String auditUrl; + + private Boolean auditNeedAuthentication; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + } + + public String getAppSign() { + return this.appSign; + } + + public void setAppSign(String appSign) { + this.appSign = appSign; + } + + public Integer getAuditType() { + return this.auditType; + } + + public void setAuditType(Integer auditType) { + this.auditType = auditType; + } + + public String getAuditUrl() { + return this.auditUrl; + } + + public void setAuditUrl(String auditUrl) { + this.auditUrl = auditUrl; + } + + public Boolean getAuditNeedAuthentication() { + return this.auditNeedAuthentication; + } + + public void setAuditNeedAuthentication(Boolean auditNeedAuthentication) { + this.auditNeedAuthentication = auditNeedAuthentication; + } + + @Override + public ModifyLiveMessageAppAuditResponse getInstance(UnmarshallerContext context) { + return ModifyLiveMessageAppAuditResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppCallbackRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppCallbackRequest.java new file mode 100644 index 0000000000..4dc1ec891f --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppCallbackRequest.java @@ -0,0 +1,82 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class ModifyLiveMessageAppCallbackRequest extends RpcAcsRequest { + + + private String dataCenter; + + private String appId; + + private String eventCallbackUrl; + public ModifyLiveMessageAppCallbackRequest() { + super("live", "2016-11-01", "ModifyLiveMessageAppCallback", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + public String getEventCallbackUrl() { + return this.eventCallbackUrl; + } + + public void setEventCallbackUrl(String eventCallbackUrl) { + this.eventCallbackUrl = eventCallbackUrl; + if(eventCallbackUrl != null){ + putQueryParameter("EventCallbackUrl", eventCallbackUrl); + } + } + + @Override + public Class getResponseClass() { + return ModifyLiveMessageAppCallbackResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppCallbackResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppCallbackResponse.java new file mode 100644 index 0000000000..4a1b292130 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppCallbackResponse.java @@ -0,0 +1,86 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.ModifyLiveMessageAppCallbackResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyLiveMessageAppCallbackResponse extends AcsResponse { + + private String requestId; + + private String appId; + + private String appSign; + + private String eventCallbackUrl; + + private Boolean eventCallbackNeedAuthentication; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + } + + public String getAppSign() { + return this.appSign; + } + + public void setAppSign(String appSign) { + this.appSign = appSign; + } + + public String getEventCallbackUrl() { + return this.eventCallbackUrl; + } + + public void setEventCallbackUrl(String eventCallbackUrl) { + this.eventCallbackUrl = eventCallbackUrl; + } + + public Boolean getEventCallbackNeedAuthentication() { + return this.eventCallbackNeedAuthentication; + } + + public void setEventCallbackNeedAuthentication(Boolean eventCallbackNeedAuthentication) { + this.eventCallbackNeedAuthentication = eventCallbackNeedAuthentication; + } + + @Override + public ModifyLiveMessageAppCallbackResponse getInstance(UnmarshallerContext context) { + return ModifyLiveMessageAppCallbackResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppDisableRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppDisableRequest.java new file mode 100644 index 0000000000..c0a396d0c1 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppDisableRequest.java @@ -0,0 +1,82 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class ModifyLiveMessageAppDisableRequest extends RpcAcsRequest { + + + private String dataCenter; + + private Boolean disable; + + private String appId; + public ModifyLiveMessageAppDisableRequest() { + super("live", "2016-11-01", "ModifyLiveMessageAppDisable", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public Boolean getDisable() { + return this.disable; + } + + public void setDisable(Boolean disable) { + this.disable = disable; + if(disable != null){ + putQueryParameter("Disable", disable.toString()); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + @Override + public Class getResponseClass() { + return ModifyLiveMessageAppDisableResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppDisableResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppDisableResponse.java new file mode 100644 index 0000000000..4740429ac9 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageAppDisableResponse.java @@ -0,0 +1,76 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.ModifyLiveMessageAppDisableResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyLiveMessageAppDisableResponse extends AcsResponse { + + private String requestId; + + private String appId; + + private String appSign; + + private Boolean disable; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + } + + public String getAppSign() { + return this.appSign; + } + + public void setAppSign(String appSign) { + this.appSign = appSign; + } + + public Boolean getDisable() { + return this.disable; + } + + public void setDisable(Boolean disable) { + this.disable = disable; + } + + @Override + public ModifyLiveMessageAppDisableResponse getInstance(UnmarshallerContext context) { + return ModifyLiveMessageAppDisableResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupBandRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupBandRequest.java new file mode 100644 index 0000000000..35613b2aa6 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupBandRequest.java @@ -0,0 +1,136 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class ModifyLiveMessageGroupBandRequest extends RpcAcsRequest { + + + private Boolean bannedAll; + + private String groupId; + + private List exceptUsers; + + private String dataCenter; + + private String appId; + + private List bannnedUsers; + public ModifyLiveMessageGroupBandRequest() { + super("live", "2016-11-01", "ModifyLiveMessageGroupBand", "live"); + setProtocol(ProtocolType.HTTPS); + 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 Boolean getBannedAll() { + return this.bannedAll; + } + + public void setBannedAll(Boolean bannedAll) { + this.bannedAll = bannedAll; + if(bannedAll != null){ + putQueryParameter("BannedAll", bannedAll.toString()); + } + } + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public List getExceptUsers() { + return this.exceptUsers; + } + + public void setExceptUsers(List exceptUsers) { + this.exceptUsers = exceptUsers; + if (exceptUsers != null) { + String exceptUsersArrVal = ""; + for(int depth1 = 0; depth1 < exceptUsers.size(); depth1++) { + exceptUsersArrVal += exceptUsers.get(depth1) + ","; + } + if (exceptUsersArrVal.length() > 0) { + exceptUsersArrVal = exceptUsersArrVal.substring(0, exceptUsersArrVal.length() - 1); + } + putQueryParameter("ExceptUsers" , exceptUsersArrVal); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + public List getBannnedUsers() { + return this.bannnedUsers; + } + + public void setBannnedUsers(List bannnedUsers) { + this.bannnedUsers = bannnedUsers; + if (bannnedUsers != null) { + String bannnedUsersArrVal = ""; + for(int depth1 = 0; depth1 < bannnedUsers.size(); depth1++) { + bannnedUsersArrVal += bannnedUsers.get(depth1) + ","; + } + if (bannnedUsersArrVal.length() > 0) { + bannnedUsersArrVal = bannnedUsersArrVal.substring(0, bannnedUsersArrVal.length() - 1); + } + putQueryParameter("BannnedUsers" , bannnedUsersArrVal); + } + } + + @Override + public Class getResponseClass() { + return ModifyLiveMessageGroupBandResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupBandResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupBandResponse.java new file mode 100644 index 0000000000..1c4794e2fd --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupBandResponse.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.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.ModifyLiveMessageGroupBandResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyLiveMessageGroupBandResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public ModifyLiveMessageGroupBandResponse getInstance(UnmarshallerContext context) { + return ModifyLiveMessageGroupBandResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupRequest.java new file mode 100644 index 0000000000..0cbd404d9e --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupRequest.java @@ -0,0 +1,142 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class ModifyLiveMessageGroupRequest extends RpcAcsRequest { + + + private String groupId; + + private String groupInfo; + + private String dataCenter; + + private Boolean modifyInfo; + + private List adminList; + + private String appId; + + private Boolean modifyAdmin; + public ModifyLiveMessageGroupRequest() { + super("live", "2016-11-01", "ModifyLiveMessageGroup", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public String getGroupInfo() { + return this.groupInfo; + } + + public void setGroupInfo(String groupInfo) { + this.groupInfo = groupInfo; + if(groupInfo != null){ + putQueryParameter("GroupInfo", groupInfo); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public Boolean getModifyInfo() { + return this.modifyInfo; + } + + public void setModifyInfo(Boolean modifyInfo) { + this.modifyInfo = modifyInfo; + if(modifyInfo != null){ + putQueryParameter("ModifyInfo", modifyInfo.toString()); + } + } + + public List getAdminList() { + return this.adminList; + } + + public void setAdminList(List adminList) { + this.adminList = adminList; + if (adminList != null) { + String adminListArrVal = ""; + for(int depth1 = 0; depth1 < adminList.size(); depth1++) { + adminListArrVal += adminList.get(depth1) + ","; + } + if (adminListArrVal.length() > 0) { + adminListArrVal = adminListArrVal.substring(0, adminListArrVal.length() - 1); + } + putQueryParameter("AdminList" , adminListArrVal); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + public Boolean getModifyAdmin() { + return this.modifyAdmin; + } + + public void setModifyAdmin(Boolean modifyAdmin) { + this.modifyAdmin = modifyAdmin; + if(modifyAdmin != null){ + putQueryParameter("ModifyAdmin", modifyAdmin.toString()); + } + } + + @Override + public Class getResponseClass() { + return ModifyLiveMessageGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupResponse.java new file mode 100644 index 0000000000..2b31ae69cd --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageGroupResponse.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.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.ModifyLiveMessageGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyLiveMessageGroupResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public ModifyLiveMessageGroupResponse getInstance(UnmarshallerContext context) { + return ModifyLiveMessageGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageUserInfoRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageUserInfoRequest.java new file mode 100644 index 0000000000..a63df2157a --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageUserInfoRequest.java @@ -0,0 +1,95 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class ModifyLiveMessageUserInfoRequest extends RpcAcsRequest { + + + private String dataCenter; + + private String userId; + + private String userMetaInfo; + + private String appId; + public ModifyLiveMessageUserInfoRequest() { + super("live", "2016-11-01", "ModifyLiveMessageUserInfo", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + if(userId != null){ + putQueryParameter("UserId", userId); + } + } + + public String getUserMetaInfo() { + return this.userMetaInfo; + } + + public void setUserMetaInfo(String userMetaInfo) { + this.userMetaInfo = userMetaInfo; + if(userMetaInfo != null){ + putQueryParameter("UserMetaInfo", userMetaInfo); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + @Override + public Class getResponseClass() { + return ModifyLiveMessageUserInfoResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageUserInfoResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageUserInfoResponse.java new file mode 100644 index 0000000000..2251020e55 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ModifyLiveMessageUserInfoResponse.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.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.ModifyLiveMessageUserInfoResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyLiveMessageUserInfoResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public ModifyLiveMessageUserInfoResponse getInstance(UnmarshallerContext context) { + return ModifyLiveMessageUserInfoResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageGroupRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageGroupRequest.java new file mode 100644 index 0000000000..42c74a8212 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageGroupRequest.java @@ -0,0 +1,147 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class SendLiveMessageGroupRequest extends RpcAcsRequest { + + + private String groupId; + + private String senderMetaInfo; + + private String dataCenter; + + private String msgTid; + + private String body; + + private String senderId; + + private String appId; + + private Long msgType; + public SendLiveMessageGroupRequest() { + super("live", "2016-11-01", "SendLiveMessageGroup", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + if(groupId != null){ + putQueryParameter("GroupId", groupId); + } + } + + public String getSenderMetaInfo() { + return this.senderMetaInfo; + } + + public void setSenderMetaInfo(String senderMetaInfo) { + this.senderMetaInfo = senderMetaInfo; + if(senderMetaInfo != null){ + putQueryParameter("SenderMetaInfo", senderMetaInfo); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getMsgTid() { + return this.msgTid; + } + + public void setMsgTid(String msgTid) { + this.msgTid = msgTid; + if(msgTid != null){ + putQueryParameter("MsgTid", msgTid); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putQueryParameter("Body", body); + } + } + + public String getSenderId() { + return this.senderId; + } + + public void setSenderId(String senderId) { + this.senderId = senderId; + if(senderId != null){ + putQueryParameter("SenderId", senderId); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + public Long getMsgType() { + return this.msgType; + } + + public void setMsgType(Long msgType) { + this.msgType = msgType; + if(msgType != null){ + putQueryParameter("MsgType", msgType.toString()); + } + } + + @Override + public Class getResponseClass() { + return SendLiveMessageGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageGroupResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageGroupResponse.java new file mode 100644 index 0000000000..e5a9d57c53 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageGroupResponse.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.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.SendLiveMessageGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class SendLiveMessageGroupResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public SendLiveMessageGroupResponse getInstance(UnmarshallerContext context) { + return SendLiveMessageGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageUserRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageUserRequest.java new file mode 100644 index 0000000000..00a3d5ba4c --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageUserRequest.java @@ -0,0 +1,147 @@ +/* + * 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.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class SendLiveMessageUserRequest extends RpcAcsRequest { + + + private String dataCenter; + + private String msgTid; + + private String body; + + private String senderId; + + private String receiverId; + + private String appId; + + private String senderInfo; + + private Long msgType; + public SendLiveMessageUserRequest() { + super("live", "2016-11-01", "SendLiveMessageUser", "live"); + setProtocol(ProtocolType.HTTPS); + 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 getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public String getMsgTid() { + return this.msgTid; + } + + public void setMsgTid(String msgTid) { + this.msgTid = msgTid; + if(msgTid != null){ + putQueryParameter("MsgTid", msgTid); + } + } + + public String getBody() { + return this.body; + } + + public void setBody(String body) { + this.body = body; + if(body != null){ + putQueryParameter("Body", body); + } + } + + public String getSenderId() { + return this.senderId; + } + + public void setSenderId(String senderId) { + this.senderId = senderId; + if(senderId != null){ + putQueryParameter("SenderId", senderId); + } + } + + public String getReceiverId() { + return this.receiverId; + } + + public void setReceiverId(String receiverId) { + this.receiverId = receiverId; + if(receiverId != null){ + putQueryParameter("ReceiverId", receiverId); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + public String getSenderInfo() { + return this.senderInfo; + } + + public void setSenderInfo(String senderInfo) { + this.senderInfo = senderInfo; + if(senderInfo != null){ + putQueryParameter("SenderInfo", senderInfo); + } + } + + public Long getMsgType() { + return this.msgType; + } + + public void setMsgType(Long msgType) { + this.msgType = msgType; + if(msgType != null){ + putQueryParameter("MsgType", msgType.toString()); + } + } + + @Override + public Class getResponseClass() { + return SendLiveMessageUserResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageUserResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageUserResponse.java new file mode 100644 index 0000000000..3a5b13a446 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/SendLiveMessageUserResponse.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.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.SendLiveMessageUserResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class SendLiveMessageUserResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public SendLiveMessageUserResponse getInstance(UnmarshallerContext context) { + return SendLiveMessageUserResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CheckLiveMessageUsersInGroupResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CheckLiveMessageUsersInGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..126c00c93b --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CheckLiveMessageUsersInGroupResponseUnmarshaller.java @@ -0,0 +1,43 @@ +/* + * 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.live.transform.v20161101; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.live.model.v20161101.CheckLiveMessageUsersInGroupResponse; +import com.aliyuncs.live.model.v20161101.CheckLiveMessageUsersInGroupResponse.UsersItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CheckLiveMessageUsersInGroupResponseUnmarshaller { + + public static CheckLiveMessageUsersInGroupResponse unmarshall(CheckLiveMessageUsersInGroupResponse checkLiveMessageUsersInGroupResponse, UnmarshallerContext _ctx) { + + checkLiveMessageUsersInGroupResponse.setRequestId(_ctx.stringValue("CheckLiveMessageUsersInGroupResponse.RequestId")); + + List users = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("CheckLiveMessageUsersInGroupResponse.Users.Length"); i++) { + UsersItem usersItem = new UsersItem(); + usersItem.setUserId(_ctx.stringValue("CheckLiveMessageUsersInGroupResponse.Users["+ i +"].UserId")); + usersItem.setOnline(_ctx.booleanValue("CheckLiveMessageUsersInGroupResponse.Users["+ i +"].Online")); + + users.add(usersItem); + } + checkLiveMessageUsersInGroupResponse.setUsers(users); + + return checkLiveMessageUsersInGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CheckLiveMessageUsersOnlineResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CheckLiveMessageUsersOnlineResponseUnmarshaller.java new file mode 100644 index 0000000000..902bd1fd1c --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CheckLiveMessageUsersOnlineResponseUnmarshaller.java @@ -0,0 +1,43 @@ +/* + * 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.live.transform.v20161101; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.live.model.v20161101.CheckLiveMessageUsersOnlineResponse; +import com.aliyuncs.live.model.v20161101.CheckLiveMessageUsersOnlineResponse.Users; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CheckLiveMessageUsersOnlineResponseUnmarshaller { + + public static CheckLiveMessageUsersOnlineResponse unmarshall(CheckLiveMessageUsersOnlineResponse checkLiveMessageUsersOnlineResponse, UnmarshallerContext _ctx) { + + checkLiveMessageUsersOnlineResponse.setRequestId(_ctx.stringValue("CheckLiveMessageUsersOnlineResponse.RequestId")); + + List userList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("CheckLiveMessageUsersOnlineResponse.UserList.Length"); i++) { + Users users = new Users(); + users.setUserId(_ctx.stringValue("CheckLiveMessageUsersOnlineResponse.UserList["+ i +"].UserId")); + users.setOnline(_ctx.booleanValue("CheckLiveMessageUsersOnlineResponse.UserList["+ i +"].Online")); + + userList.add(users); + } + checkLiveMessageUsersOnlineResponse.setUserList(userList); + + return checkLiveMessageUsersOnlineResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CreateLiveMessageAppResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CreateLiveMessageAppResponseUnmarshaller.java new file mode 100644 index 0000000000..fa86848326 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CreateLiveMessageAppResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * 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.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.CreateLiveMessageAppResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateLiveMessageAppResponseUnmarshaller { + + public static CreateLiveMessageAppResponse unmarshall(CreateLiveMessageAppResponse createLiveMessageAppResponse, UnmarshallerContext _ctx) { + + createLiveMessageAppResponse.setRequestId(_ctx.stringValue("CreateLiveMessageAppResponse.RequestId")); + createLiveMessageAppResponse.setAppId(_ctx.stringValue("CreateLiveMessageAppResponse.AppId")); + createLiveMessageAppResponse.setAppKey(_ctx.stringValue("CreateLiveMessageAppResponse.AppKey")); + createLiveMessageAppResponse.setAppSign(_ctx.stringValue("CreateLiveMessageAppResponse.AppSign")); + + return createLiveMessageAppResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CreateLiveMessageGroupResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CreateLiveMessageGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..1a450c022e --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CreateLiveMessageGroupResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * 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.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.CreateLiveMessageGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateLiveMessageGroupResponseUnmarshaller { + + public static CreateLiveMessageGroupResponse unmarshall(CreateLiveMessageGroupResponse createLiveMessageGroupResponse, UnmarshallerContext _ctx) { + + createLiveMessageGroupResponse.setRequestId(_ctx.stringValue("CreateLiveMessageGroupResponse.RequestId")); + createLiveMessageGroupResponse.setGroupId(_ctx.stringValue("CreateLiveMessageGroupResponse.GroupId")); + createLiveMessageGroupResponse.setAlreadyExists(_ctx.booleanValue("CreateLiveMessageGroupResponse.AlreadyExists")); + createLiveMessageGroupResponse.setAlreadyDelete(_ctx.booleanValue("CreateLiveMessageGroupResponse.AlreadyDelete")); + + return createLiveMessageGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DeleteLiveMessageGroupResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DeleteLiveMessageGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..5f59b68a5e --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DeleteLiveMessageGroupResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.DeleteLiveMessageGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteLiveMessageGroupResponseUnmarshaller { + + public static DeleteLiveMessageGroupResponse unmarshall(DeleteLiveMessageGroupResponse deleteLiveMessageGroupResponse, UnmarshallerContext _ctx) { + + deleteLiveMessageGroupResponse.setRequestId(_ctx.stringValue("DeleteLiveMessageGroupResponse.RequestId")); + deleteLiveMessageGroupResponse.setGroupId(_ctx.stringValue("DeleteLiveMessageGroupResponse.GroupId")); + + return deleteLiveMessageGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveMessageAppResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveMessageAppResponseUnmarshaller.java new file mode 100644 index 0000000000..721a60656e --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveMessageAppResponseUnmarshaller.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.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.DescribeLiveMessageAppResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeLiveMessageAppResponseUnmarshaller { + + public static DescribeLiveMessageAppResponse unmarshall(DescribeLiveMessageAppResponse describeLiveMessageAppResponse, UnmarshallerContext _ctx) { + + describeLiveMessageAppResponse.setRequestId(_ctx.stringValue("DescribeLiveMessageAppResponse.RequestId")); + describeLiveMessageAppResponse.setAppId(_ctx.stringValue("DescribeLiveMessageAppResponse.AppId")); + describeLiveMessageAppResponse.setAppKey(_ctx.stringValue("DescribeLiveMessageAppResponse.AppKey")); + describeLiveMessageAppResponse.setAppSign(_ctx.stringValue("DescribeLiveMessageAppResponse.AppSign")); + describeLiveMessageAppResponse.setAuditType(_ctx.integerValue("DescribeLiveMessageAppResponse.AuditType")); + describeLiveMessageAppResponse.setAuditUrl(_ctx.stringValue("DescribeLiveMessageAppResponse.AuditUrl")); + describeLiveMessageAppResponse.setCallbackUrl(_ctx.stringValue("DescribeLiveMessageAppResponse.CallbackUrl")); + describeLiveMessageAppResponse.setDisable(_ctx.booleanValue("DescribeLiveMessageAppResponse.Disable")); + + return describeLiveMessageAppResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveMessageGroupBandResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveMessageGroupBandResponseUnmarshaller.java new file mode 100644 index 0000000000..8db63886b8 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveMessageGroupBandResponseUnmarshaller.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.live.transform.v20161101; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.live.model.v20161101.DescribeLiveMessageGroupBandResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeLiveMessageGroupBandResponseUnmarshaller { + + public static DescribeLiveMessageGroupBandResponse unmarshall(DescribeLiveMessageGroupBandResponse describeLiveMessageGroupBandResponse, UnmarshallerContext _ctx) { + + describeLiveMessageGroupBandResponse.setRequestId(_ctx.stringValue("DescribeLiveMessageGroupBandResponse.RequestId")); + describeLiveMessageGroupBandResponse.setGroupId(_ctx.stringValue("DescribeLiveMessageGroupBandResponse.GroupId")); + describeLiveMessageGroupBandResponse.setIsbannedAll(_ctx.booleanValue("DescribeLiveMessageGroupBandResponse.IsbannedAll")); + + List bannedUserList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeLiveMessageGroupBandResponse.BannedUserList.Length"); i++) { + bannedUserList.add(_ctx.stringValue("DescribeLiveMessageGroupBandResponse.BannedUserList["+ i +"]")); + } + describeLiveMessageGroupBandResponse.setBannedUserList(bannedUserList); + + List unbannedUserList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeLiveMessageGroupBandResponse.UnbannedUserList.Length"); i++) { + unbannedUserList.add(_ctx.stringValue("DescribeLiveMessageGroupBandResponse.UnbannedUserList["+ i +"]")); + } + describeLiveMessageGroupBandResponse.setUnbannedUserList(unbannedUserList); + + return describeLiveMessageGroupBandResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveMessageGroupResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveMessageGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..eba2c479a7 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveMessageGroupResponseUnmarshaller.java @@ -0,0 +1,50 @@ +/* + * 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.live.transform.v20161101; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.live.model.v20161101.DescribeLiveMessageGroupResponse; +import java.util.Map; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeLiveMessageGroupResponseUnmarshaller { + + public static DescribeLiveMessageGroupResponse unmarshall(DescribeLiveMessageGroupResponse describeLiveMessageGroupResponse, UnmarshallerContext _ctx) { + + describeLiveMessageGroupResponse.setRequestId(_ctx.stringValue("DescribeLiveMessageGroupResponse.RequestId")); + describeLiveMessageGroupResponse.setGroupId(_ctx.stringValue("DescribeLiveMessageGroupResponse.GroupId")); + describeLiveMessageGroupResponse.setCreatorId(_ctx.stringValue("DescribeLiveMessageGroupResponse.CreatorId")); + describeLiveMessageGroupResponse.setCreatetime(_ctx.longValue("DescribeLiveMessageGroupResponse.Createtime")); + describeLiveMessageGroupResponse.setGroupName(_ctx.stringValue("DescribeLiveMessageGroupResponse.GroupName")); + describeLiveMessageGroupResponse.setGroupInfo(_ctx.stringValue("DescribeLiveMessageGroupResponse.GroupInfo")); + describeLiveMessageGroupResponse.setDelete(_ctx.booleanValue("DescribeLiveMessageGroupResponse.Delete")); + describeLiveMessageGroupResponse.setTotalTimes(_ctx.longValue("DescribeLiveMessageGroupResponse.TotalTimes")); + describeLiveMessageGroupResponse.setOnlineUserCounts(_ctx.longValue("DescribeLiveMessageGroupResponse.OnlineUserCounts")); + describeLiveMessageGroupResponse.setMsgAmount(_ctx.mapValue("DescribeLiveMessageGroupResponse.MsgAmount")); + describeLiveMessageGroupResponse.setDeletatime(_ctx.longValue("DescribeLiveMessageGroupResponse.Deletatime")); + describeLiveMessageGroupResponse.setDeletor(_ctx.stringValue("DescribeLiveMessageGroupResponse.Deletor")); + + List adminList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeLiveMessageGroupResponse.AdminList.Length"); i++) { + adminList.add(_ctx.stringValue("DescribeLiveMessageGroupResponse.AdminList["+ i +"]")); + } + describeLiveMessageGroupResponse.setAdminList(adminList); + + return describeLiveMessageGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/KickLiveMessageGroupUserResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/KickLiveMessageGroupUserResponseUnmarshaller.java new file mode 100644 index 0000000000..2add9e65e5 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/KickLiveMessageGroupUserResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.KickLiveMessageGroupUserResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class KickLiveMessageGroupUserResponseUnmarshaller { + + public static KickLiveMessageGroupUserResponse unmarshall(KickLiveMessageGroupUserResponse kickLiveMessageGroupUserResponse, UnmarshallerContext _ctx) { + + kickLiveMessageGroupUserResponse.setRequestId(_ctx.stringValue("KickLiveMessageGroupUserResponse.RequestId")); + + return kickLiveMessageGroupUserResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageAppsResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageAppsResponseUnmarshaller.java new file mode 100644 index 0000000000..241987598d --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageAppsResponseUnmarshaller.java @@ -0,0 +1,47 @@ +/* + * 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.live.transform.v20161101; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.live.model.v20161101.ListLiveMessageAppsResponse; +import com.aliyuncs.live.model.v20161101.ListLiveMessageAppsResponse.Apps; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListLiveMessageAppsResponseUnmarshaller { + + public static ListLiveMessageAppsResponse unmarshall(ListLiveMessageAppsResponse listLiveMessageAppsResponse, UnmarshallerContext _ctx) { + + listLiveMessageAppsResponse.setRequestId(_ctx.stringValue("ListLiveMessageAppsResponse.RequestId")); + listLiveMessageAppsResponse.setHasMore(_ctx.booleanValue("ListLiveMessageAppsResponse.HasMore")); + listLiveMessageAppsResponse.setNextPageToken(_ctx.longValue("ListLiveMessageAppsResponse.NextPageToken")); + + List appList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListLiveMessageAppsResponse.AppList.Length"); i++) { + Apps apps = new Apps(); + apps.setAppId(_ctx.stringValue("ListLiveMessageAppsResponse.AppList["+ i +"].AppId")); + apps.setAppKey(_ctx.stringValue("ListLiveMessageAppsResponse.AppList["+ i +"].AppKey")); + apps.setAppSign(_ctx.stringValue("ListLiveMessageAppsResponse.AppList["+ i +"].AppSign")); + apps.setDisable(_ctx.stringValue("ListLiveMessageAppsResponse.AppList["+ i +"].Disable")); + + appList.add(apps); + } + listLiveMessageAppsResponse.setAppList(appList); + + return listLiveMessageAppsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupMessagesResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupMessagesResponseUnmarshaller.java new file mode 100644 index 0000000000..4d1812c051 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupMessagesResponseUnmarshaller.java @@ -0,0 +1,56 @@ +/* + * 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.live.transform.v20161101; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.live.model.v20161101.ListLiveMessageGroupMessagesResponse; +import com.aliyuncs.live.model.v20161101.ListLiveMessageGroupMessagesResponse.Messages; +import com.aliyuncs.live.model.v20161101.ListLiveMessageGroupMessagesResponse.Messages.Sender; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListLiveMessageGroupMessagesResponseUnmarshaller { + + public static ListLiveMessageGroupMessagesResponse unmarshall(ListLiveMessageGroupMessagesResponse listLiveMessageGroupMessagesResponse, UnmarshallerContext _ctx) { + + listLiveMessageGroupMessagesResponse.setRequestId(_ctx.stringValue("ListLiveMessageGroupMessagesResponse.RequestId")); + listLiveMessageGroupMessagesResponse.setGroupId(_ctx.stringValue("ListLiveMessageGroupMessagesResponse.GroupId")); + listLiveMessageGroupMessagesResponse.setNextPageToken(_ctx.longValue("ListLiveMessageGroupMessagesResponse.NextPageToken")); + listLiveMessageGroupMessagesResponse.setHasmore(_ctx.booleanValue("ListLiveMessageGroupMessagesResponse.Hasmore")); + + List messageList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListLiveMessageGroupMessagesResponse.MessageList.Length"); i++) { + Messages messages = new Messages(); + messages.setBody(_ctx.stringValue("ListLiveMessageGroupMessagesResponse.MessageList["+ i +"].Body")); + messages.setTimestamp(_ctx.longValue("ListLiveMessageGroupMessagesResponse.MessageList["+ i +"].Timestamp")); + messages.setMsgTid(_ctx.stringValue("ListLiveMessageGroupMessagesResponse.MessageList["+ i +"].MsgTid")); + messages.setMsgType(_ctx.longValue("ListLiveMessageGroupMessagesResponse.MessageList["+ i +"].MsgType")); + messages.setSeqNumber(_ctx.longValue("ListLiveMessageGroupMessagesResponse.MessageList["+ i +"].SeqNumber")); + messages.setTotalMessages(_ctx.longValue("ListLiveMessageGroupMessagesResponse.MessageList["+ i +"].TotalMessages")); + + Sender sender = new Sender(); + sender.setUserId(_ctx.stringValue("ListLiveMessageGroupMessagesResponse.MessageList["+ i +"].Sender.UserId")); + sender.setUserInfo(_ctx.stringValue("ListLiveMessageGroupMessagesResponse.MessageList["+ i +"].Sender.UserInfo")); + messages.setSender(sender); + + messageList.add(messages); + } + listLiveMessageGroupMessagesResponse.setMessageList(messageList); + + return listLiveMessageGroupMessagesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupUsersResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupUsersResponseUnmarshaller.java new file mode 100644 index 0000000000..ce59def243 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupUsersResponseUnmarshaller.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.live.transform.v20161101; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.live.model.v20161101.ListLiveMessageGroupUsersResponse; +import com.aliyuncs.live.model.v20161101.ListLiveMessageGroupUsersResponse.Users; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListLiveMessageGroupUsersResponseUnmarshaller { + + public static ListLiveMessageGroupUsersResponse unmarshall(ListLiveMessageGroupUsersResponse listLiveMessageGroupUsersResponse, UnmarshallerContext _ctx) { + + listLiveMessageGroupUsersResponse.setRequestId(_ctx.stringValue("ListLiveMessageGroupUsersResponse.RequestId")); + listLiveMessageGroupUsersResponse.setGroupId(_ctx.stringValue("ListLiveMessageGroupUsersResponse.GroupId")); + listLiveMessageGroupUsersResponse.setNextPageToken(_ctx.longValue("ListLiveMessageGroupUsersResponse.NextPageToken")); + listLiveMessageGroupUsersResponse.setHasmore(_ctx.booleanValue("ListLiveMessageGroupUsersResponse.Hasmore")); + + List userList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListLiveMessageGroupUsersResponse.UserList.Length"); i++) { + Users users = new Users(); + users.setUserId(_ctx.stringValue("ListLiveMessageGroupUsersResponse.UserList["+ i +"].UserId")); + users.setUserInfo(_ctx.stringValue("ListLiveMessageGroupUsersResponse.UserList["+ i +"].UserInfo")); + + userList.add(users); + } + listLiveMessageGroupUsersResponse.setUserList(userList); + + return listLiveMessageGroupUsersResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupsResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupsResponseUnmarshaller.java new file mode 100644 index 0000000000..6d50f84ff3 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupsResponseUnmarshaller.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.live.transform.v20161101; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.live.model.v20161101.ListLiveMessageGroupsResponse; +import com.aliyuncs.live.model.v20161101.ListLiveMessageGroupsResponse.Groups; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListLiveMessageGroupsResponseUnmarshaller { + + public static ListLiveMessageGroupsResponse unmarshall(ListLiveMessageGroupsResponse listLiveMessageGroupsResponse, UnmarshallerContext _ctx) { + + listLiveMessageGroupsResponse.setRequestId(_ctx.stringValue("ListLiveMessageGroupsResponse.RequestId")); + listLiveMessageGroupsResponse.setHasmore(_ctx.booleanValue("ListLiveMessageGroupsResponse.Hasmore")); + listLiveMessageGroupsResponse.setNextpageToken(_ctx.stringValue("ListLiveMessageGroupsResponse.NextpageToken")); + + List groupList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListLiveMessageGroupsResponse.GroupList.Length"); i++) { + Groups groups = new Groups(); + groups.setGroupId(_ctx.stringValue("ListLiveMessageGroupsResponse.GroupList["+ i +"].GroupId")); + groups.setCreatorId(_ctx.stringValue("ListLiveMessageGroupsResponse.GroupList["+ i +"].CreatorId")); + groups.setCreatetime(_ctx.longValue("ListLiveMessageGroupsResponse.GroupList["+ i +"].Createtime")); + groups.setGroupName(_ctx.stringValue("ListLiveMessageGroupsResponse.GroupList["+ i +"].GroupName")); + groups.setGroupInfo(_ctx.stringValue("ListLiveMessageGroupsResponse.GroupList["+ i +"].GroupInfo")); + groups.setDelete(_ctx.booleanValue("ListLiveMessageGroupsResponse.GroupList["+ i +"].Delete")); + + List adminList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListLiveMessageGroupsResponse.GroupList["+ i +"].AdminList.Length"); j++) { + adminList.add(_ctx.stringValue("ListLiveMessageGroupsResponse.GroupList["+ i +"].AdminList["+ j +"]")); + } + groups.setAdminList(adminList); + + groupList.add(groups); + } + listLiveMessageGroupsResponse.setGroupList(groupList); + + return listLiveMessageGroupsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageAppAuditResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageAppAuditResponseUnmarshaller.java new file mode 100644 index 0000000000..36e5819bf7 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageAppAuditResponseUnmarshaller.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.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.ModifyLiveMessageAppAuditResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyLiveMessageAppAuditResponseUnmarshaller { + + public static ModifyLiveMessageAppAuditResponse unmarshall(ModifyLiveMessageAppAuditResponse modifyLiveMessageAppAuditResponse, UnmarshallerContext _ctx) { + + modifyLiveMessageAppAuditResponse.setRequestId(_ctx.stringValue("ModifyLiveMessageAppAuditResponse.RequestId")); + modifyLiveMessageAppAuditResponse.setAppId(_ctx.stringValue("ModifyLiveMessageAppAuditResponse.AppId")); + modifyLiveMessageAppAuditResponse.setAppSign(_ctx.stringValue("ModifyLiveMessageAppAuditResponse.AppSign")); + modifyLiveMessageAppAuditResponse.setAuditType(_ctx.integerValue("ModifyLiveMessageAppAuditResponse.AuditType")); + modifyLiveMessageAppAuditResponse.setAuditUrl(_ctx.stringValue("ModifyLiveMessageAppAuditResponse.AuditUrl")); + modifyLiveMessageAppAuditResponse.setAuditNeedAuthentication(_ctx.booleanValue("ModifyLiveMessageAppAuditResponse.AuditNeedAuthentication")); + + return modifyLiveMessageAppAuditResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageAppCallbackResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageAppCallbackResponseUnmarshaller.java new file mode 100644 index 0000000000..d6c5f44aaf --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageAppCallbackResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * 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.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.ModifyLiveMessageAppCallbackResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyLiveMessageAppCallbackResponseUnmarshaller { + + public static ModifyLiveMessageAppCallbackResponse unmarshall(ModifyLiveMessageAppCallbackResponse modifyLiveMessageAppCallbackResponse, UnmarshallerContext _ctx) { + + modifyLiveMessageAppCallbackResponse.setRequestId(_ctx.stringValue("ModifyLiveMessageAppCallbackResponse.RequestId")); + modifyLiveMessageAppCallbackResponse.setAppId(_ctx.stringValue("ModifyLiveMessageAppCallbackResponse.AppId")); + modifyLiveMessageAppCallbackResponse.setAppSign(_ctx.stringValue("ModifyLiveMessageAppCallbackResponse.AppSign")); + modifyLiveMessageAppCallbackResponse.setEventCallbackUrl(_ctx.stringValue("ModifyLiveMessageAppCallbackResponse.EventCallbackUrl")); + modifyLiveMessageAppCallbackResponse.setEventCallbackNeedAuthentication(_ctx.booleanValue("ModifyLiveMessageAppCallbackResponse.EventCallbackNeedAuthentication")); + + return modifyLiveMessageAppCallbackResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageAppDisableResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageAppDisableResponseUnmarshaller.java new file mode 100644 index 0000000000..7c1759cf89 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageAppDisableResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * 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.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.ModifyLiveMessageAppDisableResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyLiveMessageAppDisableResponseUnmarshaller { + + public static ModifyLiveMessageAppDisableResponse unmarshall(ModifyLiveMessageAppDisableResponse modifyLiveMessageAppDisableResponse, UnmarshallerContext _ctx) { + + modifyLiveMessageAppDisableResponse.setRequestId(_ctx.stringValue("ModifyLiveMessageAppDisableResponse.RequestId")); + modifyLiveMessageAppDisableResponse.setAppId(_ctx.stringValue("ModifyLiveMessageAppDisableResponse.AppId")); + modifyLiveMessageAppDisableResponse.setAppSign(_ctx.stringValue("ModifyLiveMessageAppDisableResponse.AppSign")); + modifyLiveMessageAppDisableResponse.setDisable(_ctx.booleanValue("ModifyLiveMessageAppDisableResponse.Disable")); + + return modifyLiveMessageAppDisableResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageGroupBandResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageGroupBandResponseUnmarshaller.java new file mode 100644 index 0000000000..19dc475752 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageGroupBandResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.ModifyLiveMessageGroupBandResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyLiveMessageGroupBandResponseUnmarshaller { + + public static ModifyLiveMessageGroupBandResponse unmarshall(ModifyLiveMessageGroupBandResponse modifyLiveMessageGroupBandResponse, UnmarshallerContext _ctx) { + + modifyLiveMessageGroupBandResponse.setRequestId(_ctx.stringValue("ModifyLiveMessageGroupBandResponse.RequestId")); + + return modifyLiveMessageGroupBandResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageGroupResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..d7bfe83f1d --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageGroupResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.ModifyLiveMessageGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyLiveMessageGroupResponseUnmarshaller { + + public static ModifyLiveMessageGroupResponse unmarshall(ModifyLiveMessageGroupResponse modifyLiveMessageGroupResponse, UnmarshallerContext _ctx) { + + modifyLiveMessageGroupResponse.setRequestId(_ctx.stringValue("ModifyLiveMessageGroupResponse.RequestId")); + + return modifyLiveMessageGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageUserInfoResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageUserInfoResponseUnmarshaller.java new file mode 100644 index 0000000000..374808bb82 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ModifyLiveMessageUserInfoResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.ModifyLiveMessageUserInfoResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyLiveMessageUserInfoResponseUnmarshaller { + + public static ModifyLiveMessageUserInfoResponse unmarshall(ModifyLiveMessageUserInfoResponse modifyLiveMessageUserInfoResponse, UnmarshallerContext _ctx) { + + modifyLiveMessageUserInfoResponse.setRequestId(_ctx.stringValue("ModifyLiveMessageUserInfoResponse.RequestId")); + + return modifyLiveMessageUserInfoResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/SendLiveMessageGroupResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/SendLiveMessageGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..a209df98e5 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/SendLiveMessageGroupResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.SendLiveMessageGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class SendLiveMessageGroupResponseUnmarshaller { + + public static SendLiveMessageGroupResponse unmarshall(SendLiveMessageGroupResponse sendLiveMessageGroupResponse, UnmarshallerContext _ctx) { + + sendLiveMessageGroupResponse.setRequestId(_ctx.stringValue("SendLiveMessageGroupResponse.RequestId")); + + return sendLiveMessageGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/SendLiveMessageUserResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/SendLiveMessageUserResponseUnmarshaller.java new file mode 100644 index 0000000000..d967f008a7 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/SendLiveMessageUserResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.SendLiveMessageUserResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class SendLiveMessageUserResponseUnmarshaller { + + public static SendLiveMessageUserResponse unmarshall(SendLiveMessageUserResponse sendLiveMessageUserResponse, UnmarshallerContext _ctx) { + + sendLiveMessageUserResponse.setRequestId(_ctx.stringValue("SendLiveMessageUserResponse.RequestId")); + + return sendLiveMessageUserResponse; + } +} \ No newline at end of file