-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
65 changed files
with
4,879 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
103 changes: 103 additions & 0 deletions
103
.../src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersInGroupRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<CheckLiveMessageUsersInGroupResponse> { | ||
|
||
|
||
private String groupId; | ||
|
||
private String dataCenter; | ||
|
||
private List<String> 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<String> getUserIds() { | ||
return this.userIds; | ||
} | ||
|
||
public void setUserIds(List<String> 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<CheckLiveMessageUsersInGroupResponse> getResponseClass() { | ||
return CheckLiveMessageUsersInGroupResponse.class; | ||
} | ||
|
||
} |
80 changes: 80 additions & 0 deletions
80
...src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersInGroupResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<UsersItem> users; | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
public List<UsersItem> getUsers() { | ||
return this.users; | ||
} | ||
|
||
public void setUsers(List<UsersItem> 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; | ||
} | ||
} |
90 changes: 90 additions & 0 deletions
90
...e/src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersOnlineRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<CheckLiveMessageUsersOnlineResponse> { | ||
|
||
|
||
private String dataCenter; | ||
|
||
private List<String> 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<String> getUserIds() { | ||
return this.userIds; | ||
} | ||
|
||
public void setUserIds(List<String> 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<CheckLiveMessageUsersOnlineResponse> getResponseClass() { | ||
return CheckLiveMessageUsersOnlineResponse.class; | ||
} | ||
|
||
} |
80 changes: 80 additions & 0 deletions
80
.../src/main/java/com/aliyuncs/live/model/v20161101/CheckLiveMessageUsersOnlineResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<Users> userList; | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
public List<Users> getUserList() { | ||
return this.userList; | ||
} | ||
|
||
public void setUserList(List<Users> 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; | ||
} | ||
} |
Oops, something went wrong.