index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aligeniessp_1.0/1.0.0/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1.0/1.0.0/com/aliyun/aligeniessp_1_0/models/GetDeviceIdByIdentityResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class GetDeviceIdByIdentityResponseBody extends TeaModel {
// message
@NameInMap("Message")
public String message;
// code
@NameInMap("Code")
public Integer code;
// result
@NameInMap("Result")
public String result;
@NameInMap("RequestId")
public String requestId;
public static GetDeviceIdByIdentityResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetDeviceIdByIdentityResponseBody self = new GetDeviceIdByIdentityResponseBody();
return TeaModel.build(map, self);
}
public GetDeviceIdByIdentityResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetDeviceIdByIdentityResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public GetDeviceIdByIdentityResponseBody setResult(String result) {
this.result = result;
return this;
}
public String getResult() {
return this.result;
}
public GetDeviceIdByIdentityResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/Client.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0;
import com.aliyun.tea.*;
import com.aliyun.aligeniessp_1_0.models.*;
public class Client extends com.aliyun.teaopenapi.Client {
public Client(com.aliyun.teaopenapi.models.Config config) throws Exception {
super(config);
this._endpointRule = "";
this.checkConfig(config);
this._endpoint = this.getEndpoint("aligenie", _regionId, _endpointRule, _network, _suffix, _endpointMap, _endpoint);
}
public String getEndpoint(String productId, String regionId, String endpointRule, String network, String suffix, java.util.Map<String, String> endpointMap, String endpoint) throws Exception {
if (!com.aliyun.teautil.Common.empty(endpoint)) {
return endpoint;
}
if (!com.aliyun.teautil.Common.isUnset(endpointMap) && !com.aliyun.teautil.Common.empty(endpointMap.get(regionId))) {
return endpointMap.get(regionId);
}
return com.aliyun.endpointutil.Client.getEndpointRules(productId, regionId, endpointRule, network, suffix);
}
/**
* <b>summary</b> :
* <p>收藏/取消收藏</p>
*
* @param tmpReq AddAndRemoveFavoriteContentRequest
* @param headers AddAndRemoveFavoriteContentHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return AddAndRemoveFavoriteContentResponse
*/
public AddAndRemoveFavoriteContentResponse addAndRemoveFavoriteContentWithOptions(AddAndRemoveFavoriteContentRequest tmpReq, AddAndRemoveFavoriteContentHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
AddAndRemoveFavoriteContentShrinkRequest request = new AddAndRemoveFavoriteContentShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.openAddAndRemoveFavoriteContentRequest)) {
request.openAddAndRemoveFavoriteContentRequestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.openAddAndRemoveFavoriteContentRequest, "OpenAddAndRemoveFavoriteContentRequest", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.openAddAndRemoveFavoriteContentRequestShrink)) {
body.put("OpenAddAndRemoveFavoriteContentRequest", request.openAddAndRemoveFavoriteContentRequestShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "AddAndRemoveFavoriteContent"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/AddAndRemoveFavoriteContent"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new AddAndRemoveFavoriteContentResponse());
}
/**
* <b>summary</b> :
* <p>收藏/取消收藏</p>
*
* @param request AddAndRemoveFavoriteContentRequest
* @return AddAndRemoveFavoriteContentResponse
*/
public AddAndRemoveFavoriteContentResponse addAndRemoveFavoriteContent(AddAndRemoveFavoriteContentRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
AddAndRemoveFavoriteContentHeaders headers = new AddAndRemoveFavoriteContentHeaders();
return this.addAndRemoveFavoriteContentWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>新增订阅</p>
*
* @param tmpReq AddSubRequest
* @param headers AddSubHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return AddSubResponse
*/
public AddSubResponse addSubWithOptions(AddSubRequest tmpReq, AddSubHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
AddSubShrinkRequest request = new AddSubShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.addSubscriptionInfoRequest)) {
request.addSubscriptionInfoRequestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.addSubscriptionInfoRequest, "AddSubscriptionInfoRequest", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.addSubscriptionInfoRequestShrink)) {
query.put("AddSubscriptionInfoRequest", request.addSubscriptionInfoRequestShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "AddSub"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/addSub"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new AddSubResponse());
}
/**
* <b>summary</b> :
* <p>新增订阅</p>
*
* @param request AddSubRequest
* @return AddSubResponse
*/
public AddSubResponse addSub(AddSubRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
AddSubHeaders headers = new AddSubHeaders();
return this.addSubWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>通过指定精灵账号进行授权登录</p>
*
* @param request AuthLoginWithAligenieUserInfoRequest
* @param headers AuthLoginWithAligenieUserInfoHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return AuthLoginWithAligenieUserInfoResponse
*/
public AuthLoginWithAligenieUserInfoResponse authLoginWithAligenieUserInfoWithOptions(AuthLoginWithAligenieUserInfoRequest request, AuthLoginWithAligenieUserInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.encryptedAligenieUserIdentifier)) {
body.put("EncryptedAligenieUserIdentifier", request.encryptedAligenieUserIdentifier);
}
if (!com.aliyun.teautil.Common.isUnset(request.sessionId)) {
body.put("SessionId", request.sessionId);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "AuthLoginWithAligenieUserInfo"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/authLoginWithAligenieUserInfo"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new AuthLoginWithAligenieUserInfoResponse());
}
/**
* <b>summary</b> :
* <p>通过指定精灵账号进行授权登录</p>
*
* @param request AuthLoginWithAligenieUserInfoRequest
* @return AuthLoginWithAligenieUserInfoResponse
*/
public AuthLoginWithAligenieUserInfoResponse authLoginWithAligenieUserInfo(AuthLoginWithAligenieUserInfoRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
AuthLoginWithAligenieUserInfoHeaders headers = new AuthLoginWithAligenieUserInfoHeaders();
return this.authLoginWithAligenieUserInfoWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>通过手机号生成精灵账号进行授权登录</p>
*
* @param request AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberRequest
* @param headers AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponse
*/
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponse authLoginWithAligenieUserInfoGeneratedByPhoneNumberWithOptions(AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberRequest request, AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.sessionId)) {
body.put("SessionId", request.sessionId);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "AuthLoginWithAligenieUserInfoGeneratedByPhoneNumber"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/authLoginWithAligenieUserInfoGeneratedByPhoneNumber"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponse());
}
/**
* <b>summary</b> :
* <p>通过手机号生成精灵账号进行授权登录</p>
*
* @param request AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberRequest
* @return AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponse
*/
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponse authLoginWithAligenieUserInfoGeneratedByPhoneNumber(AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberHeaders headers = new AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberHeaders();
return this.authLoginWithAligenieUserInfoGeneratedByPhoneNumberWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>通过指定淘宝账号进行授权登录</p>
*
* @param request AuthLoginWithTaobaoUserInfoRequest
* @param headers AuthLoginWithTaobaoUserInfoHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return AuthLoginWithTaobaoUserInfoResponse
*/
public AuthLoginWithTaobaoUserInfoResponse authLoginWithTaobaoUserInfoWithOptions(AuthLoginWithTaobaoUserInfoRequest request, AuthLoginWithTaobaoUserInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.encryptedTaobaoUserIdentifier)) {
body.put("EncryptedTaobaoUserIdentifier", request.encryptedTaobaoUserIdentifier);
}
if (!com.aliyun.teautil.Common.isUnset(request.sessionId)) {
body.put("SessionId", request.sessionId);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "AuthLoginWithTaobaoUserInfo"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/authLoginWithTaobaoUserInfo"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new AuthLoginWithTaobaoUserInfoResponse());
}
/**
* <b>summary</b> :
* <p>通过指定淘宝账号进行授权登录</p>
*
* @param request AuthLoginWithTaobaoUserInfoRequest
* @return AuthLoginWithTaobaoUserInfoResponse
*/
public AuthLoginWithTaobaoUserInfoResponse authLoginWithTaobaoUserInfo(AuthLoginWithTaobaoUserInfoRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
AuthLoginWithTaobaoUserInfoHeaders headers = new AuthLoginWithTaobaoUserInfoHeaders();
return this.authLoginWithTaobaoUserInfoWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>通过三方用户信息进行授权登录</p>
*
* @param tmpReq AuthLoginWithThirdUserInfoRequest
* @param headers AuthLoginWithThirdUserInfoHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return AuthLoginWithThirdUserInfoResponse
*/
public AuthLoginWithThirdUserInfoResponse authLoginWithThirdUserInfoWithOptions(AuthLoginWithThirdUserInfoRequest tmpReq, AuthLoginWithThirdUserInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
AuthLoginWithThirdUserInfoShrinkRequest request = new AuthLoginWithThirdUserInfoShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.extInfo)) {
request.extInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.extInfo, "ExtInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.extInfoShrink)) {
body.put("ExtInfo", request.extInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.sceneCode)) {
body.put("SceneCode", request.sceneCode);
}
if (!com.aliyun.teautil.Common.isUnset(request.thirdUserIdentifier)) {
body.put("ThirdUserIdentifier", request.thirdUserIdentifier);
}
if (!com.aliyun.teautil.Common.isUnset(request.thirdUserType)) {
body.put("ThirdUserType", request.thirdUserType);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "AuthLoginWithThirdUserInfo"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/authLoginWithThirdUserInfo"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new AuthLoginWithThirdUserInfoResponse());
}
/**
* <b>summary</b> :
* <p>通过三方用户信息进行授权登录</p>
*
* @param request AuthLoginWithThirdUserInfoRequest
* @return AuthLoginWithThirdUserInfoResponse
*/
public AuthLoginWithThirdUserInfoResponse authLoginWithThirdUserInfo(AuthLoginWithThirdUserInfoRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
AuthLoginWithThirdUserInfoHeaders headers = new AuthLoginWithThirdUserInfoHeaders();
return this.authLoginWithThirdUserInfoWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>检查并拨打voip电话【酒店业务】</p>
*
* @param tmpReq CheckAndDoVoipCallForHotelRequest
* @param headers CheckAndDoVoipCallForHotelHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return CheckAndDoVoipCallForHotelResponse
*/
public CheckAndDoVoipCallForHotelResponse checkAndDoVoipCallForHotelWithOptions(CheckAndDoVoipCallForHotelRequest tmpReq, CheckAndDoVoipCallForHotelHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
CheckAndDoVoipCallForHotelShrinkRequest request = new CheckAndDoVoipCallForHotelShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.bizData)) {
body.put("BizData", request.bizData);
}
if (!com.aliyun.teautil.Common.isUnset(request.calleeNick)) {
body.put("CalleeNick", request.calleeNick);
}
if (!com.aliyun.teautil.Common.isUnset(request.calleePhoneNum)) {
body.put("CalleePhoneNum", request.calleePhoneNum);
}
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "CheckAndDoVoipCallForHotel"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/checkAndDoVoipCallForHotel"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new CheckAndDoVoipCallForHotelResponse());
}
/**
* <b>summary</b> :
* <p>检查并拨打voip电话【酒店业务】</p>
*
* @param request CheckAndDoVoipCallForHotelRequest
* @return CheckAndDoVoipCallForHotelResponse
*/
public CheckAndDoVoipCallForHotelResponse checkAndDoVoipCallForHotel(CheckAndDoVoipCallForHotelRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
CheckAndDoVoipCallForHotelHeaders headers = new CheckAndDoVoipCallForHotelHeaders();
return this.checkAndDoVoipCallForHotelWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>轮询激活绑定结果</p>
*
* @param tmpReq CheckAuthCodeBindForExtRequest
* @param headers CheckAuthCodeBindForExtHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return CheckAuthCodeBindForExtResponse
*/
public CheckAuthCodeBindForExtResponse checkAuthCodeBindForExtWithOptions(CheckAuthCodeBindForExtRequest tmpReq, CheckAuthCodeBindForExtHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
CheckAuthCodeBindForExtShrinkRequest request = new CheckAuthCodeBindForExtShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.authCode)) {
query.put("AuthCode", request.authCode);
}
if (!com.aliyun.teautil.Common.isUnset(request.encodeKey)) {
query.put("EncodeKey", request.encodeKey);
}
if (!com.aliyun.teautil.Common.isUnset(request.encodeType)) {
query.put("EncodeType", request.encodeType);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "CheckAuthCodeBindForExt"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/checkAuthCodeBindForExt"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new CheckAuthCodeBindForExtResponse());
}
/**
* <b>summary</b> :
* <p>轮询激活绑定结果</p>
*
* @param request CheckAuthCodeBindForExtRequest
* @return CheckAuthCodeBindForExtResponse
*/
public CheckAuthCodeBindForExtResponse checkAuthCodeBindForExt(CheckAuthCodeBindForExtRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
CheckAuthCodeBindForExtHeaders headers = new CheckAuthCodeBindForExtHeaders();
return this.checkAuthCodeBindForExtWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>云播放器:对外</p>
*
* @param tmpReq CloudPlayerRequest
* @param headers CloudPlayerHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return CloudPlayerResponse
*/
public CloudPlayerResponse cloudPlayerWithOptions(CloudPlayerRequest tmpReq, CloudPlayerHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
CloudPlayerShrinkRequest request = new CloudPlayerShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.songIdList)) {
request.songIdListShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.songIdList, "SongIdList", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.curPlayIndex)) {
query.put("CurPlayIndex", request.curPlayIndex);
}
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.playMode)) {
query.put("PlayMode", request.playMode);
}
if (!com.aliyun.teautil.Common.isUnset(request.songId)) {
query.put("SongId", request.songId);
}
if (!com.aliyun.teautil.Common.isUnset(request.songIdListShrink)) {
query.put("SongIdList", request.songIdListShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.source)) {
query.put("Source", request.source);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "CloudPlayer"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/cloud/player"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new CloudPlayerResponse());
}
/**
* <b>summary</b> :
* <p>云播放器:对外</p>
*
* @param request CloudPlayerRequest
* @return CloudPlayerResponse
*/
public CloudPlayerResponse cloudPlayer(CloudPlayerRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
CloudPlayerHeaders headers = new CloudPlayerHeaders();
return this.cloudPlayerWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>创建闹钟</p>
*
* @param tmpReq CreateAlarmRequest
* @param headers CreateAlarmHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return CreateAlarmResponse
*/
public CreateAlarmResponse createAlarmWithOptions(CreateAlarmRequest tmpReq, CreateAlarmHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
CreateAlarmShrinkRequest request = new CreateAlarmShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) {
request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) {
body.put("Payload", request.payloadShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "CreateAlarm"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/createAlarm"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new CreateAlarmResponse());
}
/**
* <b>summary</b> :
* <p>创建闹钟</p>
*
* @param request CreateAlarmRequest
* @return CreateAlarmResponse
*/
public CreateAlarmResponse createAlarm(CreateAlarmRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
CreateAlarmHeaders headers = new CreateAlarmHeaders();
return this.createAlarmWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>播放列表创建</p>
*
* @param tmpReq CreatePlayingListRequest
* @param headers CreatePlayingListHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return CreatePlayingListResponse
*/
public CreatePlayingListResponse createPlayingListWithOptions(CreatePlayingListRequest tmpReq, CreatePlayingListHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
CreatePlayingListShrinkRequest request = new CreatePlayingListShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.openCreatePlayingListRequest)) {
request.openCreatePlayingListRequestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.openCreatePlayingListRequest, "OpenCreatePlayingListRequest", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.openCreatePlayingListRequestShrink)) {
body.put("OpenCreatePlayingListRequest", request.openCreatePlayingListRequestShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "CreatePlayingList"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/CreatePlayingList"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new CreatePlayingListResponse());
}
/**
* <b>summary</b> :
* <p>播放列表创建</p>
*
* @param request CreatePlayingListRequest
* @return CreatePlayingListResponse
*/
public CreatePlayingListResponse createPlayingList(CreatePlayingListRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
CreatePlayingListHeaders headers = new CreatePlayingListHeaders();
return this.createPlayingListWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>播放列表创建走OAuth2授权</p>
*
* @param tmpReq CreatePlayingListOAuth2Request
* @param headers map
* @param runtime runtime options for this request RuntimeOptions
* @return CreatePlayingListOAuth2Response
*/
public CreatePlayingListOAuth2Response createPlayingListOAuth2WithOptions(CreatePlayingListOAuth2Request tmpReq, java.util.Map<String, String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
CreatePlayingListOAuth2ShrinkRequest request = new CreatePlayingListOAuth2ShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.openCreatePlayingListRequest)) {
request.openCreatePlayingListRequestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.openCreatePlayingListRequest, "OpenCreatePlayingListRequest", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.openCreatePlayingListRequestShrink)) {
body.put("OpenCreatePlayingListRequest", request.openCreatePlayingListRequestShrink);
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", headers),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "CreatePlayingListOAuth2"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/CreatePlayingListOAuth2"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new CreatePlayingListOAuth2Response());
}
/**
* <b>summary</b> :
* <p>播放列表创建走OAuth2授权</p>
*
* @param request CreatePlayingListOAuth2Request
* @return CreatePlayingListOAuth2Response
*/
public CreatePlayingListOAuth2Response createPlayingListOAuth2(CreatePlayingListOAuth2Request request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map<String, String> headers = new java.util.HashMap<>();
return this.createPlayingListOAuth2WithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>创建定时任务</p>
*
* @param tmpReq CreateScheduleTaskRequest
* @param headers CreateScheduleTaskHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return CreateScheduleTaskResponse
*/
public CreateScheduleTaskResponse createScheduleTaskWithOptions(CreateScheduleTaskRequest tmpReq, CreateScheduleTaskHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
CreateScheduleTaskShrinkRequest request = new CreateScheduleTaskShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) {
request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) {
body.put("Payload", request.payloadShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "CreateScheduleTask"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/CreateScheduleTask"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new CreateScheduleTaskResponse());
}
/**
* <b>summary</b> :
* <p>创建定时任务</p>
*
* @param request CreateScheduleTaskRequest
* @return CreateScheduleTaskResponse
*/
public CreateScheduleTaskResponse createScheduleTask(CreateScheduleTaskRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
CreateScheduleTaskHeaders headers = new CreateScheduleTaskHeaders();
return this.createScheduleTaskWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>闹钟批量删除</p>
*
* @param tmpReq DeleteAlarmsRequest
* @param headers DeleteAlarmsHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return DeleteAlarmsResponse
*/
public DeleteAlarmsResponse deleteAlarmsWithOptions(DeleteAlarmsRequest tmpReq, DeleteAlarmsHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
DeleteAlarmsShrinkRequest request = new DeleteAlarmsShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) {
request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) {
body.put("Payload", request.payloadShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "DeleteAlarms"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/deleteAlarms"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteAlarmsResponse());
}
/**
* <b>summary</b> :
* <p>闹钟批量删除</p>
*
* @param request DeleteAlarmsRequest
* @return DeleteAlarmsResponse
*/
public DeleteAlarmsResponse deleteAlarms(DeleteAlarmsRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
DeleteAlarmsHeaders headers = new DeleteAlarmsHeaders();
return this.deleteAlarmsWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>删除定时任务</p>
*
* @param tmpReq DeleteScheduleTaskRequest
* @param headers DeleteScheduleTaskHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return DeleteScheduleTaskResponse
*/
public DeleteScheduleTaskResponse deleteScheduleTaskWithOptions(DeleteScheduleTaskRequest tmpReq, DeleteScheduleTaskHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
DeleteScheduleTaskShrinkRequest request = new DeleteScheduleTaskShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) {
request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) {
body.put("Payload", request.payloadShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "DeleteScheduleTask"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/DeleteScheduleTask"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteScheduleTaskResponse());
}
/**
* <b>summary</b> :
* <p>删除定时任务</p>
*
* @param request DeleteScheduleTaskRequest
* @return DeleteScheduleTaskResponse
*/
public DeleteScheduleTaskResponse deleteScheduleTask(DeleteScheduleTaskRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
DeleteScheduleTaskHeaders headers = new DeleteScheduleTaskHeaders();
return this.deleteScheduleTaskWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>删除订阅</p>
*
* @param request DeleteSubRequest
* @param headers DeleteSubHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return DeleteSubResponse
*/
public DeleteSubResponse deleteSubWithOptions(DeleteSubRequest request, DeleteSubHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.subId)) {
query.put("SubId", request.subId);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "DeleteSub"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/deleteSub"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteSubResponse());
}
/**
* <b>summary</b> :
* <p>删除订阅</p>
*
* @param request DeleteSubRequest
* @return DeleteSubResponse
*/
public DeleteSubResponse deleteSub(DeleteSubRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
DeleteSubHeaders headers = new DeleteSubHeaders();
return this.deleteSubWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>设备控制</p>
*
* @param tmpReq DeviceControlRequest
* @param headers DeviceControlHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return DeviceControlResponse
*/
public DeviceControlResponse deviceControlWithOptions(DeviceControlRequest tmpReq, DeviceControlHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
DeviceControlShrinkRequest request = new DeviceControlShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.controlRequest)) {
request.controlRequestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.controlRequest, "ControlRequest", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.controlRequestShrink)) {
body.put("ControlRequest", request.controlRequestShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "DeviceControl"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/control"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new DeviceControlResponse());
}
/**
* <b>summary</b> :
* <p>设备控制</p>
*
* @param request DeviceControlRequest
* @return DeviceControlResponse
*/
public DeviceControlResponse deviceControl(DeviceControlRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
DeviceControlHeaders headers = new DeviceControlHeaders();
return this.deviceControlWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>生态开放鉴权</p>
*
* @param request EcologyOpennessAuthenticateRequest
* @param headers EcologyOpennessAuthenticateHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return EcologyOpennessAuthenticateResponse
*/
public EcologyOpennessAuthenticateResponse ecologyOpennessAuthenticateWithOptions(EcologyOpennessAuthenticateRequest request, EcologyOpennessAuthenticateHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.encodeKey)) {
body.put("EncodeKey", request.encodeKey);
}
if (!com.aliyun.teautil.Common.isUnset(request.encodeType)) {
body.put("EncodeType", request.encodeType);
}
if (!com.aliyun.teautil.Common.isUnset(request.loginStateAccessToken)) {
body.put("LoginStateAccessToken", request.loginStateAccessToken);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "EcologyOpennessAuthenticate"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/ecologyOpennessAuthenticate"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new EcologyOpennessAuthenticateResponse());
}
/**
* <b>summary</b> :
* <p>生态开放鉴权</p>
*
* @param request EcologyOpennessAuthenticateRequest
* @return EcologyOpennessAuthenticateResponse
*/
public EcologyOpennessAuthenticateResponse ecologyOpennessAuthenticate(EcologyOpennessAuthenticateRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
EcologyOpennessAuthenticateHeaders headers = new EcologyOpennessAuthenticateHeaders();
return this.ecologyOpennessAuthenticateWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>生态开放发送短信验证码</p>
*
* @param request EcologyOpennessSendVerificationCodeRequest
* @param headers EcologyOpennessSendVerificationCodeHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return EcologyOpennessSendVerificationCodeResponse
*/
public EcologyOpennessSendVerificationCodeResponse ecologyOpennessSendVerificationCodeWithOptions(EcologyOpennessSendVerificationCodeRequest request, EcologyOpennessSendVerificationCodeHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.phoneNumber)) {
body.put("PhoneNumber", request.phoneNumber);
}
if (!com.aliyun.teautil.Common.isUnset(request.region)) {
body.put("Region", request.region);
}
if (!com.aliyun.teautil.Common.isUnset(request.sessionId)) {
body.put("SessionId", request.sessionId);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "EcologyOpennessSendVerificationCode"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/ecologyOpennessSendVerificationCode"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new EcologyOpennessSendVerificationCodeResponse());
}
/**
* <b>summary</b> :
* <p>生态开放发送短信验证码</p>
*
* @param request EcologyOpennessSendVerificationCodeRequest
* @return EcologyOpennessSendVerificationCodeResponse
*/
public EcologyOpennessSendVerificationCodeResponse ecologyOpennessSendVerificationCode(EcologyOpennessSendVerificationCodeRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
EcologyOpennessSendVerificationCodeHeaders headers = new EcologyOpennessSendVerificationCodeHeaders();
return this.ecologyOpennessSendVerificationCodeWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>通过手机号寻找可授权登录的账号列表</p>
*
* @param request FindUserlistToAuthLoginWithPhoneNumberRequest
* @param headers FindUserlistToAuthLoginWithPhoneNumberHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return FindUserlistToAuthLoginWithPhoneNumberResponse
*/
public FindUserlistToAuthLoginWithPhoneNumberResponse findUserlistToAuthLoginWithPhoneNumberWithOptions(FindUserlistToAuthLoginWithPhoneNumberRequest request, FindUserlistToAuthLoginWithPhoneNumberHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.code)) {
query.put("Code", request.code);
}
if (!com.aliyun.teautil.Common.isUnset(request.phoneNumber)) {
query.put("PhoneNumber", request.phoneNumber);
}
if (!com.aliyun.teautil.Common.isUnset(request.region)) {
query.put("Region", request.region);
}
if (!com.aliyun.teautil.Common.isUnset(request.sessionId)) {
query.put("SessionId", request.sessionId);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "FindUserlistToAuthLoginWithPhoneNumber"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/findUserlistToAuthLoginWithPhoneNumber"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new FindUserlistToAuthLoginWithPhoneNumberResponse());
}
/**
* <b>summary</b> :
* <p>通过手机号寻找可授权登录的账号列表</p>
*
* @param request FindUserlistToAuthLoginWithPhoneNumberRequest
* @return FindUserlistToAuthLoginWithPhoneNumberResponse
*/
public FindUserlistToAuthLoginWithPhoneNumberResponse findUserlistToAuthLoginWithPhoneNumber(FindUserlistToAuthLoginWithPhoneNumberRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
FindUserlistToAuthLoginWithPhoneNumberHeaders headers = new FindUserlistToAuthLoginWithPhoneNumberHeaders();
return this.findUserlistToAuthLoginWithPhoneNumberWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取单个闹钟</p>
*
* @param tmpReq GetAlarmRequest
* @param headers GetAlarmHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetAlarmResponse
*/
public GetAlarmResponse getAlarmWithOptions(GetAlarmRequest tmpReq, GetAlarmHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
GetAlarmShrinkRequest request = new GetAlarmShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) {
request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) {
body.put("Payload", request.payloadShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetAlarm"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/getAlarm"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetAlarmResponse());
}
/**
* <b>summary</b> :
* <p>获取单个闹钟</p>
*
* @param request GetAlarmRequest
* @return GetAlarmResponse
*/
public GetAlarmResponse getAlarm(GetAlarmRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetAlarmHeaders headers = new GetAlarmHeaders();
return this.getAlarmWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>根据id获取专辑信息</p>
*
* @param request GetAlbumRequest
* @param headers GetAlbumHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetAlbumResponse
*/
public GetAlbumResponse getAlbumWithOptions(GetAlbumRequest request, GetAlbumHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.id)) {
query.put("Id", request.id);
}
if (!com.aliyun.teautil.Common.isUnset(request.type)) {
query.put("Type", request.type);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetAlbum"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/GetAlbum"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetAlbumResponse());
}
/**
* <b>summary</b> :
* <p>根据id获取专辑信息</p>
*
* @param request GetAlbumRequest
* @return GetAlbumResponse
*/
public GetAlbumResponse getAlbum(GetAlbumRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetAlbumHeaders headers = new GetAlbumHeaders();
return this.getAlbumWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取专辑数据</p>
*
* @param request GetAlbumDetailByIdRequest
* @param headers GetAlbumDetailByIdHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetAlbumDetailByIdResponse
*/
public GetAlbumDetailByIdResponse getAlbumDetailByIdWithOptions(GetAlbumDetailByIdRequest request, GetAlbumDetailByIdHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.albumId)) {
query.put("AlbumId", request.albumId);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetAlbumDetailById"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/getAlbumDetailById"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetAlbumDetailByIdResponse());
}
/**
* <b>summary</b> :
* <p>获取专辑数据</p>
*
* @param request GetAlbumDetailByIdRequest
* @return GetAlbumDetailByIdResponse
*/
public GetAlbumDetailByIdResponse getAlbumDetailById(GetAlbumDetailByIdRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetAlbumDetailByIdHeaders headers = new GetAlbumDetailByIdHeaders();
return this.getAlbumDetailByIdWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取三方绑定的精灵账号信息</p>
*
* @param request GetAligenieUserInfoRequest
* @param headers GetAligenieUserInfoHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetAligenieUserInfoResponse
*/
public GetAligenieUserInfoResponse getAligenieUserInfoWithOptions(GetAligenieUserInfoRequest request, GetAligenieUserInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.loginStateAccessToken)) {
query.put("LoginStateAccessToken", request.loginStateAccessToken);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetAligenieUserInfo"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/getAligenieUserInfo"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetAligenieUserInfoResponse());
}
/**
* <b>summary</b> :
* <p>获取三方绑定的精灵账号信息</p>
*
* @param request GetAligenieUserInfoRequest
* @return GetAligenieUserInfoResponse
*/
public GetAligenieUserInfoResponse getAligenieUserInfo(GetAligenieUserInfoRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetAligenieUserInfoHeaders headers = new GetAligenieUserInfoHeaders();
return this.getAligenieUserInfoWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取authCode</p>
*
* @param tmpReq GetCodeEnhanceRequest
* @param headers GetCodeEnhanceHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetCodeEnhanceResponse
*/
public GetCodeEnhanceResponse getCodeEnhanceWithOptions(GetCodeEnhanceRequest tmpReq, GetCodeEnhanceHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
GetCodeEnhanceShrinkRequest request = new GetCodeEnhanceShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.channelInfo)) {
request.channelInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.channelInfo, "ChannelInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.channelInfoShrink)) {
query.put("ChannelInfo", request.channelInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetCodeEnhance"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/getCodeEnhance"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetCodeEnhanceResponse());
}
/**
* <b>summary</b> :
* <p>获取authCode</p>
*
* @param request GetCodeEnhanceRequest
* @return GetCodeEnhanceResponse
*/
public GetCodeEnhanceResponse getCodeEnhance(GetCodeEnhanceRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetCodeEnhanceHeaders headers = new GetCodeEnhanceHeaders();
return this.getCodeEnhanceWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>按照特定的id获取内容信息</p>
*
* @param request GetContentRequest
* @param headers GetContentHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetContentResponse
*/
public GetContentResponse getContentWithOptions(GetContentRequest request, GetContentHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.id)) {
query.put("Id", request.id);
}
if (!com.aliyun.teautil.Common.isUnset(request.type)) {
query.put("Type", request.type);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetContent"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/GetContent"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetContentResponse());
}
/**
* <b>summary</b> :
* <p>按照特定的id获取内容信息</p>
*
* @param request GetContentRequest
* @return GetContentResponse
*/
public GetContentResponse getContent(GetContentRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetContentHeaders headers = new GetContentHeaders();
return this.getContentWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取当前播放项</p>
*
* @param tmpReq GetCurrentPlayingItemRequest
* @param headers GetCurrentPlayingItemHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetCurrentPlayingItemResponse
*/
public GetCurrentPlayingItemResponse getCurrentPlayingItemWithOptions(GetCurrentPlayingItemRequest tmpReq, GetCurrentPlayingItemHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
GetCurrentPlayingItemShrinkRequest request = new GetCurrentPlayingItemShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetCurrentPlayingItem"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/GetCurrentPlayingItem"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetCurrentPlayingItemResponse());
}
/**
* <b>summary</b> :
* <p>获取当前播放项</p>
*
* @param request GetCurrentPlayingItemRequest
* @return GetCurrentPlayingItemResponse
*/
public GetCurrentPlayingItemResponse getCurrentPlayingItem(GetCurrentPlayingItemRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetCurrentPlayingItemHeaders headers = new GetCurrentPlayingItemHeaders();
return this.getCurrentPlayingItemWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取当前播放列表</p>
*
* @param tmpReq GetCurrentPlayingListRequest
* @param headers GetCurrentPlayingListHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetCurrentPlayingListResponse
*/
public GetCurrentPlayingListResponse getCurrentPlayingListWithOptions(GetCurrentPlayingListRequest tmpReq, GetCurrentPlayingListHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
GetCurrentPlayingListShrinkRequest request = new GetCurrentPlayingListShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.openQueryPlayListRequest)) {
request.openQueryPlayListRequestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.openQueryPlayListRequest, "OpenQueryPlayListRequest", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.openQueryPlayListRequestShrink)) {
body.put("OpenQueryPlayListRequest", request.openQueryPlayListRequestShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetCurrentPlayingList"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/GetCurrentPlayingList"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetCurrentPlayingListResponse());
}
/**
* <b>summary</b> :
* <p>获取当前播放列表</p>
*
* @param request GetCurrentPlayingListRequest
* @return GetCurrentPlayingListResponse
*/
public GetCurrentPlayingListResponse getCurrentPlayingList(GetCurrentPlayingListRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetCurrentPlayingListHeaders headers = new GetCurrentPlayingListHeaders();
return this.getCurrentPlayingListWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取设备认证信息</p>
*
* @param tmpReq GetDeviceBasicInfoRequest
* @param headers GetDeviceBasicInfoHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetDeviceBasicInfoResponse
*/
public GetDeviceBasicInfoResponse getDeviceBasicInfoWithOptions(GetDeviceBasicInfoRequest tmpReq, GetDeviceBasicInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
GetDeviceBasicInfoShrinkRequest request = new GetDeviceBasicInfoShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetDeviceBasicInfo"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/getDeviceBasicInfo"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetDeviceBasicInfoResponse());
}
/**
* <b>summary</b> :
* <p>获取设备认证信息</p>
*
* @param request GetDeviceBasicInfoRequest
* @return GetDeviceBasicInfoResponse
*/
public GetDeviceBasicInfoResponse getDeviceBasicInfo(GetDeviceBasicInfoRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetDeviceBasicInfoHeaders headers = new GetDeviceBasicInfoHeaders();
return this.getDeviceBasicInfoWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取设备信息</p>
*
* @param request GetDeviceIdByIdentityRequest
* @param headers GetDeviceIdByIdentityHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetDeviceIdByIdentityResponse
*/
public GetDeviceIdByIdentityResponse getDeviceIdByIdentityWithOptions(GetDeviceIdByIdentityRequest request, GetDeviceIdByIdentityHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.encodeKey)) {
query.put("EncodeKey", request.encodeKey);
}
if (!com.aliyun.teautil.Common.isUnset(request.encodeType)) {
query.put("EncodeType", request.encodeType);
}
if (!com.aliyun.teautil.Common.isUnset(request.identityId)) {
query.put("IdentityId", request.identityId);
}
if (!com.aliyun.teautil.Common.isUnset(request.identityType)) {
query.put("IdentityType", request.identityType);
}
if (!com.aliyun.teautil.Common.isUnset(request.productKey)) {
query.put("ProductKey", request.productKey);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetDeviceIdByIdentity"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/getDeviceIdByIdentity"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetDeviceIdByIdentityResponse());
}
/**
* <b>summary</b> :
* <p>获取设备信息</p>
*
* @param request GetDeviceIdByIdentityRequest
* @return GetDeviceIdByIdentityResponse
*/
public GetDeviceIdByIdentityResponse getDeviceIdByIdentity(GetDeviceIdByIdentityRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetDeviceIdByIdentityHeaders headers = new GetDeviceIdByIdentityHeaders();
return this.getDeviceIdByIdentityWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取设备的用户设置</p>
*
* @param tmpReq GetDeviceSettingRequest
* @param headers GetDeviceSettingHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetDeviceSettingResponse
*/
public GetDeviceSettingResponse getDeviceSettingWithOptions(GetDeviceSettingRequest tmpReq, GetDeviceSettingHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
GetDeviceSettingShrinkRequest request = new GetDeviceSettingShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.keys)) {
request.keysShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.keys, "Keys", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.keysShrink)) {
query.put("Keys", request.keysShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetDeviceSetting"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/getDeviceSetting"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetDeviceSettingResponse());
}
/**
* <b>summary</b> :
* <p>获取设备的用户设置</p>
*
* @param request GetDeviceSettingRequest
* @return GetDeviceSettingResponse
*/
public GetDeviceSettingResponse getDeviceSetting(GetDeviceSettingRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetDeviceSettingHeaders headers = new GetDeviceSettingHeaders();
return this.getDeviceSettingWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取设备状态详情</p>
*
* @param tmpReq GetDeviceStatusDetailRequest
* @param headers GetDeviceStatusDetailHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetDeviceStatusDetailResponse
*/
public GetDeviceStatusDetailResponse getDeviceStatusDetailWithOptions(GetDeviceStatusDetailRequest tmpReq, GetDeviceStatusDetailHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
GetDeviceStatusDetailShrinkRequest request = new GetDeviceStatusDetailShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.keys)) {
request.keysShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.keys, "Keys", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.keysShrink)) {
query.put("Keys", request.keysShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetDeviceStatusDetail"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/getDeviceStatusDetail"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetDeviceStatusDetailResponse());
}
/**
* <b>summary</b> :
* <p>获取设备状态详情</p>
*
* @param request GetDeviceStatusDetailRequest
* @return GetDeviceStatusDetailResponse
*/
public GetDeviceStatusDetailResponse getDeviceStatusDetail(GetDeviceStatusDetailRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetDeviceStatusDetailHeaders headers = new GetDeviceStatusDetailHeaders();
return this.getDeviceStatusDetailWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取设备状态信息</p>
*
* @param tmpReq GetDeviceStatusInfoRequest
* @param headers GetDeviceStatusInfoHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetDeviceStatusInfoResponse
*/
public GetDeviceStatusInfoResponse getDeviceStatusInfoWithOptions(GetDeviceStatusInfoRequest tmpReq, GetDeviceStatusInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
GetDeviceStatusInfoShrinkRequest request = new GetDeviceStatusInfoShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetDeviceStatusInfo"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/getDeviceStatusInfo"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetDeviceStatusInfoResponse());
}
/**
* <b>summary</b> :
* <p>获取设备状态信息</p>
*
* @param request GetDeviceStatusInfoRequest
* @return GetDeviceStatusInfoResponse
*/
public GetDeviceStatusInfoResponse getDeviceStatusInfo(GetDeviceStatusInfoRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetDeviceStatusInfoHeaders headers = new GetDeviceStatusInfoHeaders();
return this.getDeviceStatusInfoWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取设备标签</p>
*
* @param tmpReq GetDeviceTagRequest
* @param headers GetDeviceTagHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetDeviceTagResponse
*/
public GetDeviceTagResponse getDeviceTagWithOptions(GetDeviceTagRequest tmpReq, GetDeviceTagHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
GetDeviceTagShrinkRequest request = new GetDeviceTagShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetDeviceTag"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/getDeviceTag"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetDeviceTagResponse());
}
/**
* <b>summary</b> :
* <p>获取设备标签</p>
*
* @param request GetDeviceTagRequest
* @return GetDeviceTagResponse
*/
public GetDeviceTagResponse getDeviceTag(GetDeviceTagRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetDeviceTagHeaders headers = new GetDeviceTagHeaders();
return this.getDeviceTagWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>江苏电信号百</p>
*
* @param request GetJiangSuTelecomDataRequest
* @param headers GetJiangSuTelecomDataHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetJiangSuTelecomDataResponse
*/
public GetJiangSuTelecomDataResponse getJiangSuTelecomDataWithOptions(GetJiangSuTelecomDataRequest request, GetJiangSuTelecomDataHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.date)) {
query.put("Date", request.date);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetJiangSuTelecomData"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/GetJiangSuTelecomData"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetJiangSuTelecomDataResponse());
}
/**
* <b>summary</b> :
* <p>江苏电信号百</p>
*
* @param request GetJiangSuTelecomDataRequest
* @return GetJiangSuTelecomDataResponse
*/
public GetJiangSuTelecomDataResponse getJiangSuTelecomData(GetJiangSuTelecomDataRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetJiangSuTelecomDataHeaders headers = new GetJiangSuTelecomDataHeaders();
return this.getJiangSuTelecomDataWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>查询定时任务</p>
*
* @param tmpReq GetScheduleTaskRequest
* @param headers GetScheduleTaskHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetScheduleTaskResponse
*/
public GetScheduleTaskResponse getScheduleTaskWithOptions(GetScheduleTaskRequest tmpReq, GetScheduleTaskHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
GetScheduleTaskShrinkRequest request = new GetScheduleTaskShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) {
request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) {
body.put("Payload", request.payloadShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetScheduleTask"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/GetScheduleTask"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetScheduleTaskResponse());
}
/**
* <b>summary</b> :
* <p>查询定时任务</p>
*
* @param request GetScheduleTaskRequest
* @return GetScheduleTaskResponse
*/
public GetScheduleTaskResponse getScheduleTask(GetScheduleTaskRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetScheduleTaskHeaders headers = new GetScheduleTaskHeaders();
return this.getScheduleTaskWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>查询未读留言数量</p>
*
* @param tmpReq GetUnreadMessageCountRequest
* @param headers GetUnreadMessageCountHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetUnreadMessageCountResponse
*/
public GetUnreadMessageCountResponse getUnreadMessageCountWithOptions(GetUnreadMessageCountRequest tmpReq, GetUnreadMessageCountHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
GetUnreadMessageCountShrinkRequest request = new GetUnreadMessageCountShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetUnreadMessageCount"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/getUnreadMessageCount"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetUnreadMessageCountResponse());
}
/**
* <b>summary</b> :
* <p>查询未读留言数量</p>
*
* @param request GetUnreadMessageCountRequest
* @return GetUnreadMessageCountResponse
*/
public GetUnreadMessageCountResponse getUnreadMessageCount(GetUnreadMessageCountRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetUnreadMessageCountHeaders headers = new GetUnreadMessageCountHeaders();
return this.getUnreadMessageCountWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>查询设备绑定的用户</p>
*
* @param tmpReq GetUserByDeviceIdRequest
* @param headers GetUserByDeviceIdHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetUserByDeviceIdResponse
*/
public GetUserByDeviceIdResponse getUserByDeviceIdWithOptions(GetUserByDeviceIdRequest tmpReq, GetUserByDeviceIdHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
GetUserByDeviceIdShrinkRequest request = new GetUserByDeviceIdShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetUserByDeviceId"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/getUserByDeviceId"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetUserByDeviceIdResponse());
}
/**
* <b>summary</b> :
* <p>查询设备绑定的用户</p>
*
* @param request GetUserByDeviceIdRequest
* @return GetUserByDeviceIdResponse
*/
public GetUserByDeviceIdResponse getUserByDeviceId(GetUserByDeviceIdRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetUserByDeviceIdHeaders headers = new GetUserByDeviceIdHeaders();
return this.getUserByDeviceIdWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>查询天气</p>
*
* @param tmpReq GetWeatherRequest
* @param headers GetWeatherHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return GetWeatherResponse
*/
public GetWeatherResponse getWeatherWithOptions(GetWeatherRequest tmpReq, GetWeatherHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
GetWeatherShrinkRequest request = new GetWeatherShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) {
request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) {
body.put("Payload", request.payloadShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetWeather"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/GetWeather"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetWeatherResponse());
}
/**
* <b>summary</b> :
* <p>查询天气</p>
*
* @param request GetWeatherRequest
* @return GetWeatherResponse
*/
public GetWeatherResponse getWeather(GetWeatherRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
GetWeatherHeaders headers = new GetWeatherHeaders();
return this.getWeatherWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>播放列表点击播放</p>
*
* @param tmpReq IndexControlPlayingListRequest
* @param headers IndexControlPlayingListHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return IndexControlPlayingListResponse
*/
public IndexControlPlayingListResponse indexControlPlayingListWithOptions(IndexControlPlayingListRequest tmpReq, IndexControlPlayingListHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
IndexControlPlayingListShrinkRequest request = new IndexControlPlayingListShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.openIndexControlRequest)) {
request.openIndexControlRequestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.openIndexControlRequest, "OpenIndexControlRequest", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.openIndexControlRequestShrink)) {
body.put("OpenIndexControlRequest", request.openIndexControlRequestShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "IndexControlPlayingList"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/IndexControlPlayingList"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new IndexControlPlayingListResponse());
}
/**
* <b>summary</b> :
* <p>播放列表点击播放</p>
*
* @param request IndexControlPlayingListRequest
* @return IndexControlPlayingListResponse
*/
public IndexControlPlayingListResponse indexControlPlayingList(IndexControlPlayingListRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
IndexControlPlayingListHeaders headers = new IndexControlPlayingListHeaders();
return this.indexControlPlayingListWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>失效三方应用登录态</p>
*
* @param tmpReq InvalidateThirdPartyAppLoginStateRequest
* @param headers InvalidateThirdPartyAppLoginStateHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return InvalidateThirdPartyAppLoginStateResponse
*/
public InvalidateThirdPartyAppLoginStateResponse invalidateThirdPartyAppLoginStateWithOptions(InvalidateThirdPartyAppLoginStateRequest tmpReq, InvalidateThirdPartyAppLoginStateHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
InvalidateThirdPartyAppLoginStateShrinkRequest request = new InvalidateThirdPartyAppLoginStateShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.thirdPartyAppId)) {
body.put("ThirdPartyAppId", request.thirdPartyAppId);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "InvalidateThirdPartyAppLoginState"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/invalidateThirdPartyAppLoginState"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new InvalidateThirdPartyAppLoginStateResponse());
}
/**
* <b>summary</b> :
* <p>失效三方应用登录态</p>
*
* @param request InvalidateThirdPartyAppLoginStateRequest
* @return InvalidateThirdPartyAppLoginStateResponse
*/
public InvalidateThirdPartyAppLoginStateResponse invalidateThirdPartyAppLoginState(InvalidateThirdPartyAppLoginStateRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
InvalidateThirdPartyAppLoginStateHeaders headers = new InvalidateThirdPartyAppLoginStateHeaders();
return this.invalidateThirdPartyAppLoginStateWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>查询闹钟列表</p>
*
* @param tmpReq ListAlarmsRequest
* @param headers ListAlarmsHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListAlarmsResponse
*/
public ListAlarmsResponse listAlarmsWithOptions(ListAlarmsRequest tmpReq, ListAlarmsHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ListAlarmsShrinkRequest request = new ListAlarmsShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) {
request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) {
body.put("Payload", request.payloadShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListAlarms"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/listAlarm"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListAlarmsResponse());
}
/**
* <b>summary</b> :
* <p>查询闹钟列表</p>
*
* @param request ListAlarmsRequest
* @return ListAlarmsResponse
*/
public ListAlarmsResponse listAlarms(ListAlarmsRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListAlarmsHeaders headers = new ListAlarmsHeaders();
return this.listAlarmsWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取音乐音频专辑里面的内容列表</p>
*
* @param request ListAlbumDetailRequest
* @param headers ListAlbumDetailHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListAlbumDetailResponse
*/
public ListAlbumDetailResponse listAlbumDetailWithOptions(ListAlbumDetailRequest request, ListAlbumDetailHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.id)) {
query.put("Id", request.id);
}
if (!com.aliyun.teautil.Common.isUnset(request.pageNum)) {
query.put("PageNum", request.pageNum);
}
if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) {
query.put("PageSize", request.pageSize);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListAlbumDetail"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/ListAlbumDetail"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListAlbumDetailResponse());
}
/**
* <b>summary</b> :
* <p>获取音乐音频专辑里面的内容列表</p>
*
* @param request ListAlbumDetailRequest
* @return ListAlbumDetailResponse
*/
public ListAlbumDetailResponse listAlbumDetail(ListAlbumDetailRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListAlbumDetailHeaders headers = new ListAlbumDetailHeaders();
return this.listAlbumDetailWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>专辑是否被订阅</p>
*
* @param tmpReq ListAlbumIsAddedRequest
* @param headers ListAlbumIsAddedHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListAlbumIsAddedResponse
*/
public ListAlbumIsAddedResponse listAlbumIsAddedWithOptions(ListAlbumIsAddedRequest tmpReq, ListAlbumIsAddedHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ListAlbumIsAddedShrinkRequest request = new ListAlbumIsAddedShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.albumIdList)) {
request.albumIdListShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.albumIdList, "AlbumIdList", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.albumIdListShrink)) {
query.put("AlbumIdList", request.albumIdListShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListAlbumIsAdded"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/listAlbumIsAdded"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListAlbumIsAddedResponse());
}
/**
* <b>summary</b> :
* <p>专辑是否被订阅</p>
*
* @param request ListAlbumIsAddedRequest
* @return ListAlbumIsAddedResponse
*/
public ListAlbumIsAddedResponse listAlbumIsAdded(ListAlbumIsAddedRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListAlbumIsAddedHeaders headers = new ListAlbumIsAddedHeaders();
return this.listAlbumIsAddedWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>根据特定的类目,按照指定的排序顺序获取该类目下的内容.</p>
*
* @param tmpReq ListCateContentRequest
* @param headers ListCateContentHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListCateContentResponse
*/
public ListCateContentResponse listCateContentWithOptions(ListCateContentRequest tmpReq, ListCateContentHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ListCateContentShrinkRequest request = new ListCateContentShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.request)) {
request.requestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.request, "Request", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.requestShrink)) {
body.put("Request", request.requestShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListCateContent"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/ListCateContent"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListCateContentResponse());
}
/**
* <b>summary</b> :
* <p>根据特定的类目,按照指定的排序顺序获取该类目下的内容.</p>
*
* @param request ListCateContentRequest
* @return ListCateContentResponse
*/
public ListCateContentResponse listCateContent(ListCateContentRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListCateContentHeaders headers = new ListCateContentHeaders();
return this.listCateContentWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取音乐音频类目列表</p>
*
* @param request ListCateInfoRequest
* @param headers ListCateInfoHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListCateInfoResponse
*/
public ListCateInfoResponse listCateInfoWithOptions(ListCateInfoRequest request, ListCateInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.type)) {
query.put("Type", request.type);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListCateInfo"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/ListCateInfo"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListCateInfoResponse());
}
/**
* <b>summary</b> :
* <p>获取音乐音频类目列表</p>
*
* @param request ListCateInfoRequest
* @return ListCateInfoResponse
*/
public ListCateInfoResponse listCateInfo(ListCateInfoRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListCateInfoHeaders headers = new ListCateInfoHeaders();
return this.listCateInfoWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取音乐/音频的一级类目列表</p>
*
* @param request ListCommonCateFirstFloorRequest
* @param headers ListCommonCateFirstFloorHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListCommonCateFirstFloorResponse
*/
public ListCommonCateFirstFloorResponse listCommonCateFirstFloorWithOptions(ListCommonCateFirstFloorRequest request, ListCommonCateFirstFloorHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.type)) {
query.put("Type", request.type);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListCommonCateFirstFloor"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/ListCommonCateFirstFloor"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListCommonCateFirstFloorResponse());
}
/**
* <b>summary</b> :
* <p>获取音乐/音频的一级类目列表</p>
*
* @param request ListCommonCateFirstFloorRequest
* @return ListCommonCateFirstFloorResponse
*/
public ListCommonCateFirstFloorResponse listCommonCateFirstFloor(ListCommonCateFirstFloorRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListCommonCateFirstFloorHeaders headers = new ListCommonCateFirstFloorHeaders();
return this.listCommonCateFirstFloorWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取指定一级类目下面的二级类目列表</p>
*
* @param request ListCommonCateSecondFloorRequest
* @param headers ListCommonCateSecondFloorHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListCommonCateSecondFloorResponse
*/
public ListCommonCateSecondFloorResponse listCommonCateSecondFloorWithOptions(ListCommonCateSecondFloorRequest request, ListCommonCateSecondFloorHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.parentCateId)) {
query.put("ParentCateId", request.parentCateId);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListCommonCateSecondFloor"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/ListCommonCateSecondFloor"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListCommonCateSecondFloorResponse());
}
/**
* <b>summary</b> :
* <p>获取指定一级类目下面的二级类目列表</p>
*
* @param request ListCommonCateSecondFloorRequest
* @return ListCommonCateSecondFloorResponse
*/
public ListCommonCateSecondFloorResponse listCommonCateSecondFloor(ListCommonCateSecondFloorRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListCommonCateSecondFloorHeaders headers = new ListCommonCateSecondFloorHeaders();
return this.listCommonCateSecondFloorWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>批量获取设备基本信息</p>
*
* @param tmpReq ListDeviceBasicInfoRequest
* @param headers ListDeviceBasicInfoHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListDeviceBasicInfoResponse
*/
public ListDeviceBasicInfoResponse listDeviceBasicInfoWithOptions(ListDeviceBasicInfoRequest tmpReq, ListDeviceBasicInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ListDeviceBasicInfoShrinkRequest request = new ListDeviceBasicInfoShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfos)) {
request.deviceInfosShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfos, "DeviceInfos", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfosShrink)) {
query.put("DeviceInfos", request.deviceInfosShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListDeviceBasicInfo"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/listDeviceBasicInfo"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListDeviceBasicInfoResponse());
}
/**
* <b>summary</b> :
* <p>批量获取设备基本信息</p>
*
* @param request ListDeviceBasicInfoRequest
* @return ListDeviceBasicInfoResponse
*/
public ListDeviceBasicInfoResponse listDeviceBasicInfo(ListDeviceBasicInfoRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListDeviceBasicInfoHeaders headers = new ListDeviceBasicInfoHeaders();
return this.listDeviceBasicInfoWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>查询用户名下的设备</p>
*
* @param tmpReq ListDeviceByUserIdRequest
* @param headers ListDeviceByUserIdHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListDeviceByUserIdResponse
*/
public ListDeviceByUserIdResponse listDeviceByUserIdWithOptions(ListDeviceByUserIdRequest tmpReq, ListDeviceByUserIdHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ListDeviceByUserIdShrinkRequest request = new ListDeviceByUserIdShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListDeviceByUserId"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/listDeviceByUserId"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListDeviceByUserIdResponse());
}
/**
* <b>summary</b> :
* <p>查询用户名下的设备</p>
*
* @param request ListDeviceByUserIdRequest
* @return ListDeviceByUserIdResponse
*/
public ListDeviceByUserIdResponse listDeviceByUserId(ListDeviceByUserIdRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListDeviceByUserIdHeaders headers = new ListDeviceByUserIdHeaders();
return this.listDeviceByUserIdWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取指定渠道的设备列表</p>
*
* @param tmpReq ListDeviceByUserIdAndChanelRequest
* @param headers ListDeviceByUserIdAndChanelHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListDeviceByUserIdAndChanelResponse
*/
public ListDeviceByUserIdAndChanelResponse listDeviceByUserIdAndChanelWithOptions(ListDeviceByUserIdAndChanelRequest tmpReq, ListDeviceByUserIdAndChanelHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ListDeviceByUserIdAndChanelShrinkRequest request = new ListDeviceByUserIdAndChanelShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.channelInfo)) {
request.channelInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.channelInfo, "ChannelInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.channelInfoShrink)) {
query.put("ChannelInfo", request.channelInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListDeviceByUserIdAndChanel"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/listDeviceByUserIdAndChanel"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListDeviceByUserIdAndChanelResponse());
}
/**
* <b>summary</b> :
* <p>获取指定渠道的设备列表</p>
*
* @param request ListDeviceByUserIdAndChanelRequest
* @return ListDeviceByUserIdAndChanelResponse
*/
public ListDeviceByUserIdAndChanelResponse listDeviceByUserIdAndChanel(ListDeviceByUserIdAndChanelRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListDeviceByUserIdAndChanelHeaders headers = new ListDeviceByUserIdAndChanelHeaders();
return this.listDeviceByUserIdAndChanelWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>批量获取设备openId</p>
*
* @param tmpReq ListDeviceIdByIdentitiesRequest
* @param headers ListDeviceIdByIdentitiesHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListDeviceIdByIdentitiesResponse
*/
public ListDeviceIdByIdentitiesResponse listDeviceIdByIdentitiesWithOptions(ListDeviceIdByIdentitiesRequest tmpReq, ListDeviceIdByIdentitiesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ListDeviceIdByIdentitiesShrinkRequest request = new ListDeviceIdByIdentitiesShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.identityIds)) {
request.identityIdsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.identityIds, "IdentityIds", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.encodeKey)) {
query.put("EncodeKey", request.encodeKey);
}
if (!com.aliyun.teautil.Common.isUnset(request.encodeType)) {
query.put("EncodeType", request.encodeType);
}
if (!com.aliyun.teautil.Common.isUnset(request.identityIdsShrink)) {
query.put("IdentityIds", request.identityIdsShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.identityType)) {
query.put("IdentityType", request.identityType);
}
if (!com.aliyun.teautil.Common.isUnset(request.productKey)) {
query.put("ProductKey", request.productKey);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListDeviceIdByIdentities"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/listDeviceIdByIdentities"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListDeviceIdByIdentitiesResponse());
}
/**
* <b>summary</b> :
* <p>批量获取设备openId</p>
*
* @param request ListDeviceIdByIdentitiesRequest
* @return ListDeviceIdByIdentitiesResponse
*/
public ListDeviceIdByIdentitiesResponse listDeviceIdByIdentities(ListDeviceIdByIdentitiesRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListDeviceIdByIdentitiesHeaders headers = new ListDeviceIdByIdentitiesHeaders();
return this.listDeviceIdByIdentitiesWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>基于音乐类型查询铃声列表(分页)</p>
*
* @param tmpReq ListMusicRequest
* @param headers ListMusicHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListMusicResponse
*/
public ListMusicResponse listMusicWithOptions(ListMusicRequest tmpReq, ListMusicHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ListMusicShrinkRequest request = new ListMusicShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) {
request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) {
body.put("Payload", request.payloadShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListMusic"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/listMusic"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListMusicResponse());
}
/**
* <b>summary</b> :
* <p>基于音乐类型查询铃声列表(分页)</p>
*
* @param request ListMusicRequest
* @return ListMusicResponse
*/
public ListMusicResponse listMusic(ListMusicRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListMusicHeaders headers = new ListMusicHeaders();
return this.listMusicWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取用户的播放历史</p>
*
* @param tmpReq ListPlayHistoryRequest
* @param headers ListPlayHistoryHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListPlayHistoryResponse
*/
public ListPlayHistoryResponse listPlayHistoryWithOptions(ListPlayHistoryRequest tmpReq, ListPlayHistoryHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ListPlayHistoryShrinkRequest request = new ListPlayHistoryShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.request)) {
request.requestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.request, "Request", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.requestShrink)) {
body.put("Request", request.requestShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListPlayHistory"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/ListPlayHistory"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListPlayHistoryResponse());
}
/**
* <b>summary</b> :
* <p>获取用户的播放历史</p>
*
* @param request ListPlayHistoryRequest
* @return ListPlayHistoryResponse
*/
public ListPlayHistoryResponse listPlayHistory(ListPlayHistoryRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListPlayHistoryHeaders headers = new ListPlayHistoryHeaders();
return this.listPlayHistoryWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取每日推荐的音乐或者音频</p>
*
* @param tmpReq ListRecommendContentRequest
* @param headers ListRecommendContentHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListRecommendContentResponse
*/
public ListRecommendContentResponse listRecommendContentWithOptions(ListRecommendContentRequest tmpReq, ListRecommendContentHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ListRecommendContentShrinkRequest request = new ListRecommendContentShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.request)) {
request.requestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.request, "Request", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.requestShrink)) {
body.put("Request", request.requestShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListRecommendContent"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/ListRecommendContent"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListRecommendContentResponse());
}
/**
* <b>summary</b> :
* <p>获取每日推荐的音乐或者音频</p>
*
* @param request ListRecommendContentRequest
* @return ListRecommendContentResponse
*/
public ListRecommendContentResponse listRecommendContent(ListRecommendContentRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListRecommendContentHeaders headers = new ListRecommendContentHeaders();
return this.listRecommendContentWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>订阅列表</p>
*
* @param tmpReq ListSubRequest
* @param headers ListSubHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListSubResponse
*/
public ListSubResponse listSubWithOptions(ListSubRequest tmpReq, ListSubHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ListSubShrinkRequest request = new ListSubShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.page)) {
request.pageShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.pageShrink)) {
query.put("Page", request.pageShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListSub"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/listSub"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListSubResponse());
}
/**
* <b>summary</b> :
* <p>订阅列表</p>
*
* @param request ListSubRequest
* @return ListSubResponse
*/
public ListSubResponse listSub(ListSubRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListSubHeaders headers = new ListSubHeaders();
return this.listSubWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>订阅专辑元数据列表</p>
*
* @param tmpReq ListSubAlbumRequest
* @param headers ListSubAlbumHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListSubAlbumResponse
*/
public ListSubAlbumResponse listSubAlbumWithOptions(ListSubAlbumRequest tmpReq, ListSubAlbumHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ListSubAlbumShrinkRequest request = new ListSubAlbumShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.querySubscriptionAlbumRequest)) {
request.querySubscriptionAlbumRequestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.querySubscriptionAlbumRequest, "QuerySubscriptionAlbumRequest", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.querySubscriptionAlbumRequestShrink)) {
query.put("QuerySubscriptionAlbumRequest", request.querySubscriptionAlbumRequestShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListSubAlbum"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/listSubAlbum"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListSubAlbumResponse());
}
/**
* <b>summary</b> :
* <p>订阅专辑元数据列表</p>
*
* @param request ListSubAlbumRequest
* @return ListSubAlbumResponse
*/
public ListSubAlbumResponse listSubAlbum(ListSubAlbumRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListSubAlbumHeaders headers = new ListSubAlbumHeaders();
return this.listSubAlbumWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>内容订阅元数据分类</p>
*
* @param request ListSubscriptionAlbumCategoryRequest
* @param headers ListSubscriptionAlbumCategoryHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListSubscriptionAlbumCategoryResponse
*/
public ListSubscriptionAlbumCategoryResponse listSubscriptionAlbumCategoryWithOptions(ListSubscriptionAlbumCategoryRequest request, ListSubscriptionAlbumCategoryHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.categoryName)) {
query.put("CategoryName", request.categoryName);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListSubscriptionAlbumCategory"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/listSubscriptionAlbumCategory"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListSubscriptionAlbumCategoryResponse());
}
/**
* <b>summary</b> :
* <p>内容订阅元数据分类</p>
*
* @param request ListSubscriptionAlbumCategoryRequest
* @return ListSubscriptionAlbumCategoryResponse
*/
public ListSubscriptionAlbumCategoryResponse listSubscriptionAlbumCategory(ListSubscriptionAlbumCategoryRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListSubscriptionAlbumCategoryHeaders headers = new ListSubscriptionAlbumCategoryHeaders();
return this.listSubscriptionAlbumCategoryWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取留言列表</p>
*
* @param tmpReq ListUserMessageRequest
* @param headers ListUserMessageHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ListUserMessageResponse
*/
public ListUserMessageResponse listUserMessageWithOptions(ListUserMessageRequest tmpReq, ListUserMessageHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ListUserMessageShrinkRequest request = new ListUserMessageShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.beforeTime)) {
query.put("BeforeTime", request.beforeTime);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.limit)) {
query.put("limit", request.limit);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ListUserMessage"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/listUserMessage"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ListUserMessageResponse());
}
/**
* <b>summary</b> :
* <p>获取留言列表</p>
*
* @param request ListUserMessageRequest
* @return ListUserMessageResponse
*/
public ListUserMessageResponse listUserMessage(ListUserMessageRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ListUserMessageHeaders headers = new ListUserMessageHeaders();
return this.listUserMessageWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>移动轻纳管</p>
*
* @param tmpReq MobileRecommendRequest
* @param headers MobileRecommendHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return MobileRecommendResponse
*/
public MobileRecommendResponse mobileRecommendWithOptions(MobileRecommendRequest tmpReq, MobileRecommendHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
MobileRecommendShrinkRequest request = new MobileRecommendShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.botId)) {
query.put("BotId", request.botId);
}
if (!com.aliyun.teautil.Common.isUnset(request.count)) {
query.put("Count", request.count);
}
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.style)) {
query.put("Style", request.style);
}
if (!com.aliyun.teautil.Common.isUnset(request.type)) {
query.put("Type", request.type);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "MobileRecommend"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/mobile/recommend/music"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new MobileRecommendResponse());
}
/**
* <b>summary</b> :
* <p>移动轻纳管</p>
*
* @param request MobileRecommendRequest
* @return MobileRecommendResponse
*/
public MobileRecommendResponse mobileRecommend(MobileRecommendRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
MobileRecommendHeaders headers = new MobileRecommendHeaders();
return this.mobileRecommendWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>播放暂停控制</p>
*
* @param tmpReq PlayAndPauseControlRequest
* @param headers PlayAndPauseControlHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return PlayAndPauseControlResponse
*/
public PlayAndPauseControlResponse playAndPauseControlWithOptions(PlayAndPauseControlRequest tmpReq, PlayAndPauseControlHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
PlayAndPauseControlShrinkRequest request = new PlayAndPauseControlShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.openPlayAndPauseControlParam)) {
request.openPlayAndPauseControlParamShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.openPlayAndPauseControlParam, "OpenPlayAndPauseControlParam", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.openPlayAndPauseControlParamShrink)) {
body.put("OpenPlayAndPauseControlParam", request.openPlayAndPauseControlParamShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "PlayAndPauseControl"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/PlayAndPauseControl"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new PlayAndPauseControlResponse());
}
/**
* <b>summary</b> :
* <p>播放暂停控制</p>
*
* @param request PlayAndPauseControlRequest
* @return PlayAndPauseControlResponse
*/
public PlayAndPauseControlResponse playAndPauseControl(PlayAndPauseControlRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
PlayAndPauseControlHeaders headers = new PlayAndPauseControlHeaders();
return this.playAndPauseControlWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>播放模式切换</p>
*
* @param tmpReq PlayModeControlRequest
* @param headers PlayModeControlHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return PlayModeControlResponse
*/
public PlayModeControlResponse playModeControlWithOptions(PlayModeControlRequest tmpReq, PlayModeControlHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
PlayModeControlShrinkRequest request = new PlayModeControlShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.openPlayModeControlRequest)) {
request.openPlayModeControlRequestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.openPlayModeControlRequest, "OpenPlayModeControlRequest", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.openPlayModeControlRequestShrink)) {
body.put("OpenPlayModeControlRequest", request.openPlayModeControlRequestShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "PlayModeControl"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/PlayModeControl"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new PlayModeControlResponse());
}
/**
* <b>summary</b> :
* <p>播放模式切换</p>
*
* @param request PlayModeControlRequest
* @return PlayModeControlResponse
*/
public PlayModeControlResponse playModeControl(PlayModeControlRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
PlayModeControlHeaders headers = new PlayModeControlHeaders();
return this.playModeControlWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>上下首控制</p>
*
* @param tmpReq PreviousAndNextControlRequest
* @param headers PreviousAndNextControlHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return PreviousAndNextControlResponse
*/
public PreviousAndNextControlResponse previousAndNextControlWithOptions(PreviousAndNextControlRequest tmpReq, PreviousAndNextControlHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
PreviousAndNextControlShrinkRequest request = new PreviousAndNextControlShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.openControlPlayingListRequest)) {
request.openControlPlayingListRequestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.openControlPlayingListRequest, "OpenControlPlayingListRequest", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.openControlPlayingListRequestShrink)) {
body.put("OpenControlPlayingListRequest", request.openControlPlayingListRequestShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "PreviousAndNextControl"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/PreviousAndNextControl"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new PreviousAndNextControlResponse());
}
/**
* <b>summary</b> :
* <p>上下首控制</p>
*
* @param request PreviousAndNextControlRequest
* @return PreviousAndNextControlResponse
*/
public PreviousAndNextControlResponse previousAndNextControl(PreviousAndNextControlRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
PreviousAndNextControlHeaders headers = new PreviousAndNextControlHeaders();
return this.previousAndNextControlWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>进度控制</p>
*
* @param tmpReq ProgressControlRequest
* @param headers ProgressControlHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ProgressControlResponse
*/
public ProgressControlResponse progressControlWithOptions(ProgressControlRequest tmpReq, ProgressControlHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ProgressControlShrinkRequest request = new ProgressControlShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.openProgressControlRequest)) {
request.openProgressControlRequestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.openProgressControlRequest, "OpenProgressControlRequest", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.openProgressControlRequestShrink)) {
body.put("OpenProgressControlRequest", request.openProgressControlRequestShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ProgressControl"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/ProgressControl"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ProgressControlResponse());
}
/**
* <b>summary</b> :
* <p>进度控制</p>
*
* @param request ProgressControlRequest
* @return ProgressControlResponse
*/
public ProgressControlResponse progressControl(ProgressControlRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ProgressControlHeaders headers = new ProgressControlHeaders();
return this.progressControlWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取闹钟音乐类型列表</p>
*
* @param tmpReq QueryMusicTypeRequest
* @param headers QueryMusicTypeHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return QueryMusicTypeResponse
*/
public QueryMusicTypeResponse queryMusicTypeWithOptions(QueryMusicTypeRequest tmpReq, QueryMusicTypeHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
QueryMusicTypeShrinkRequest request = new QueryMusicTypeShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) {
request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) {
body.put("Payload", request.payloadShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "QueryMusicType"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/queryMusicType"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new QueryMusicTypeResponse());
}
/**
* <b>summary</b> :
* <p>获取闹钟音乐类型列表</p>
*
* @param request QueryMusicTypeRequest
* @return QueryMusicTypeResponse
*/
public QueryMusicTypeResponse queryMusicType(QueryMusicTypeRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
QueryMusicTypeHeaders headers = new QueryMusicTypeHeaders();
return this.queryMusicTypeWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>通过tme用户id获取授权的天猫精灵用户+设备列表</p>
*
* @param request QueryUserDeviceListByTmeUserIdRequest
* @param headers QueryUserDeviceListByTmeUserIdHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return QueryUserDeviceListByTmeUserIdResponse
*/
public QueryUserDeviceListByTmeUserIdResponse queryUserDeviceListByTmeUserIdWithOptions(QueryUserDeviceListByTmeUserIdRequest request, QueryUserDeviceListByTmeUserIdHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.sp)) {
query.put("Sp", request.sp);
}
if (!com.aliyun.teautil.Common.isUnset(request.tmeUserId)) {
query.put("TmeUserId", request.tmeUserId);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "QueryUserDeviceListByTmeUserId"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/queryUserDeviceListByTmeUserId"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new QueryUserDeviceListByTmeUserIdResponse());
}
/**
* <b>summary</b> :
* <p>通过tme用户id获取授权的天猫精灵用户+设备列表</p>
*
* @param request QueryUserDeviceListByTmeUserIdRequest
* @return QueryUserDeviceListByTmeUserIdResponse
*/
public QueryUserDeviceListByTmeUserIdResponse queryUserDeviceListByTmeUserId(QueryUserDeviceListByTmeUserIdRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
QueryUserDeviceListByTmeUserIdHeaders headers = new QueryUserDeviceListByTmeUserIdHeaders();
return this.queryUserDeviceListByTmeUserIdWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>读取留言</p>
*
* @param tmpReq ReadMessageRequest
* @param headers ReadMessageHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ReadMessageResponse
*/
public ReadMessageResponse readMessageWithOptions(ReadMessageRequest tmpReq, ReadMessageHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ReadMessageShrinkRequest request = new ReadMessageShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.messageId)) {
query.put("MessageId", request.messageId);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ReadMessage"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/readMessage"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ReadMessageResponse());
}
/**
* <b>summary</b> :
* <p>读取留言</p>
*
* @param request ReadMessageRequest
* @return ReadMessageResponse
*/
public ReadMessageResponse readMessage(ReadMessageRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ReadMessageHeaders headers = new ReadMessageHeaders();
return this.readMessageWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>扫描二维码激活绑定设备</p>
*
* @param tmpReq ScanCodeBindRequest
* @param headers ScanCodeBindHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ScanCodeBindResponse
*/
public ScanCodeBindResponse scanCodeBindWithOptions(ScanCodeBindRequest tmpReq, ScanCodeBindHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ScanCodeBindShrinkRequest request = new ScanCodeBindShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.bindReq)) {
request.bindReqShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.bindReq, "BindReq", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.bindReqShrink)) {
body.put("BindReq", request.bindReqShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ScanCodeBind"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/scanCode"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ScanCodeBindResponse());
}
/**
* <b>summary</b> :
* <p>扫描二维码激活绑定设备</p>
*
* @param request ScanCodeBindRequest
* @return ScanCodeBindResponse
*/
public ScanCodeBindResponse scanCodeBind(ScanCodeBindRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ScanCodeBindHeaders headers = new ScanCodeBindHeaders();
return this.scanCodeBindWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>选品池投放能力</p>
*
* @param tmpReq ScgSearchRequest
* @param headers ScgSearchHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ScgSearchResponse
*/
public ScgSearchResponse scgSearchWithOptions(ScgSearchRequest tmpReq, ScgSearchHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
ScgSearchShrinkRequest request = new ScgSearchShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.scgFilter)) {
request.scgFilterShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.scgFilter, "ScgFilter", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.scgFilterShrink)) {
query.put("ScgFilter", request.scgFilterShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.topicId)) {
query.put("TopicId", request.topicId);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ScgSearch"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/scgSearch"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ScgSearchResponse());
}
/**
* <b>summary</b> :
* <p>选品池投放能力</p>
*
* @param request ScgSearchRequest
* @return ScgSearchResponse
*/
public ScgSearchResponse scgSearch(ScgSearchRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ScgSearchHeaders headers = new ScgSearchHeaders();
return this.scgSearchWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>按照特定的搜索条件搜索</p>
*
* @param tmpReq SearchContentRequest
* @param headers SearchContentHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return SearchContentResponse
*/
public SearchContentResponse searchContentWithOptions(SearchContentRequest tmpReq, SearchContentHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
SearchContentShrinkRequest request = new SearchContentShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.request)) {
request.requestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.request, "Request", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.requestShrink)) {
body.put("Request", request.requestShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "SearchContent"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/SearchContent"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new SearchContentResponse());
}
/**
* <b>summary</b> :
* <p>按照特定的搜索条件搜索</p>
*
* @param request SearchContentRequest
* @return SearchContentResponse
*/
public SearchContentResponse searchContent(SearchContentRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
SearchContentHeaders headers = new SearchContentHeaders();
return this.searchContentWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>发送留言</p>
*
* @param tmpReq SendMessageRequest
* @param headers SendMessageHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return SendMessageResponse
*/
public SendMessageResponse sendMessageWithOptions(SendMessageRequest tmpReq, SendMessageHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
SendMessageShrinkRequest request = new SendMessageShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.url)) {
query.put("Url", request.url);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
query.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "SendMessage"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/sendMessage"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new SendMessageResponse());
}
/**
* <b>summary</b> :
* <p>发送留言</p>
*
* @param request SendMessageRequest
* @return SendMessageResponse
*/
public SendMessageResponse sendMessage(SendMessageRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
SendMessageHeaders headers = new SendMessageHeaders();
return this.sendMessageWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>修改设备设置</p>
*
* @param tmpReq SetDeviceSettingRequest
* @param headers SetDeviceSettingHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return SetDeviceSettingResponse
*/
public SetDeviceSettingResponse setDeviceSettingWithOptions(SetDeviceSettingRequest tmpReq, SetDeviceSettingHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
SetDeviceSettingShrinkRequest request = new SetDeviceSettingShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.key)) {
body.put("Key", request.key);
}
if (!com.aliyun.teautil.Common.isUnset(request.value)) {
body.put("Value", request.value);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "SetDeviceSetting"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/setDeviceSetting"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new SetDeviceSettingResponse());
}
/**
* <b>summary</b> :
* <p>修改设备设置</p>
*
* @param request SetDeviceSettingRequest
* @return SetDeviceSettingResponse
*/
public SetDeviceSettingResponse setDeviceSetting(SetDeviceSettingRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
SetDeviceSettingHeaders headers = new SetDeviceSettingHeaders();
return this.setDeviceSettingWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>三方即时信息数据变更事件推送</p>
*
* @param request ThirdImmediateMsgPushRequest
* @param headers ThirdImmediateMsgPushHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return ThirdImmediateMsgPushResponse
*/
public ThirdImmediateMsgPushResponse thirdImmediateMsgPushWithOptions(ThirdImmediateMsgPushRequest request, ThirdImmediateMsgPushHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.bizType)) {
query.put("BizType", request.bizType);
}
if (!com.aliyun.teautil.Common.isUnset(request.changeDetail)) {
query.put("ChangeDetail", request.changeDetail);
}
if (!com.aliyun.teautil.Common.isUnset(request.orderId)) {
query.put("OrderId", request.orderId);
}
if (!com.aliyun.teautil.Common.isUnset(request.psgIds)) {
query.put("PsgIds", request.psgIds);
}
if (!com.aliyun.teautil.Common.isUnset(request.source)) {
query.put("Source", request.source);
}
if (!com.aliyun.teautil.Common.isUnset(request.trafficChangeType)) {
query.put("TrafficChangeType", request.trafficChangeType);
}
if (!com.aliyun.teautil.Common.isUnset(request.trafficChangeTypeDesc)) {
query.put("TrafficChangeTypeDesc", request.trafficChangeTypeDesc);
}
if (!com.aliyun.teautil.Common.isUnset(request.trafficJourneyIds)) {
query.put("TrafficJourneyIds", request.trafficJourneyIds);
}
if (!com.aliyun.teautil.Common.isUnset(request.trafficSubOrderIds)) {
query.put("TrafficSubOrderIds", request.trafficSubOrderIds);
}
if (!com.aliyun.teautil.Common.isUnset(request.userId)) {
query.put("UserId", request.userId);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "ThirdImmediateMsgPush"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/thirdImmediateMsgPush"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ThirdImmediateMsgPushResponse());
}
/**
* <b>summary</b> :
* <p>三方即时信息数据变更事件推送</p>
*
* @param request ThirdImmediateMsgPushRequest
* @return ThirdImmediateMsgPushResponse
*/
public ThirdImmediateMsgPushResponse thirdImmediateMsgPush(ThirdImmediateMsgPushRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
ThirdImmediateMsgPushHeaders headers = new ThirdImmediateMsgPushHeaders();
return this.thirdImmediateMsgPushWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>解除三方和精灵账号的关系</p>
*
* @param request UnbindAligenieUserRequest
* @param headers UnbindAligenieUserHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return UnbindAligenieUserResponse
*/
public UnbindAligenieUserResponse unbindAligenieUserWithOptions(UnbindAligenieUserRequest request, UnbindAligenieUserHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.loginStateAccessToken)) {
body.put("LoginStateAccessToken", request.loginStateAccessToken);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "UnbindAligenieUser"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/unbindAligenieUser"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new UnbindAligenieUserResponse());
}
/**
* <b>summary</b> :
* <p>解除三方和精灵账号的关系</p>
*
* @param request UnbindAligenieUserRequest
* @return UnbindAligenieUserResponse
*/
public UnbindAligenieUserResponse unbindAligenieUser(UnbindAligenieUserRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
UnbindAligenieUserHeaders headers = new UnbindAligenieUserHeaders();
return this.unbindAligenieUserWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>解绑设备</p>
*
* @param tmpReq UnbindDeviceRequest
* @param headers UnbindDeviceHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return UnbindDeviceResponse
*/
public UnbindDeviceResponse unbindDeviceWithOptions(UnbindDeviceRequest tmpReq, UnbindDeviceHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
UnbindDeviceShrinkRequest request = new UnbindDeviceShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "UnbindDevice"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/unbindDevice"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new UnbindDeviceResponse());
}
/**
* <b>summary</b> :
* <p>解绑设备</p>
*
* @param request UnbindDeviceRequest
* @return UnbindDeviceResponse
*/
public UnbindDeviceResponse unbindDevice(UnbindDeviceRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
UnbindDeviceHeaders headers = new UnbindDeviceHeaders();
return this.unbindDeviceWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>更新闹钟</p>
*
* @param tmpReq UpdateAlarmRequest
* @param headers UpdateAlarmHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return UpdateAlarmResponse
*/
public UpdateAlarmResponse updateAlarmWithOptions(UpdateAlarmRequest tmpReq, UpdateAlarmHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
UpdateAlarmShrinkRequest request = new UpdateAlarmShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) {
request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) {
request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
body.put("DeviceInfo", request.deviceInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) {
body.put("Payload", request.payloadShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) {
body.put("UserInfo", request.userInfoShrink);
}
java.util.Map<String, String> realHeaders = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) {
realHeaders = headers.commonHeaders;
}
if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) {
realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken));
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization));
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "UpdateAlarm"),
new TeaPair("version", "ssp_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/ssp/updateAlarm"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateAlarmResponse());
}
/**
* <b>summary</b> :
* <p>更新闹钟</p>
*
* @param request UpdateAlarmRequest
* @return UpdateAlarmResponse
*/
public UpdateAlarmResponse updateAlarm(UpdateAlarmRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
UpdateAlarmHeaders headers = new UpdateAlarmHeaders();
return this.updateAlarmWithOptions(request, headers, runtime);
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AddAndRemoveFavoriteContentHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AddAndRemoveFavoriteContentHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static AddAndRemoveFavoriteContentHeaders build(java.util.Map<String, ?> map) throws Exception {
AddAndRemoveFavoriteContentHeaders self = new AddAndRemoveFavoriteContentHeaders();
return TeaModel.build(map, self);
}
public AddAndRemoveFavoriteContentHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public AddAndRemoveFavoriteContentHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public AddAndRemoveFavoriteContentHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AddAndRemoveFavoriteContentRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AddAndRemoveFavoriteContentRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public AddAndRemoveFavoriteContentRequestDeviceInfo deviceInfo;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("OpenAddAndRemoveFavoriteContentRequest")
public AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequest openAddAndRemoveFavoriteContentRequest;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public AddAndRemoveFavoriteContentRequestUserInfo userInfo;
public static AddAndRemoveFavoriteContentRequest build(java.util.Map<String, ?> map) throws Exception {
AddAndRemoveFavoriteContentRequest self = new AddAndRemoveFavoriteContentRequest();
return TeaModel.build(map, self);
}
public AddAndRemoveFavoriteContentRequest setDeviceInfo(AddAndRemoveFavoriteContentRequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public AddAndRemoveFavoriteContentRequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public AddAndRemoveFavoriteContentRequest setOpenAddAndRemoveFavoriteContentRequest(AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequest openAddAndRemoveFavoriteContentRequest) {
this.openAddAndRemoveFavoriteContentRequest = openAddAndRemoveFavoriteContentRequest;
return this;
}
public AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequest getOpenAddAndRemoveFavoriteContentRequest() {
return this.openAddAndRemoveFavoriteContentRequest;
}
public AddAndRemoveFavoriteContentRequest setUserInfo(AddAndRemoveFavoriteContentRequestUserInfo userInfo) {
this.userInfo = userInfo;
return this;
}
public AddAndRemoveFavoriteContentRequestUserInfo getUserInfo() {
return this.userInfo;
}
public static class AddAndRemoveFavoriteContentRequestDeviceInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rV/XSgPuxZjx/hN3iw8U+e8ouRjKOX95tn1a0kwb2+Ao6Q1CAxASJUZDWtlk1r43LWcVW6fvY1Rr4sEPFodpnA==</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static AddAndRemoveFavoriteContentRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
AddAndRemoveFavoriteContentRequestDeviceInfo self = new AddAndRemoveFavoriteContentRequestDeviceInfo();
return TeaModel.build(map, self);
}
public AddAndRemoveFavoriteContentRequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public AddAndRemoveFavoriteContentRequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public AddAndRemoveFavoriteContentRequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public AddAndRemoveFavoriteContentRequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public AddAndRemoveFavoriteContentRequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
public static class AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequestOpenSourceRawIdPair extends TeaModel {
@NameInMap("ExtendInfo")
public java.util.Map<String, ?> extendInfo;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>2105818057</p>
*/
@NameInMap("RawId")
public String rawId;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xiami</p>
*/
@NameInMap("Source")
public String source;
public static AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequestOpenSourceRawIdPair build(java.util.Map<String, ?> map) throws Exception {
AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequestOpenSourceRawIdPair self = new AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequestOpenSourceRawIdPair();
return TeaModel.build(map, self);
}
public AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequestOpenSourceRawIdPair setExtendInfo(java.util.Map<String, ?> extendInfo) {
this.extendInfo = extendInfo;
return this;
}
public java.util.Map<String, ?> getExtendInfo() {
return this.extendInfo;
}
public AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequestOpenSourceRawIdPair setRawId(String rawId) {
this.rawId = rawId;
return this;
}
public String getRawId() {
return this.rawId;
}
public AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequestOpenSourceRawIdPair setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
}
public static class AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ADD</p>
*/
@NameInMap("FavoriteCmd")
public String favoriteCmd;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("OpenSourceRawIdPair")
public AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequestOpenSourceRawIdPair openSourceRawIdPair;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>CONTENT</p>
*/
@NameInMap("PackageType")
public String packageType;
public static AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequest build(java.util.Map<String, ?> map) throws Exception {
AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequest self = new AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequest();
return TeaModel.build(map, self);
}
public AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequest setFavoriteCmd(String favoriteCmd) {
this.favoriteCmd = favoriteCmd;
return this;
}
public String getFavoriteCmd() {
return this.favoriteCmd;
}
public AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequest setOpenSourceRawIdPair(AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequestOpenSourceRawIdPair openSourceRawIdPair) {
this.openSourceRawIdPair = openSourceRawIdPair;
return this;
}
public AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequestOpenSourceRawIdPair getOpenSourceRawIdPair() {
return this.openSourceRawIdPair;
}
public AddAndRemoveFavoriteContentRequestOpenAddAndRemoveFavoriteContentRequest setPackageType(String packageType) {
this.packageType = packageType;
return this;
}
public String getPackageType() {
return this.packageType;
}
}
public static class AddAndRemoveFavoriteContentRequestUserInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rV/XSgPuxZjx/hN3iw8U+e8ouRjKOX95tn1a0kwb2+Ao6Q1CAxASJUZDWtlk1r43LWcVW6fvY1Rr4sEPFodpnA==</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static AddAndRemoveFavoriteContentRequestUserInfo build(java.util.Map<String, ?> map) throws Exception {
AddAndRemoveFavoriteContentRequestUserInfo self = new AddAndRemoveFavoriteContentRequestUserInfo();
return TeaModel.build(map, self);
}
public AddAndRemoveFavoriteContentRequestUserInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public AddAndRemoveFavoriteContentRequestUserInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public AddAndRemoveFavoriteContentRequestUserInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public AddAndRemoveFavoriteContentRequestUserInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public AddAndRemoveFavoriteContentRequestUserInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AddAndRemoveFavoriteContentResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AddAndRemoveFavoriteContentResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public AddAndRemoveFavoriteContentResponseBody body;
public static AddAndRemoveFavoriteContentResponse build(java.util.Map<String, ?> map) throws Exception {
AddAndRemoveFavoriteContentResponse self = new AddAndRemoveFavoriteContentResponse();
return TeaModel.build(map, self);
}
public AddAndRemoveFavoriteContentResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public AddAndRemoveFavoriteContentResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public AddAndRemoveFavoriteContentResponse setBody(AddAndRemoveFavoriteContentResponseBody body) {
this.body = body;
return this;
}
public AddAndRemoveFavoriteContentResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AddAndRemoveFavoriteContentResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AddAndRemoveFavoriteContentResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>121212121</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Result")
public Boolean result;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public String success;
public static AddAndRemoveFavoriteContentResponseBody build(java.util.Map<String, ?> map) throws Exception {
AddAndRemoveFavoriteContentResponseBody self = new AddAndRemoveFavoriteContentResponseBody();
return TeaModel.build(map, self);
}
public AddAndRemoveFavoriteContentResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public AddAndRemoveFavoriteContentResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public AddAndRemoveFavoriteContentResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public AddAndRemoveFavoriteContentResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
public AddAndRemoveFavoriteContentResponseBody setSuccess(String success) {
this.success = success;
return this;
}
public String getSuccess() {
return this.success;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AddAndRemoveFavoriteContentShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AddAndRemoveFavoriteContentShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("OpenAddAndRemoveFavoriteContentRequest")
public String openAddAndRemoveFavoriteContentRequestShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public String userInfoShrink;
public static AddAndRemoveFavoriteContentShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
AddAndRemoveFavoriteContentShrinkRequest self = new AddAndRemoveFavoriteContentShrinkRequest();
return TeaModel.build(map, self);
}
public AddAndRemoveFavoriteContentShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
public AddAndRemoveFavoriteContentShrinkRequest setOpenAddAndRemoveFavoriteContentRequestShrink(String openAddAndRemoveFavoriteContentRequestShrink) {
this.openAddAndRemoveFavoriteContentRequestShrink = openAddAndRemoveFavoriteContentRequestShrink;
return this;
}
public String getOpenAddAndRemoveFavoriteContentRequestShrink() {
return this.openAddAndRemoveFavoriteContentRequestShrink;
}
public AddAndRemoveFavoriteContentShrinkRequest setUserInfoShrink(String userInfoShrink) {
this.userInfoShrink = userInfoShrink;
return this;
}
public String getUserInfoShrink() {
return this.userInfoShrink;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AddSubHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AddSubHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static AddSubHeaders build(java.util.Map<String, ?> map) throws Exception {
AddSubHeaders self = new AddSubHeaders();
return TeaModel.build(map, self);
}
public AddSubHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public AddSubHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public AddSubHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AddSubRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AddSubRequest extends TeaModel {
@NameInMap("AddSubscriptionInfoRequest")
public AddSubRequestAddSubscriptionInfoRequest addSubscriptionInfoRequest;
@NameInMap("DeviceInfo")
public AddSubRequestDeviceInfo deviceInfo;
@NameInMap("UserInfo")
public AddSubRequestUserInfo userInfo;
public static AddSubRequest build(java.util.Map<String, ?> map) throws Exception {
AddSubRequest self = new AddSubRequest();
return TeaModel.build(map, self);
}
public AddSubRequest setAddSubscriptionInfoRequest(AddSubRequestAddSubscriptionInfoRequest addSubscriptionInfoRequest) {
this.addSubscriptionInfoRequest = addSubscriptionInfoRequest;
return this;
}
public AddSubRequestAddSubscriptionInfoRequest getAddSubscriptionInfoRequest() {
return this.addSubscriptionInfoRequest;
}
public AddSubRequest setDeviceInfo(AddSubRequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public AddSubRequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public AddSubRequest setUserInfo(AddSubRequestUserInfo userInfo) {
this.userInfo = userInfo;
return this;
}
public AddSubRequestUserInfo getUserInfo() {
return this.userInfo;
}
public static class AddSubRequestAddSubscriptionInfoRequestScheduleInfo extends TeaModel {
@NameInMap("DaysOfWeek")
public java.util.List<Integer> daysOfWeek;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("Hour")
public Integer hour;
/**
* <strong>example:</strong>
* <p>23</p>
*/
@NameInMap("Minute")
public Integer minute;
public static AddSubRequestAddSubscriptionInfoRequestScheduleInfo build(java.util.Map<String, ?> map) throws Exception {
AddSubRequestAddSubscriptionInfoRequestScheduleInfo self = new AddSubRequestAddSubscriptionInfoRequestScheduleInfo();
return TeaModel.build(map, self);
}
public AddSubRequestAddSubscriptionInfoRequestScheduleInfo setDaysOfWeek(java.util.List<Integer> daysOfWeek) {
this.daysOfWeek = daysOfWeek;
return this;
}
public java.util.List<Integer> getDaysOfWeek() {
return this.daysOfWeek;
}
public AddSubRequestAddSubscriptionInfoRequestScheduleInfo setHour(Integer hour) {
this.hour = hour;
return this;
}
public Integer getHour() {
return this.hour;
}
public AddSubRequestAddSubscriptionInfoRequestScheduleInfo setMinute(Integer minute) {
this.minute = minute;
return this;
}
public Integer getMinute() {
return this.minute;
}
}
public static class AddSubRequestAddSubscriptionInfoRequest extends TeaModel {
/**
* <strong>example:</strong>
* <p>51999575</p>
*/
@NameInMap("AlbumId")
public String albumId;
/**
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("DailyStudyCnt")
public Integer dailyStudyCnt;
/**
* <strong>example:</strong>
* <p>sequence</p>
*/
@NameInMap("PlayMode")
public String playMode;
@NameInMap("ScheduleInfo")
public AddSubRequestAddSubscriptionInfoRequestScheduleInfo scheduleInfo;
public static AddSubRequestAddSubscriptionInfoRequest build(java.util.Map<String, ?> map) throws Exception {
AddSubRequestAddSubscriptionInfoRequest self = new AddSubRequestAddSubscriptionInfoRequest();
return TeaModel.build(map, self);
}
public AddSubRequestAddSubscriptionInfoRequest setAlbumId(String albumId) {
this.albumId = albumId;
return this;
}
public String getAlbumId() {
return this.albumId;
}
public AddSubRequestAddSubscriptionInfoRequest setDailyStudyCnt(Integer dailyStudyCnt) {
this.dailyStudyCnt = dailyStudyCnt;
return this;
}
public Integer getDailyStudyCnt() {
return this.dailyStudyCnt;
}
public AddSubRequestAddSubscriptionInfoRequest setPlayMode(String playMode) {
this.playMode = playMode;
return this;
}
public String getPlayMode() {
return this.playMode;
}
public AddSubRequestAddSubscriptionInfoRequest setScheduleInfo(AddSubRequestAddSubscriptionInfoRequestScheduleInfo scheduleInfo) {
this.scheduleInfo = scheduleInfo;
return this;
}
public AddSubRequestAddSubscriptionInfoRequestScheduleInfo getScheduleInfo() {
return this.scheduleInfo;
}
}
public static class AddSubRequestDeviceInfo extends TeaModel {
/**
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
@NameInMap("Id")
public String id;
/**
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
@NameInMap("OrganizationId")
public String organizationId;
public static AddSubRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
AddSubRequestDeviceInfo self = new AddSubRequestDeviceInfo();
return TeaModel.build(map, self);
}
public AddSubRequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public AddSubRequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public AddSubRequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public AddSubRequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public AddSubRequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
public static class AddSubRequestUserInfo extends TeaModel {
/**
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("Id")
public String id;
@NameInMap("IdType")
public String idType;
@NameInMap("OrganizationId")
public String organizationId;
public static AddSubRequestUserInfo build(java.util.Map<String, ?> map) throws Exception {
AddSubRequestUserInfo self = new AddSubRequestUserInfo();
return TeaModel.build(map, self);
}
public AddSubRequestUserInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public AddSubRequestUserInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public AddSubRequestUserInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public AddSubRequestUserInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public AddSubRequestUserInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AddSubResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AddSubResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public AddSubResponseBody body;
public static AddSubResponse build(java.util.Map<String, ?> map) throws Exception {
AddSubResponse self = new AddSubResponse();
return TeaModel.build(map, self);
}
public AddSubResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public AddSubResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public AddSubResponse setBody(AddSubResponseBody body) {
this.body = body;
return this;
}
public AddSubResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AddSubResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AddSubResponseBody extends TeaModel {
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>B99D27ED-4E12-1414-9FDE-599C57C4B204</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public AddSubResponseBodyResult result;
public static AddSubResponseBody build(java.util.Map<String, ?> map) throws Exception {
AddSubResponseBody self = new AddSubResponseBody();
return TeaModel.build(map, self);
}
public AddSubResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public AddSubResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public AddSubResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public AddSubResponseBody setResult(AddSubResponseBodyResult result) {
this.result = result;
return this;
}
public AddSubResponseBodyResult getResult() {
return this.result;
}
public static class AddSubResponseBodyResultScheduleInfo extends TeaModel {
@NameInMap("DaysOfWeek")
public java.util.List<Integer> daysOfWeek;
/**
* <strong>example:</strong>
* <p>12</p>
*/
@NameInMap("Hour")
public Integer hour;
/**
* <strong>example:</strong>
* <p>23</p>
*/
@NameInMap("Minute")
public Integer minute;
public static AddSubResponseBodyResultScheduleInfo build(java.util.Map<String, ?> map) throws Exception {
AddSubResponseBodyResultScheduleInfo self = new AddSubResponseBodyResultScheduleInfo();
return TeaModel.build(map, self);
}
public AddSubResponseBodyResultScheduleInfo setDaysOfWeek(java.util.List<Integer> daysOfWeek) {
this.daysOfWeek = daysOfWeek;
return this;
}
public java.util.List<Integer> getDaysOfWeek() {
return this.daysOfWeek;
}
public AddSubResponseBodyResultScheduleInfo setHour(Integer hour) {
this.hour = hour;
return this;
}
public Integer getHour() {
return this.hour;
}
public AddSubResponseBodyResultScheduleInfo setMinute(Integer minute) {
this.minute = minute;
return this;
}
public Integer getMinute() {
return this.minute;
}
}
public static class AddSubResponseBodyResult extends TeaModel {
/**
* <strong>example:</strong>
* <p>51999575</p>
*/
@NameInMap("AlbumId")
public String albumId;
/**
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("DailyStudyCnt")
public Integer dailyStudyCnt;
/**
* <strong>example:</strong>
* <p>5874DBCCA3038FAA1A70A8060F07F26D</p>
*/
@NameInMap("DeviceId")
public String deviceId;
/**
* <strong>example:</strong>
* <p>81</p>
*/
@NameInMap("Id")
public Long id;
/**
* <strong>example:</strong>
* <p>sequence</p>
*/
@NameInMap("PlayMode")
public String playMode;
@NameInMap("ScheduleInfo")
public AddSubResponseBodyResultScheduleInfo scheduleInfo;
/**
* <strong>example:</strong>
* <p>1152893538998276761</p>
*/
@NameInMap("UserId")
public String userId;
public static AddSubResponseBodyResult build(java.util.Map<String, ?> map) throws Exception {
AddSubResponseBodyResult self = new AddSubResponseBodyResult();
return TeaModel.build(map, self);
}
public AddSubResponseBodyResult setAlbumId(String albumId) {
this.albumId = albumId;
return this;
}
public String getAlbumId() {
return this.albumId;
}
public AddSubResponseBodyResult setDailyStudyCnt(Integer dailyStudyCnt) {
this.dailyStudyCnt = dailyStudyCnt;
return this;
}
public Integer getDailyStudyCnt() {
return this.dailyStudyCnt;
}
public AddSubResponseBodyResult setDeviceId(String deviceId) {
this.deviceId = deviceId;
return this;
}
public String getDeviceId() {
return this.deviceId;
}
public AddSubResponseBodyResult setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public AddSubResponseBodyResult setPlayMode(String playMode) {
this.playMode = playMode;
return this;
}
public String getPlayMode() {
return this.playMode;
}
public AddSubResponseBodyResult setScheduleInfo(AddSubResponseBodyResultScheduleInfo scheduleInfo) {
this.scheduleInfo = scheduleInfo;
return this;
}
public AddSubResponseBodyResultScheduleInfo getScheduleInfo() {
return this.scheduleInfo;
}
public AddSubResponseBodyResult setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AddSubShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AddSubShrinkRequest extends TeaModel {
@NameInMap("AddSubscriptionInfoRequest")
public String addSubscriptionInfoRequestShrink;
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
@NameInMap("UserInfo")
public String userInfoShrink;
public static AddSubShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
AddSubShrinkRequest self = new AddSubShrinkRequest();
return TeaModel.build(map, self);
}
public AddSubShrinkRequest setAddSubscriptionInfoRequestShrink(String addSubscriptionInfoRequestShrink) {
this.addSubscriptionInfoRequestShrink = addSubscriptionInfoRequestShrink;
return this;
}
public String getAddSubscriptionInfoRequestShrink() {
return this.addSubscriptionInfoRequestShrink;
}
public AddSubShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
public AddSubShrinkRequest setUserInfoShrink(String userInfoShrink) {
this.userInfoShrink = userInfoShrink;
return this;
}
public String getUserInfoShrink() {
return this.userInfoShrink;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberHeaders build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberHeaders self = new AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberHeaders();
return TeaModel.build(map, self);
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>dbe2eb4458302b9246c6da17fbc95f4b</p>
*/
@NameInMap("SessionId")
public String sessionId;
public static AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberRequest build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberRequest self = new AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberRequest();
return TeaModel.build(map, self);
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberRequest setSessionId(String sessionId) {
this.sessionId = sessionId;
return this;
}
public String getSessionId() {
return this.sessionId;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBody body;
public static AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponse build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponse self = new AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponse();
return TeaModel.build(map, self);
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponse setBody(AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBody body) {
this.body = body;
return this;
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>OK</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>73C67BD9-175A-1324-8202-9FAABBB3E6FA</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBodyResult result;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBody build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBody self = new AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBody();
return TeaModel.build(map, self);
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBody setResult(AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBodyResult result) {
this.result = result;
return this;
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBodyResult getResult() {
return this.result;
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBodyResult extends TeaModel {
/**
* <strong>example:</strong>
* <p>1659506854230</p>
*/
@NameInMap("ExpiredTimeLong")
public Long expiredTimeLong;
/**
* <strong>example:</strong>
* <p>d15aa92de679d0d225aa845268be19ee</p>
*/
@NameInMap("LoginStateAccessToken")
public String loginStateAccessToken;
public static AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBodyResult build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBodyResult self = new AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBodyResult();
return TeaModel.build(map, self);
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBodyResult setExpiredTimeLong(Long expiredTimeLong) {
this.expiredTimeLong = expiredTimeLong;
return this;
}
public Long getExpiredTimeLong() {
return this.expiredTimeLong;
}
public AuthLoginWithAligenieUserInfoGeneratedByPhoneNumberResponseBodyResult setLoginStateAccessToken(String loginStateAccessToken) {
this.loginStateAccessToken = loginStateAccessToken;
return this;
}
public String getLoginStateAccessToken() {
return this.loginStateAccessToken;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithAligenieUserInfoHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithAligenieUserInfoHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static AuthLoginWithAligenieUserInfoHeaders build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithAligenieUserInfoHeaders self = new AuthLoginWithAligenieUserInfoHeaders();
return TeaModel.build(map, self);
}
public AuthLoginWithAligenieUserInfoHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public AuthLoginWithAligenieUserInfoHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public AuthLoginWithAligenieUserInfoHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithAligenieUserInfoRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithAligenieUserInfoRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>UYugfm/3Nb9q24AyES2rYmC5tIglSoDX3Mbna/vrldcjGPtC8VzFwo+CU5c4CHLjrK7ekskG2WVaevM5Zi9f0w==</p>
*/
@NameInMap("EncryptedAligenieUserIdentifier")
public String encryptedAligenieUserIdentifier;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>dbe2eb4458302b9246c6da17fbc95f4b</p>
*/
@NameInMap("SessionId")
public String sessionId;
public static AuthLoginWithAligenieUserInfoRequest build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithAligenieUserInfoRequest self = new AuthLoginWithAligenieUserInfoRequest();
return TeaModel.build(map, self);
}
public AuthLoginWithAligenieUserInfoRequest setEncryptedAligenieUserIdentifier(String encryptedAligenieUserIdentifier) {
this.encryptedAligenieUserIdentifier = encryptedAligenieUserIdentifier;
return this;
}
public String getEncryptedAligenieUserIdentifier() {
return this.encryptedAligenieUserIdentifier;
}
public AuthLoginWithAligenieUserInfoRequest setSessionId(String sessionId) {
this.sessionId = sessionId;
return this;
}
public String getSessionId() {
return this.sessionId;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithAligenieUserInfoResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithAligenieUserInfoResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public AuthLoginWithAligenieUserInfoResponseBody body;
public static AuthLoginWithAligenieUserInfoResponse build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithAligenieUserInfoResponse self = new AuthLoginWithAligenieUserInfoResponse();
return TeaModel.build(map, self);
}
public AuthLoginWithAligenieUserInfoResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public AuthLoginWithAligenieUserInfoResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public AuthLoginWithAligenieUserInfoResponse setBody(AuthLoginWithAligenieUserInfoResponseBody body) {
this.body = body;
return this;
}
public AuthLoginWithAligenieUserInfoResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithAligenieUserInfoResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithAligenieUserInfoResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>OK</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>73C67BD9-175A-1324-8202-9FAABBB3E6FA</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public AuthLoginWithAligenieUserInfoResponseBodyResult result;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static AuthLoginWithAligenieUserInfoResponseBody build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithAligenieUserInfoResponseBody self = new AuthLoginWithAligenieUserInfoResponseBody();
return TeaModel.build(map, self);
}
public AuthLoginWithAligenieUserInfoResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public AuthLoginWithAligenieUserInfoResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public AuthLoginWithAligenieUserInfoResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public AuthLoginWithAligenieUserInfoResponseBody setResult(AuthLoginWithAligenieUserInfoResponseBodyResult result) {
this.result = result;
return this;
}
public AuthLoginWithAligenieUserInfoResponseBodyResult getResult() {
return this.result;
}
public AuthLoginWithAligenieUserInfoResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class AuthLoginWithAligenieUserInfoResponseBodyResult extends TeaModel {
/**
* <strong>example:</strong>
* <p>1659506854230</p>
*/
@NameInMap("ExpiredTimeLong")
public Long expiredTimeLong;
/**
* <strong>example:</strong>
* <p>d15aa92de679d0d225aa845268be19ee</p>
*/
@NameInMap("LoginStateAccessToken")
public String loginStateAccessToken;
public static AuthLoginWithAligenieUserInfoResponseBodyResult build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithAligenieUserInfoResponseBodyResult self = new AuthLoginWithAligenieUserInfoResponseBodyResult();
return TeaModel.build(map, self);
}
public AuthLoginWithAligenieUserInfoResponseBodyResult setExpiredTimeLong(Long expiredTimeLong) {
this.expiredTimeLong = expiredTimeLong;
return this;
}
public Long getExpiredTimeLong() {
return this.expiredTimeLong;
}
public AuthLoginWithAligenieUserInfoResponseBodyResult setLoginStateAccessToken(String loginStateAccessToken) {
this.loginStateAccessToken = loginStateAccessToken;
return this;
}
public String getLoginStateAccessToken() {
return this.loginStateAccessToken;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithTaobaoUserInfoHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithTaobaoUserInfoHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static AuthLoginWithTaobaoUserInfoHeaders build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithTaobaoUserInfoHeaders self = new AuthLoginWithTaobaoUserInfoHeaders();
return TeaModel.build(map, self);
}
public AuthLoginWithTaobaoUserInfoHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public AuthLoginWithTaobaoUserInfoHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public AuthLoginWithTaobaoUserInfoHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithTaobaoUserInfoRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithTaobaoUserInfoRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>KsVgypxAipf+xNECMZV2ONMcheqiIoEGFvgx+T8s1oV6/euTK9+ImYvLVPsSqFDh</p>
*/
@NameInMap("EncryptedTaobaoUserIdentifier")
public String encryptedTaobaoUserIdentifier;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>dbe2eb4458302b9246c6da17fbc95f4b</p>
*/
@NameInMap("SessionId")
public String sessionId;
public static AuthLoginWithTaobaoUserInfoRequest build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithTaobaoUserInfoRequest self = new AuthLoginWithTaobaoUserInfoRequest();
return TeaModel.build(map, self);
}
public AuthLoginWithTaobaoUserInfoRequest setEncryptedTaobaoUserIdentifier(String encryptedTaobaoUserIdentifier) {
this.encryptedTaobaoUserIdentifier = encryptedTaobaoUserIdentifier;
return this;
}
public String getEncryptedTaobaoUserIdentifier() {
return this.encryptedTaobaoUserIdentifier;
}
public AuthLoginWithTaobaoUserInfoRequest setSessionId(String sessionId) {
this.sessionId = sessionId;
return this;
}
public String getSessionId() {
return this.sessionId;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithTaobaoUserInfoResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithTaobaoUserInfoResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public AuthLoginWithTaobaoUserInfoResponseBody body;
public static AuthLoginWithTaobaoUserInfoResponse build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithTaobaoUserInfoResponse self = new AuthLoginWithTaobaoUserInfoResponse();
return TeaModel.build(map, self);
}
public AuthLoginWithTaobaoUserInfoResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public AuthLoginWithTaobaoUserInfoResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public AuthLoginWithTaobaoUserInfoResponse setBody(AuthLoginWithTaobaoUserInfoResponseBody body) {
this.body = body;
return this;
}
public AuthLoginWithTaobaoUserInfoResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithTaobaoUserInfoResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithTaobaoUserInfoResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>OK</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>73C67BD9-175A-1324-8202-9FAABBB3E6FA</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public AuthLoginWithTaobaoUserInfoResponseBodyResult result;
@NameInMap("Success")
public Boolean success;
public static AuthLoginWithTaobaoUserInfoResponseBody build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithTaobaoUserInfoResponseBody self = new AuthLoginWithTaobaoUserInfoResponseBody();
return TeaModel.build(map, self);
}
public AuthLoginWithTaobaoUserInfoResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public AuthLoginWithTaobaoUserInfoResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public AuthLoginWithTaobaoUserInfoResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public AuthLoginWithTaobaoUserInfoResponseBody setResult(AuthLoginWithTaobaoUserInfoResponseBodyResult result) {
this.result = result;
return this;
}
public AuthLoginWithTaobaoUserInfoResponseBodyResult getResult() {
return this.result;
}
public AuthLoginWithTaobaoUserInfoResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class AuthLoginWithTaobaoUserInfoResponseBodyResult extends TeaModel {
/**
* <strong>example:</strong>
* <p>1659506854230</p>
*/
@NameInMap("ExpiredTimeLong")
public Long expiredTimeLong;
/**
* <strong>example:</strong>
* <p>d15aa92de679d0d225aa845268be19ee</p>
*/
@NameInMap("LoginStateAccessToken")
public String loginStateAccessToken;
public static AuthLoginWithTaobaoUserInfoResponseBodyResult build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithTaobaoUserInfoResponseBodyResult self = new AuthLoginWithTaobaoUserInfoResponseBodyResult();
return TeaModel.build(map, self);
}
public AuthLoginWithTaobaoUserInfoResponseBodyResult setExpiredTimeLong(Long expiredTimeLong) {
this.expiredTimeLong = expiredTimeLong;
return this;
}
public Long getExpiredTimeLong() {
return this.expiredTimeLong;
}
public AuthLoginWithTaobaoUserInfoResponseBodyResult setLoginStateAccessToken(String loginStateAccessToken) {
this.loginStateAccessToken = loginStateAccessToken;
return this;
}
public String getLoginStateAccessToken() {
return this.loginStateAccessToken;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithThirdUserInfoHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithThirdUserInfoHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static AuthLoginWithThirdUserInfoHeaders build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithThirdUserInfoHeaders self = new AuthLoginWithThirdUserInfoHeaders();
return TeaModel.build(map, self);
}
public AuthLoginWithThirdUserInfoHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public AuthLoginWithThirdUserInfoHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public AuthLoginWithThirdUserInfoHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithThirdUserInfoRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithThirdUserInfoRequest extends TeaModel {
/**
* <strong>example:</strong>
* <p>{}</p>
*
* <strong>if can be null:</strong>
* <p>true</p>
*/
@NameInMap("ExtInfo")
public java.util.Map<String, ?> extInfo;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>wechat_ecology_openness</p>
*/
@NameInMap("SceneCode")
public String sceneCode;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>o5qxy6EItZBasv2VZAf-MGwllHL4</p>
*/
@NameInMap("ThirdUserIdentifier")
public String thirdUserIdentifier;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>weChatUser</p>
*/
@NameInMap("ThirdUserType")
public String thirdUserType;
public static AuthLoginWithThirdUserInfoRequest build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithThirdUserInfoRequest self = new AuthLoginWithThirdUserInfoRequest();
return TeaModel.build(map, self);
}
public AuthLoginWithThirdUserInfoRequest setExtInfo(java.util.Map<String, ?> extInfo) {
this.extInfo = extInfo;
return this;
}
public java.util.Map<String, ?> getExtInfo() {
return this.extInfo;
}
public AuthLoginWithThirdUserInfoRequest setSceneCode(String sceneCode) {
this.sceneCode = sceneCode;
return this;
}
public String getSceneCode() {
return this.sceneCode;
}
public AuthLoginWithThirdUserInfoRequest setThirdUserIdentifier(String thirdUserIdentifier) {
this.thirdUserIdentifier = thirdUserIdentifier;
return this;
}
public String getThirdUserIdentifier() {
return this.thirdUserIdentifier;
}
public AuthLoginWithThirdUserInfoRequest setThirdUserType(String thirdUserType) {
this.thirdUserType = thirdUserType;
return this;
}
public String getThirdUserType() {
return this.thirdUserType;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithThirdUserInfoResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithThirdUserInfoResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public AuthLoginWithThirdUserInfoResponseBody body;
public static AuthLoginWithThirdUserInfoResponse build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithThirdUserInfoResponse self = new AuthLoginWithThirdUserInfoResponse();
return TeaModel.build(map, self);
}
public AuthLoginWithThirdUserInfoResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public AuthLoginWithThirdUserInfoResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public AuthLoginWithThirdUserInfoResponse setBody(AuthLoginWithThirdUserInfoResponseBody body) {
this.body = body;
return this;
}
public AuthLoginWithThirdUserInfoResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithThirdUserInfoResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithThirdUserInfoResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
@NameInMap("DataObj")
public AuthLoginWithThirdUserInfoResponseBodyDataObj dataObj;
/**
* <strong>example:</strong>
* <p>OK</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>73C67BD9-175A-1324-8202-9FAABBB3E6FA</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public AuthLoginWithThirdUserInfoResponseBodyResult result;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static AuthLoginWithThirdUserInfoResponseBody build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithThirdUserInfoResponseBody self = new AuthLoginWithThirdUserInfoResponseBody();
return TeaModel.build(map, self);
}
public AuthLoginWithThirdUserInfoResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public AuthLoginWithThirdUserInfoResponseBody setDataObj(AuthLoginWithThirdUserInfoResponseBodyDataObj dataObj) {
this.dataObj = dataObj;
return this;
}
public AuthLoginWithThirdUserInfoResponseBodyDataObj getDataObj() {
return this.dataObj;
}
public AuthLoginWithThirdUserInfoResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public AuthLoginWithThirdUserInfoResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public AuthLoginWithThirdUserInfoResponseBody setResult(AuthLoginWithThirdUserInfoResponseBodyResult result) {
this.result = result;
return this;
}
public AuthLoginWithThirdUserInfoResponseBodyResult getResult() {
return this.result;
}
public AuthLoginWithThirdUserInfoResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class AuthLoginWithThirdUserInfoResponseBodyDataObj extends TeaModel {
/**
* <strong>example:</strong>
* <p>dbe2eb4458302b9246c6da17fbc95f4b</p>
*/
@NameInMap("SessionId")
public String sessionId;
public static AuthLoginWithThirdUserInfoResponseBodyDataObj build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithThirdUserInfoResponseBodyDataObj self = new AuthLoginWithThirdUserInfoResponseBodyDataObj();
return TeaModel.build(map, self);
}
public AuthLoginWithThirdUserInfoResponseBodyDataObj setSessionId(String sessionId) {
this.sessionId = sessionId;
return this;
}
public String getSessionId() {
return this.sessionId;
}
}
public static class AuthLoginWithThirdUserInfoResponseBodyResult extends TeaModel {
/**
* <strong>example:</strong>
* <p>1659428051452</p>
*/
@NameInMap("ExpiredTimeLong")
public Long expiredTimeLong;
/**
* <strong>example:</strong>
* <p>bd9ccdb121ee950ddead51e943e081fe</p>
*/
@NameInMap("LoginStateAccessToken")
public String loginStateAccessToken;
public static AuthLoginWithThirdUserInfoResponseBodyResult build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithThirdUserInfoResponseBodyResult self = new AuthLoginWithThirdUserInfoResponseBodyResult();
return TeaModel.build(map, self);
}
public AuthLoginWithThirdUserInfoResponseBodyResult setExpiredTimeLong(Long expiredTimeLong) {
this.expiredTimeLong = expiredTimeLong;
return this;
}
public Long getExpiredTimeLong() {
return this.expiredTimeLong;
}
public AuthLoginWithThirdUserInfoResponseBodyResult setLoginStateAccessToken(String loginStateAccessToken) {
this.loginStateAccessToken = loginStateAccessToken;
return this;
}
public String getLoginStateAccessToken() {
return this.loginStateAccessToken;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/AuthLoginWithThirdUserInfoShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class AuthLoginWithThirdUserInfoShrinkRequest extends TeaModel {
/**
* <strong>example:</strong>
* <p>{}</p>
*
* <strong>if can be null:</strong>
* <p>true</p>
*/
@NameInMap("ExtInfo")
public String extInfoShrink;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>wechat_ecology_openness</p>
*/
@NameInMap("SceneCode")
public String sceneCode;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>o5qxy6EItZBasv2VZAf-MGwllHL4</p>
*/
@NameInMap("ThirdUserIdentifier")
public String thirdUserIdentifier;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>weChatUser</p>
*/
@NameInMap("ThirdUserType")
public String thirdUserType;
public static AuthLoginWithThirdUserInfoShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
AuthLoginWithThirdUserInfoShrinkRequest self = new AuthLoginWithThirdUserInfoShrinkRequest();
return TeaModel.build(map, self);
}
public AuthLoginWithThirdUserInfoShrinkRequest setExtInfoShrink(String extInfoShrink) {
this.extInfoShrink = extInfoShrink;
return this;
}
public String getExtInfoShrink() {
return this.extInfoShrink;
}
public AuthLoginWithThirdUserInfoShrinkRequest setSceneCode(String sceneCode) {
this.sceneCode = sceneCode;
return this;
}
public String getSceneCode() {
return this.sceneCode;
}
public AuthLoginWithThirdUserInfoShrinkRequest setThirdUserIdentifier(String thirdUserIdentifier) {
this.thirdUserIdentifier = thirdUserIdentifier;
return this;
}
public String getThirdUserIdentifier() {
return this.thirdUserIdentifier;
}
public AuthLoginWithThirdUserInfoShrinkRequest setThirdUserType(String thirdUserType) {
this.thirdUserType = thirdUserType;
return this;
}
public String getThirdUserType() {
return this.thirdUserType;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CheckAndDoVoipCallForHotelHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CheckAndDoVoipCallForHotelHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static CheckAndDoVoipCallForHotelHeaders build(java.util.Map<String, ?> map) throws Exception {
CheckAndDoVoipCallForHotelHeaders self = new CheckAndDoVoipCallForHotelHeaders();
return TeaModel.build(map, self);
}
public CheckAndDoVoipCallForHotelHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public CheckAndDoVoipCallForHotelHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public CheckAndDoVoipCallForHotelHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CheckAndDoVoipCallForHotelRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CheckAndDoVoipCallForHotelRequest extends TeaModel {
@NameInMap("BizData")
public String bizData;
@NameInMap("CalleeNick")
public String calleeNick;
@NameInMap("CalleePhoneNum")
public String calleePhoneNum;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public CheckAndDoVoipCallForHotelRequestDeviceInfo deviceInfo;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public CheckAndDoVoipCallForHotelRequestUserInfo userInfo;
public static CheckAndDoVoipCallForHotelRequest build(java.util.Map<String, ?> map) throws Exception {
CheckAndDoVoipCallForHotelRequest self = new CheckAndDoVoipCallForHotelRequest();
return TeaModel.build(map, self);
}
public CheckAndDoVoipCallForHotelRequest setBizData(String bizData) {
this.bizData = bizData;
return this;
}
public String getBizData() {
return this.bizData;
}
public CheckAndDoVoipCallForHotelRequest setCalleeNick(String calleeNick) {
this.calleeNick = calleeNick;
return this;
}
public String getCalleeNick() {
return this.calleeNick;
}
public CheckAndDoVoipCallForHotelRequest setCalleePhoneNum(String calleePhoneNum) {
this.calleePhoneNum = calleePhoneNum;
return this;
}
public String getCalleePhoneNum() {
return this.calleePhoneNum;
}
public CheckAndDoVoipCallForHotelRequest setDeviceInfo(CheckAndDoVoipCallForHotelRequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public CheckAndDoVoipCallForHotelRequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public CheckAndDoVoipCallForHotelRequest setUserInfo(CheckAndDoVoipCallForHotelRequestUserInfo userInfo) {
this.userInfo = userInfo;
return this;
}
public CheckAndDoVoipCallForHotelRequestUserInfo getUserInfo() {
return this.userInfo;
}
public static class CheckAndDoVoipCallForHotelRequestDeviceInfo extends TeaModel {
@NameInMap("EncodeKey")
public String encodeKey;
@NameInMap("EncodeType")
public String encodeType;
@NameInMap("Id")
public String id;
@NameInMap("IdType")
public String idType;
@NameInMap("OrganizationId")
public String organizationId;
public static CheckAndDoVoipCallForHotelRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
CheckAndDoVoipCallForHotelRequestDeviceInfo self = new CheckAndDoVoipCallForHotelRequestDeviceInfo();
return TeaModel.build(map, self);
}
public CheckAndDoVoipCallForHotelRequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CheckAndDoVoipCallForHotelRequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CheckAndDoVoipCallForHotelRequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CheckAndDoVoipCallForHotelRequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public CheckAndDoVoipCallForHotelRequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
public static class CheckAndDoVoipCallForHotelRequestUserInfo extends TeaModel {
@NameInMap("EncodeKey")
public String encodeKey;
@NameInMap("EncodeType")
public String encodeType;
@NameInMap("Id")
public String id;
@NameInMap("IdType")
public String idType;
@NameInMap("OrganizationId")
public String organizationId;
public static CheckAndDoVoipCallForHotelRequestUserInfo build(java.util.Map<String, ?> map) throws Exception {
CheckAndDoVoipCallForHotelRequestUserInfo self = new CheckAndDoVoipCallForHotelRequestUserInfo();
return TeaModel.build(map, self);
}
public CheckAndDoVoipCallForHotelRequestUserInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CheckAndDoVoipCallForHotelRequestUserInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CheckAndDoVoipCallForHotelRequestUserInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CheckAndDoVoipCallForHotelRequestUserInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public CheckAndDoVoipCallForHotelRequestUserInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CheckAndDoVoipCallForHotelResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CheckAndDoVoipCallForHotelResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CheckAndDoVoipCallForHotelResponseBody body;
public static CheckAndDoVoipCallForHotelResponse build(java.util.Map<String, ?> map) throws Exception {
CheckAndDoVoipCallForHotelResponse self = new CheckAndDoVoipCallForHotelResponse();
return TeaModel.build(map, self);
}
public CheckAndDoVoipCallForHotelResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CheckAndDoVoipCallForHotelResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CheckAndDoVoipCallForHotelResponse setBody(CheckAndDoVoipCallForHotelResponseBody body) {
this.body = body;
return this;
}
public CheckAndDoVoipCallForHotelResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CheckAndDoVoipCallForHotelResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CheckAndDoVoipCallForHotelResponseBody extends TeaModel {
@NameInMap("Code")
public Integer code;
@NameInMap("Message")
public String message;
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public CheckAndDoVoipCallForHotelResponseBodyResult result;
public static CheckAndDoVoipCallForHotelResponseBody build(java.util.Map<String, ?> map) throws Exception {
CheckAndDoVoipCallForHotelResponseBody self = new CheckAndDoVoipCallForHotelResponseBody();
return TeaModel.build(map, self);
}
public CheckAndDoVoipCallForHotelResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CheckAndDoVoipCallForHotelResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CheckAndDoVoipCallForHotelResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CheckAndDoVoipCallForHotelResponseBody setResult(CheckAndDoVoipCallForHotelResponseBodyResult result) {
this.result = result;
return this;
}
public CheckAndDoVoipCallForHotelResponseBodyResult getResult() {
return this.result;
}
public static class CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargetsData extends TeaModel {
@NameInMap("DeviceIcon")
public String deviceIcon;
@NameInMap("DeviceName")
public String deviceName;
@NameInMap("DeviceType")
public String deviceType;
@NameInMap("Online")
public Boolean online;
@NameInMap("Uuid")
public String uuid;
public static CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargetsData build(java.util.Map<String, ?> map) throws Exception {
CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargetsData self = new CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargetsData();
return TeaModel.build(map, self);
}
public CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargetsData setDeviceIcon(String deviceIcon) {
this.deviceIcon = deviceIcon;
return this;
}
public String getDeviceIcon() {
return this.deviceIcon;
}
public CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargetsData setDeviceName(String deviceName) {
this.deviceName = deviceName;
return this;
}
public String getDeviceName() {
return this.deviceName;
}
public CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargetsData setDeviceType(String deviceType) {
this.deviceType = deviceType;
return this;
}
public String getDeviceType() {
return this.deviceType;
}
public CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargetsData setOnline(Boolean online) {
this.online = online;
return this;
}
public Boolean getOnline() {
return this.online;
}
public CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargetsData setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return this.uuid;
}
}
public static class CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargets extends TeaModel {
@NameInMap("Code")
public Integer code;
@NameInMap("Data")
public java.util.List<CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargetsData> data;
@NameInMap("Msg")
public String msg;
public static CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargets build(java.util.Map<String, ?> map) throws Exception {
CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargets self = new CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargets();
return TeaModel.build(map, self);
}
public CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargets setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargets setData(java.util.List<CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargetsData> data) {
this.data = data;
return this;
}
public java.util.List<CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargetsData> getData() {
return this.data;
}
public CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargets setMsg(String msg) {
this.msg = msg;
return this;
}
public String getMsg() {
return this.msg;
}
}
public static class CheckAndDoVoipCallForHotelResponseBodyResultStartCallResult extends TeaModel {
@NameInMap("Message")
public String message;
@NameInMap("RetCode")
public Integer retCode;
@NameInMap("RetValue")
public String retValue;
@NameInMap("Success")
public Boolean success;
@NameInMap("TraceId")
public String traceId;
public static CheckAndDoVoipCallForHotelResponseBodyResultStartCallResult build(java.util.Map<String, ?> map) throws Exception {
CheckAndDoVoipCallForHotelResponseBodyResultStartCallResult self = new CheckAndDoVoipCallForHotelResponseBodyResultStartCallResult();
return TeaModel.build(map, self);
}
public CheckAndDoVoipCallForHotelResponseBodyResultStartCallResult setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CheckAndDoVoipCallForHotelResponseBodyResultStartCallResult setRetCode(Integer retCode) {
this.retCode = retCode;
return this;
}
public Integer getRetCode() {
return this.retCode;
}
public CheckAndDoVoipCallForHotelResponseBodyResultStartCallResult setRetValue(String retValue) {
this.retValue = retValue;
return this;
}
public String getRetValue() {
return this.retValue;
}
public CheckAndDoVoipCallForHotelResponseBodyResultStartCallResult setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public CheckAndDoVoipCallForHotelResponseBodyResultStartCallResult setTraceId(String traceId) {
this.traceId = traceId;
return this;
}
public String getTraceId() {
return this.traceId;
}
}
public static class CheckAndDoVoipCallForHotelResponseBodyResult extends TeaModel {
@NameInMap("DeviceTargets")
public CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargets deviceTargets;
@NameInMap("IsStartCall")
public Boolean isStartCall;
@NameInMap("Passed")
public Boolean passed;
@NameInMap("StartCallResult")
public CheckAndDoVoipCallForHotelResponseBodyResultStartCallResult startCallResult;
public static CheckAndDoVoipCallForHotelResponseBodyResult build(java.util.Map<String, ?> map) throws Exception {
CheckAndDoVoipCallForHotelResponseBodyResult self = new CheckAndDoVoipCallForHotelResponseBodyResult();
return TeaModel.build(map, self);
}
public CheckAndDoVoipCallForHotelResponseBodyResult setDeviceTargets(CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargets deviceTargets) {
this.deviceTargets = deviceTargets;
return this;
}
public CheckAndDoVoipCallForHotelResponseBodyResultDeviceTargets getDeviceTargets() {
return this.deviceTargets;
}
public CheckAndDoVoipCallForHotelResponseBodyResult setIsStartCall(Boolean isStartCall) {
this.isStartCall = isStartCall;
return this;
}
public Boolean getIsStartCall() {
return this.isStartCall;
}
public CheckAndDoVoipCallForHotelResponseBodyResult setPassed(Boolean passed) {
this.passed = passed;
return this;
}
public Boolean getPassed() {
return this.passed;
}
public CheckAndDoVoipCallForHotelResponseBodyResult setStartCallResult(CheckAndDoVoipCallForHotelResponseBodyResultStartCallResult startCallResult) {
this.startCallResult = startCallResult;
return this;
}
public CheckAndDoVoipCallForHotelResponseBodyResultStartCallResult getStartCallResult() {
return this.startCallResult;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CheckAndDoVoipCallForHotelShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CheckAndDoVoipCallForHotelShrinkRequest extends TeaModel {
@NameInMap("BizData")
public String bizData;
@NameInMap("CalleeNick")
public String calleeNick;
@NameInMap("CalleePhoneNum")
public String calleePhoneNum;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public String userInfoShrink;
public static CheckAndDoVoipCallForHotelShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
CheckAndDoVoipCallForHotelShrinkRequest self = new CheckAndDoVoipCallForHotelShrinkRequest();
return TeaModel.build(map, self);
}
public CheckAndDoVoipCallForHotelShrinkRequest setBizData(String bizData) {
this.bizData = bizData;
return this;
}
public String getBizData() {
return this.bizData;
}
public CheckAndDoVoipCallForHotelShrinkRequest setCalleeNick(String calleeNick) {
this.calleeNick = calleeNick;
return this;
}
public String getCalleeNick() {
return this.calleeNick;
}
public CheckAndDoVoipCallForHotelShrinkRequest setCalleePhoneNum(String calleePhoneNum) {
this.calleePhoneNum = calleePhoneNum;
return this;
}
public String getCalleePhoneNum() {
return this.calleePhoneNum;
}
public CheckAndDoVoipCallForHotelShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
public CheckAndDoVoipCallForHotelShrinkRequest setUserInfoShrink(String userInfoShrink) {
this.userInfoShrink = userInfoShrink;
return this;
}
public String getUserInfoShrink() {
return this.userInfoShrink;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CheckAuthCodeBindForExtHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CheckAuthCodeBindForExtHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static CheckAuthCodeBindForExtHeaders build(java.util.Map<String, ?> map) throws Exception {
CheckAuthCodeBindForExtHeaders self = new CheckAuthCodeBindForExtHeaders();
return TeaModel.build(map, self);
}
public CheckAuthCodeBindForExtHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public CheckAuthCodeBindForExtHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public CheckAuthCodeBindForExtHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CheckAuthCodeBindForExtRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CheckAuthCodeBindForExtRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Aexfgc</p>
*/
@NameInMap("AuthCode")
public String authCode;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public CheckAuthCodeBindForExtRequestUserInfo userInfo;
public static CheckAuthCodeBindForExtRequest build(java.util.Map<String, ?> map) throws Exception {
CheckAuthCodeBindForExtRequest self = new CheckAuthCodeBindForExtRequest();
return TeaModel.build(map, self);
}
public CheckAuthCodeBindForExtRequest setAuthCode(String authCode) {
this.authCode = authCode;
return this;
}
public String getAuthCode() {
return this.authCode;
}
public CheckAuthCodeBindForExtRequest setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CheckAuthCodeBindForExtRequest setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CheckAuthCodeBindForExtRequest setUserInfo(CheckAuthCodeBindForExtRequestUserInfo userInfo) {
this.userInfo = userInfo;
return this;
}
public CheckAuthCodeBindForExtRequestUserInfo getUserInfo() {
return this.userInfo;
}
public static class CheckAuthCodeBindForExtRequestUserInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1***2</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static CheckAuthCodeBindForExtRequestUserInfo build(java.util.Map<String, ?> map) throws Exception {
CheckAuthCodeBindForExtRequestUserInfo self = new CheckAuthCodeBindForExtRequestUserInfo();
return TeaModel.build(map, self);
}
public CheckAuthCodeBindForExtRequestUserInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CheckAuthCodeBindForExtRequestUserInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CheckAuthCodeBindForExtRequestUserInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CheckAuthCodeBindForExtRequestUserInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public CheckAuthCodeBindForExtRequestUserInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CheckAuthCodeBindForExtResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CheckAuthCodeBindForExtResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CheckAuthCodeBindForExtResponseBody body;
public static CheckAuthCodeBindForExtResponse build(java.util.Map<String, ?> map) throws Exception {
CheckAuthCodeBindForExtResponse self = new CheckAuthCodeBindForExtResponse();
return TeaModel.build(map, self);
}
public CheckAuthCodeBindForExtResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CheckAuthCodeBindForExtResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CheckAuthCodeBindForExtResponse setBody(CheckAuthCodeBindForExtResponseBody body) {
this.body = body;
return this;
}
public CheckAuthCodeBindForExtResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CheckAuthCodeBindForExtResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CheckAuthCodeBindForExtResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>0EC7*726E</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public CheckAuthCodeBindForExtResponseBodyResult result;
public static CheckAuthCodeBindForExtResponseBody build(java.util.Map<String, ?> map) throws Exception {
CheckAuthCodeBindForExtResponseBody self = new CheckAuthCodeBindForExtResponseBody();
return TeaModel.build(map, self);
}
public CheckAuthCodeBindForExtResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CheckAuthCodeBindForExtResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CheckAuthCodeBindForExtResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CheckAuthCodeBindForExtResponseBody setResult(CheckAuthCodeBindForExtResponseBodyResult result) {
this.result = result;
return this;
}
public CheckAuthCodeBindForExtResponseBodyResult getResult() {
return this.result;
}
public static class CheckAuthCodeBindForExtResponseBodyResultDeviceOpenInfo extends TeaModel {
/**
* <strong>example:</strong>
* <p>A963*0158</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>DEVICE_ID</p>
*
* <strong>example:</strong>
* <p>DEVICE_ID</p>
*/
@NameInMap("IdType")
public String idType;
public static CheckAuthCodeBindForExtResponseBodyResultDeviceOpenInfo build(java.util.Map<String, ?> map) throws Exception {
CheckAuthCodeBindForExtResponseBodyResultDeviceOpenInfo self = new CheckAuthCodeBindForExtResponseBodyResultDeviceOpenInfo();
return TeaModel.build(map, self);
}
public CheckAuthCodeBindForExtResponseBodyResultDeviceOpenInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CheckAuthCodeBindForExtResponseBodyResultDeviceOpenInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
}
public static class CheckAuthCodeBindForExtResponseBodyResultUserOpenInfo extends TeaModel {
/**
* <strong>example:</strong>
* <p>0963*0158</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>USER_ID</p>
*
* <strong>example:</strong>
* <p>USER_ID</p>
*/
@NameInMap("IdType")
public String idType;
public static CheckAuthCodeBindForExtResponseBodyResultUserOpenInfo build(java.util.Map<String, ?> map) throws Exception {
CheckAuthCodeBindForExtResponseBodyResultUserOpenInfo self = new CheckAuthCodeBindForExtResponseBodyResultUserOpenInfo();
return TeaModel.build(map, self);
}
public CheckAuthCodeBindForExtResponseBodyResultUserOpenInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CheckAuthCodeBindForExtResponseBodyResultUserOpenInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
}
public static class CheckAuthCodeBindForExtResponseBodyResult extends TeaModel {
@NameInMap("DeviceOpenInfo")
public CheckAuthCodeBindForExtResponseBodyResultDeviceOpenInfo deviceOpenInfo;
@NameInMap("UserOpenInfo")
public CheckAuthCodeBindForExtResponseBodyResultUserOpenInfo userOpenInfo;
public static CheckAuthCodeBindForExtResponseBodyResult build(java.util.Map<String, ?> map) throws Exception {
CheckAuthCodeBindForExtResponseBodyResult self = new CheckAuthCodeBindForExtResponseBodyResult();
return TeaModel.build(map, self);
}
public CheckAuthCodeBindForExtResponseBodyResult setDeviceOpenInfo(CheckAuthCodeBindForExtResponseBodyResultDeviceOpenInfo deviceOpenInfo) {
this.deviceOpenInfo = deviceOpenInfo;
return this;
}
public CheckAuthCodeBindForExtResponseBodyResultDeviceOpenInfo getDeviceOpenInfo() {
return this.deviceOpenInfo;
}
public CheckAuthCodeBindForExtResponseBodyResult setUserOpenInfo(CheckAuthCodeBindForExtResponseBodyResultUserOpenInfo userOpenInfo) {
this.userOpenInfo = userOpenInfo;
return this;
}
public CheckAuthCodeBindForExtResponseBodyResultUserOpenInfo getUserOpenInfo() {
return this.userOpenInfo;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CheckAuthCodeBindForExtShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CheckAuthCodeBindForExtShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Aexfgc</p>
*/
@NameInMap("AuthCode")
public String authCode;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public String userInfoShrink;
public static CheckAuthCodeBindForExtShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
CheckAuthCodeBindForExtShrinkRequest self = new CheckAuthCodeBindForExtShrinkRequest();
return TeaModel.build(map, self);
}
public CheckAuthCodeBindForExtShrinkRequest setAuthCode(String authCode) {
this.authCode = authCode;
return this;
}
public String getAuthCode() {
return this.authCode;
}
public CheckAuthCodeBindForExtShrinkRequest setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CheckAuthCodeBindForExtShrinkRequest setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CheckAuthCodeBindForExtShrinkRequest setUserInfoShrink(String userInfoShrink) {
this.userInfoShrink = userInfoShrink;
return this;
}
public String getUserInfoShrink() {
return this.userInfoShrink;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CloudPlayerHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CloudPlayerHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static CloudPlayerHeaders build(java.util.Map<String, ?> map) throws Exception {
CloudPlayerHeaders self = new CloudPlayerHeaders();
return TeaModel.build(map, self);
}
public CloudPlayerHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public CloudPlayerHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public CloudPlayerHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CloudPlayerRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CloudPlayerRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("CurPlayIndex")
public Integer curPlayIndex;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public CloudPlayerRequestDeviceInfo deviceInfo;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Normal</p>
*/
@NameInMap("PlayMode")
public String playMode;
/**
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("SongId")
public String songId;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("SongIdList")
public java.util.List<String> songIdList;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>KG</p>
*/
@NameInMap("Source")
public String source;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public CloudPlayerRequestUserInfo userInfo;
public static CloudPlayerRequest build(java.util.Map<String, ?> map) throws Exception {
CloudPlayerRequest self = new CloudPlayerRequest();
return TeaModel.build(map, self);
}
public CloudPlayerRequest setCurPlayIndex(Integer curPlayIndex) {
this.curPlayIndex = curPlayIndex;
return this;
}
public Integer getCurPlayIndex() {
return this.curPlayIndex;
}
public CloudPlayerRequest setDeviceInfo(CloudPlayerRequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public CloudPlayerRequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public CloudPlayerRequest setPlayMode(String playMode) {
this.playMode = playMode;
return this;
}
public String getPlayMode() {
return this.playMode;
}
public CloudPlayerRequest setSongId(String songId) {
this.songId = songId;
return this;
}
public String getSongId() {
return this.songId;
}
public CloudPlayerRequest setSongIdList(java.util.List<String> songIdList) {
this.songIdList = songIdList;
return this;
}
public java.util.List<String> getSongIdList() {
return this.songIdList;
}
public CloudPlayerRequest setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public CloudPlayerRequest setUserInfo(CloudPlayerRequestUserInfo userInfo) {
this.userInfo = userInfo;
return this;
}
public CloudPlayerRequestUserInfo getUserInfo() {
return this.userInfo;
}
public static class CloudPlayerRequestDeviceInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1234</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
@NameInMap("OrganizationId")
public String organizationId;
public static CloudPlayerRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
CloudPlayerRequestDeviceInfo self = new CloudPlayerRequestDeviceInfo();
return TeaModel.build(map, self);
}
public CloudPlayerRequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CloudPlayerRequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CloudPlayerRequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CloudPlayerRequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public CloudPlayerRequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
public static class CloudPlayerRequestUserInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1234</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
@NameInMap("OrganizationId")
public String organizationId;
public static CloudPlayerRequestUserInfo build(java.util.Map<String, ?> map) throws Exception {
CloudPlayerRequestUserInfo self = new CloudPlayerRequestUserInfo();
return TeaModel.build(map, self);
}
public CloudPlayerRequestUserInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CloudPlayerRequestUserInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CloudPlayerRequestUserInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CloudPlayerRequestUserInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public CloudPlayerRequestUserInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CloudPlayerResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CloudPlayerResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CloudPlayerResponseBody body;
public static CloudPlayerResponse build(java.util.Map<String, ?> map) throws Exception {
CloudPlayerResponse self = new CloudPlayerResponse();
return TeaModel.build(map, self);
}
public CloudPlayerResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CloudPlayerResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CloudPlayerResponse setBody(CloudPlayerResponseBody body) {
this.body = body;
return this;
}
public CloudPlayerResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CloudPlayerResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CloudPlayerResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>Id of the request</p>
*
* <strong>example:</strong>
* <p>B7D82DB0-DD59-5756-AC62-871C9D7DBC36</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Result")
public Boolean result;
public static CloudPlayerResponseBody build(java.util.Map<String, ?> map) throws Exception {
CloudPlayerResponseBody self = new CloudPlayerResponseBody();
return TeaModel.build(map, self);
}
public CloudPlayerResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CloudPlayerResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CloudPlayerResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CloudPlayerResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CloudPlayerShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CloudPlayerShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("CurPlayIndex")
public Integer curPlayIndex;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Normal</p>
*/
@NameInMap("PlayMode")
public String playMode;
/**
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("SongId")
public String songId;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("SongIdList")
public String songIdListShrink;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>KG</p>
*/
@NameInMap("Source")
public String source;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public String userInfoShrink;
public static CloudPlayerShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
CloudPlayerShrinkRequest self = new CloudPlayerShrinkRequest();
return TeaModel.build(map, self);
}
public CloudPlayerShrinkRequest setCurPlayIndex(Integer curPlayIndex) {
this.curPlayIndex = curPlayIndex;
return this;
}
public Integer getCurPlayIndex() {
return this.curPlayIndex;
}
public CloudPlayerShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
public CloudPlayerShrinkRequest setPlayMode(String playMode) {
this.playMode = playMode;
return this;
}
public String getPlayMode() {
return this.playMode;
}
public CloudPlayerShrinkRequest setSongId(String songId) {
this.songId = songId;
return this;
}
public String getSongId() {
return this.songId;
}
public CloudPlayerShrinkRequest setSongIdListShrink(String songIdListShrink) {
this.songIdListShrink = songIdListShrink;
return this;
}
public String getSongIdListShrink() {
return this.songIdListShrink;
}
public CloudPlayerShrinkRequest setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public CloudPlayerShrinkRequest setUserInfoShrink(String userInfoShrink) {
this.userInfoShrink = userInfoShrink;
return this;
}
public String getUserInfoShrink() {
return this.userInfoShrink;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreateAlarmHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreateAlarmHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static CreateAlarmHeaders build(java.util.Map<String, ?> map) throws Exception {
CreateAlarmHeaders self = new CreateAlarmHeaders();
return TeaModel.build(map, self);
}
public CreateAlarmHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public CreateAlarmHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public CreateAlarmHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreateAlarmRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreateAlarmRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public CreateAlarmRequestDeviceInfo deviceInfo;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Payload")
public CreateAlarmRequestPayload payload;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public CreateAlarmRequestUserInfo userInfo;
public static CreateAlarmRequest build(java.util.Map<String, ?> map) throws Exception {
CreateAlarmRequest self = new CreateAlarmRequest();
return TeaModel.build(map, self);
}
public CreateAlarmRequest setDeviceInfo(CreateAlarmRequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public CreateAlarmRequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public CreateAlarmRequest setPayload(CreateAlarmRequestPayload payload) {
this.payload = payload;
return this;
}
public CreateAlarmRequestPayload getPayload() {
return this.payload;
}
public CreateAlarmRequest setUserInfo(CreateAlarmRequestUserInfo userInfo) {
this.userInfo = userInfo;
return this;
}
public CreateAlarmRequestUserInfo getUserInfo() {
return this.userInfo;
}
public static class CreateAlarmRequestDeviceInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12**45</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PACKAGE_NAME</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>DAFE****ce3ej=</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1**2</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static CreateAlarmRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
CreateAlarmRequestDeviceInfo self = new CreateAlarmRequestDeviceInfo();
return TeaModel.build(map, self);
}
public CreateAlarmRequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CreateAlarmRequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CreateAlarmRequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CreateAlarmRequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public CreateAlarmRequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
public static class CreateAlarmRequestPayloadMusicInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("MusicId")
public Long musicId;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("MusicName")
public String musicName;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("MusicType")
public Long musicType;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("MusicTypeName")
public String musicTypeName;
/**
* <strong>example:</strong>
* <p><a href="http://xx">http://xx</a></p>
*/
@NameInMap("MusicUrl")
public String musicUrl;
public static CreateAlarmRequestPayloadMusicInfo build(java.util.Map<String, ?> map) throws Exception {
CreateAlarmRequestPayloadMusicInfo self = new CreateAlarmRequestPayloadMusicInfo();
return TeaModel.build(map, self);
}
public CreateAlarmRequestPayloadMusicInfo setMusicId(Long musicId) {
this.musicId = musicId;
return this;
}
public Long getMusicId() {
return this.musicId;
}
public CreateAlarmRequestPayloadMusicInfo setMusicName(String musicName) {
this.musicName = musicName;
return this;
}
public String getMusicName() {
return this.musicName;
}
public CreateAlarmRequestPayloadMusicInfo setMusicType(Long musicType) {
this.musicType = musicType;
return this;
}
public Long getMusicType() {
return this.musicType;
}
public CreateAlarmRequestPayloadMusicInfo setMusicTypeName(String musicTypeName) {
this.musicTypeName = musicTypeName;
return this;
}
public String getMusicTypeName() {
return this.musicTypeName;
}
public CreateAlarmRequestPayloadMusicInfo setMusicUrl(String musicUrl) {
this.musicUrl = musicUrl;
return this;
}
public String getMusicUrl() {
return this.musicUrl;
}
}
public static class CreateAlarmRequestPayloadScheduleInfoOnce extends TeaModel {
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("Day")
public Integer day;
/**
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("Hour")
public Integer hour;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Minute")
public Integer minute;
/**
* <strong>example:</strong>
* <p>8</p>
*/
@NameInMap("Month")
public Integer month;
/**
* <strong>example:</strong>
* <p>2022</p>
*/
@NameInMap("Year")
public Integer year;
public static CreateAlarmRequestPayloadScheduleInfoOnce build(java.util.Map<String, ?> map) throws Exception {
CreateAlarmRequestPayloadScheduleInfoOnce self = new CreateAlarmRequestPayloadScheduleInfoOnce();
return TeaModel.build(map, self);
}
public CreateAlarmRequestPayloadScheduleInfoOnce setDay(Integer day) {
this.day = day;
return this;
}
public Integer getDay() {
return this.day;
}
public CreateAlarmRequestPayloadScheduleInfoOnce setHour(Integer hour) {
this.hour = hour;
return this;
}
public Integer getHour() {
return this.hour;
}
public CreateAlarmRequestPayloadScheduleInfoOnce setMinute(Integer minute) {
this.minute = minute;
return this;
}
public Integer getMinute() {
return this.minute;
}
public CreateAlarmRequestPayloadScheduleInfoOnce setMonth(Integer month) {
this.month = month;
return this;
}
public Integer getMonth() {
return this.month;
}
public CreateAlarmRequestPayloadScheduleInfoOnce setYear(Integer year) {
this.year = year;
return this;
}
public Integer getYear() {
return this.year;
}
}
public static class CreateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay extends TeaModel {
/**
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("Hour")
public Integer hour;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Minute")
public Integer minute;
public static CreateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay build(java.util.Map<String, ?> map) throws Exception {
CreateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay self = new CreateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay();
return TeaModel.build(map, self);
}
public CreateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay setHour(Integer hour) {
this.hour = hour;
return this;
}
public Integer getHour() {
return this.hour;
}
public CreateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay setMinute(Integer minute) {
this.minute = minute;
return this;
}
public Integer getMinute() {
return this.minute;
}
}
public static class CreateAlarmRequestPayloadScheduleInfoWeekly extends TeaModel {
@NameInMap("DaysOfWeek")
public java.util.List<Integer> daysOfWeek;
/**
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("Hour")
public Integer hour;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Minute")
public Integer minute;
public static CreateAlarmRequestPayloadScheduleInfoWeekly build(java.util.Map<String, ?> map) throws Exception {
CreateAlarmRequestPayloadScheduleInfoWeekly self = new CreateAlarmRequestPayloadScheduleInfoWeekly();
return TeaModel.build(map, self);
}
public CreateAlarmRequestPayloadScheduleInfoWeekly setDaysOfWeek(java.util.List<Integer> daysOfWeek) {
this.daysOfWeek = daysOfWeek;
return this;
}
public java.util.List<Integer> getDaysOfWeek() {
return this.daysOfWeek;
}
public CreateAlarmRequestPayloadScheduleInfoWeekly setHour(Integer hour) {
this.hour = hour;
return this;
}
public Integer getHour() {
return this.hour;
}
public CreateAlarmRequestPayloadScheduleInfoWeekly setMinute(Integer minute) {
this.minute = minute;
return this;
}
public Integer getMinute() {
return this.minute;
}
}
public static class CreateAlarmRequestPayloadScheduleInfo extends TeaModel {
@NameInMap("Once")
public CreateAlarmRequestPayloadScheduleInfoOnce once;
@NameInMap("StatutoryWorkingDay")
public CreateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay statutoryWorkingDay;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ONCE</p>
*/
@NameInMap("Type")
public String type;
@NameInMap("Weekly")
public CreateAlarmRequestPayloadScheduleInfoWeekly weekly;
public static CreateAlarmRequestPayloadScheduleInfo build(java.util.Map<String, ?> map) throws Exception {
CreateAlarmRequestPayloadScheduleInfo self = new CreateAlarmRequestPayloadScheduleInfo();
return TeaModel.build(map, self);
}
public CreateAlarmRequestPayloadScheduleInfo setOnce(CreateAlarmRequestPayloadScheduleInfoOnce once) {
this.once = once;
return this;
}
public CreateAlarmRequestPayloadScheduleInfoOnce getOnce() {
return this.once;
}
public CreateAlarmRequestPayloadScheduleInfo setStatutoryWorkingDay(CreateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay statutoryWorkingDay) {
this.statutoryWorkingDay = statutoryWorkingDay;
return this;
}
public CreateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay getStatutoryWorkingDay() {
return this.statutoryWorkingDay;
}
public CreateAlarmRequestPayloadScheduleInfo setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public CreateAlarmRequestPayloadScheduleInfo setWeekly(CreateAlarmRequestPayloadScheduleInfoWeekly weekly) {
this.weekly = weekly;
return this;
}
public CreateAlarmRequestPayloadScheduleInfoWeekly getWeekly() {
return this.weekly;
}
}
public static class CreateAlarmRequestPayload extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("MusicInfo")
public CreateAlarmRequestPayloadMusicInfo musicInfo;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("ScheduleInfo")
public CreateAlarmRequestPayloadScheduleInfo scheduleInfo;
/**
* <strong>example:</strong>
* <p>40</p>
*/
@NameInMap("Volume")
public Integer volume;
public static CreateAlarmRequestPayload build(java.util.Map<String, ?> map) throws Exception {
CreateAlarmRequestPayload self = new CreateAlarmRequestPayload();
return TeaModel.build(map, self);
}
public CreateAlarmRequestPayload setMusicInfo(CreateAlarmRequestPayloadMusicInfo musicInfo) {
this.musicInfo = musicInfo;
return this;
}
public CreateAlarmRequestPayloadMusicInfo getMusicInfo() {
return this.musicInfo;
}
public CreateAlarmRequestPayload setScheduleInfo(CreateAlarmRequestPayloadScheduleInfo scheduleInfo) {
this.scheduleInfo = scheduleInfo;
return this;
}
public CreateAlarmRequestPayloadScheduleInfo getScheduleInfo() {
return this.scheduleInfo;
}
public CreateAlarmRequestPayload setVolume(Integer volume) {
this.volume = volume;
return this;
}
public Integer getVolume() {
return this.volume;
}
}
public static class CreateAlarmRequestUserInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12**45</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PACKAGE_NAME</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>HOFF****my7Iw=</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1**2</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static CreateAlarmRequestUserInfo build(java.util.Map<String, ?> map) throws Exception {
CreateAlarmRequestUserInfo self = new CreateAlarmRequestUserInfo();
return TeaModel.build(map, self);
}
public CreateAlarmRequestUserInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CreateAlarmRequestUserInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CreateAlarmRequestUserInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CreateAlarmRequestUserInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public CreateAlarmRequestUserInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreateAlarmResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreateAlarmResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CreateAlarmResponseBody body;
public static CreateAlarmResponse build(java.util.Map<String, ?> map) throws Exception {
CreateAlarmResponse self = new CreateAlarmResponse();
return TeaModel.build(map, self);
}
public CreateAlarmResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CreateAlarmResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CreateAlarmResponse setBody(CreateAlarmResponseBody body) {
this.body = body;
return this;
}
public CreateAlarmResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreateAlarmResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreateAlarmResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>43<em><strong>28C-A810-5</strong></em>-8747-EC226A086881</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>1234567</p>
*/
@NameInMap("Result")
public Long result;
public static CreateAlarmResponseBody build(java.util.Map<String, ?> map) throws Exception {
CreateAlarmResponseBody self = new CreateAlarmResponseBody();
return TeaModel.build(map, self);
}
public CreateAlarmResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CreateAlarmResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreateAlarmResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateAlarmResponseBody setResult(Long result) {
this.result = result;
return this;
}
public Long getResult() {
return this.result;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreateAlarmShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreateAlarmShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Payload")
public String payloadShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public String userInfoShrink;
public static CreateAlarmShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
CreateAlarmShrinkRequest self = new CreateAlarmShrinkRequest();
return TeaModel.build(map, self);
}
public CreateAlarmShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
public CreateAlarmShrinkRequest setPayloadShrink(String payloadShrink) {
this.payloadShrink = payloadShrink;
return this;
}
public String getPayloadShrink() {
return this.payloadShrink;
}
public CreateAlarmShrinkRequest setUserInfoShrink(String userInfoShrink) {
this.userInfoShrink = userInfoShrink;
return this;
}
public String getUserInfoShrink() {
return this.userInfoShrink;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreatePlayingListHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreatePlayingListHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static CreatePlayingListHeaders build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListHeaders self = new CreatePlayingListHeaders();
return TeaModel.build(map, self);
}
public CreatePlayingListHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public CreatePlayingListHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public CreatePlayingListHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreatePlayingListOAuth2Request.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreatePlayingListOAuth2Request extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public CreatePlayingListOAuth2RequestDeviceInfo deviceInfo;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("OpenCreatePlayingListRequest")
public CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest openCreatePlayingListRequest;
public static CreatePlayingListOAuth2Request build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListOAuth2Request self = new CreatePlayingListOAuth2Request();
return TeaModel.build(map, self);
}
public CreatePlayingListOAuth2Request setDeviceInfo(CreatePlayingListOAuth2RequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public CreatePlayingListOAuth2RequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public CreatePlayingListOAuth2Request setOpenCreatePlayingListRequest(CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest openCreatePlayingListRequest) {
this.openCreatePlayingListRequest = openCreatePlayingListRequest;
return this;
}
public CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest getOpenCreatePlayingListRequest() {
return this.openCreatePlayingListRequest;
}
public static class CreatePlayingListOAuth2RequestDeviceInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static CreatePlayingListOAuth2RequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListOAuth2RequestDeviceInfo self = new CreatePlayingListOAuth2RequestDeviceInfo();
return TeaModel.build(map, self);
}
public CreatePlayingListOAuth2RequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CreatePlayingListOAuth2RequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CreatePlayingListOAuth2RequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CreatePlayingListOAuth2RequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public CreatePlayingListOAuth2RequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
public static class CreatePlayingListOAuth2RequestOpenCreatePlayingListRequestContentList extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12345</p>
*/
@NameInMap("RawId")
public String rawId;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xiami</p>
*/
@NameInMap("Source")
public String source;
public static CreatePlayingListOAuth2RequestOpenCreatePlayingListRequestContentList build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListOAuth2RequestOpenCreatePlayingListRequestContentList self = new CreatePlayingListOAuth2RequestOpenCreatePlayingListRequestContentList();
return TeaModel.build(map, self);
}
public CreatePlayingListOAuth2RequestOpenCreatePlayingListRequestContentList setRawId(String rawId) {
this.rawId = rawId;
return this;
}
public String getRawId() {
return this.rawId;
}
public CreatePlayingListOAuth2RequestOpenCreatePlayingListRequestContentList setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
}
public static class CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("ContentList")
public java.util.List<CreatePlayingListOAuth2RequestOpenCreatePlayingListRequestContentList> contentList;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>content</p>
*/
@NameInMap("ContentType")
public String contentType;
@NameInMap("ExtendInfo")
public java.util.Map<String, ?> extendInfo;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Index")
public Integer index;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("NeedAlbumContinued")
public Boolean needAlbumContinued;
/**
* <strong>example:</strong>
* <p>default</p>
*/
@NameInMap("PlayFrom")
public String playFrom;
/**
* <strong>example:</strong>
* <p>Repeat</p>
*/
@NameInMap("PlayMode")
public String playMode;
public static CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest self = new CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest();
return TeaModel.build(map, self);
}
public CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest setContentList(java.util.List<CreatePlayingListOAuth2RequestOpenCreatePlayingListRequestContentList> contentList) {
this.contentList = contentList;
return this;
}
public java.util.List<CreatePlayingListOAuth2RequestOpenCreatePlayingListRequestContentList> getContentList() {
return this.contentList;
}
public CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest setContentType(String contentType) {
this.contentType = contentType;
return this;
}
public String getContentType() {
return this.contentType;
}
public CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest setExtendInfo(java.util.Map<String, ?> extendInfo) {
this.extendInfo = extendInfo;
return this;
}
public java.util.Map<String, ?> getExtendInfo() {
return this.extendInfo;
}
public CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest setIndex(Integer index) {
this.index = index;
return this;
}
public Integer getIndex() {
return this.index;
}
public CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest setNeedAlbumContinued(Boolean needAlbumContinued) {
this.needAlbumContinued = needAlbumContinued;
return this;
}
public Boolean getNeedAlbumContinued() {
return this.needAlbumContinued;
}
public CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest setPlayFrom(String playFrom) {
this.playFrom = playFrom;
return this;
}
public String getPlayFrom() {
return this.playFrom;
}
public CreatePlayingListOAuth2RequestOpenCreatePlayingListRequest setPlayMode(String playMode) {
this.playMode = playMode;
return this;
}
public String getPlayMode() {
return this.playMode;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreatePlayingListOAuth2Response.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreatePlayingListOAuth2Response extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CreatePlayingListOAuth2ResponseBody body;
public static CreatePlayingListOAuth2Response build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListOAuth2Response self = new CreatePlayingListOAuth2Response();
return TeaModel.build(map, self);
}
public CreatePlayingListOAuth2Response setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CreatePlayingListOAuth2Response setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CreatePlayingListOAuth2Response setBody(CreatePlayingListOAuth2ResponseBody body) {
this.body = body;
return this;
}
public CreatePlayingListOAuth2ResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreatePlayingListOAuth2ResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreatePlayingListOAuth2ResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>10002398812</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public CreatePlayingListOAuth2ResponseBodyResult result;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public String success;
public static CreatePlayingListOAuth2ResponseBody build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListOAuth2ResponseBody self = new CreatePlayingListOAuth2ResponseBody();
return TeaModel.build(map, self);
}
public CreatePlayingListOAuth2ResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CreatePlayingListOAuth2ResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreatePlayingListOAuth2ResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreatePlayingListOAuth2ResponseBody setResult(CreatePlayingListOAuth2ResponseBodyResult result) {
this.result = result;
return this;
}
public CreatePlayingListOAuth2ResponseBodyResult getResult() {
return this.result;
}
public CreatePlayingListOAuth2ResponseBody setSuccess(String success) {
this.success = success;
return this;
}
public String getSuccess() {
return this.success;
}
public static class CreatePlayingListOAuth2ResponseBodyResultCover extends TeaModel {
/**
* <strong>example:</strong>
* <p>false</p>
*/
@NameInMap("CanResize")
public Boolean canResize;
/**
* <strong>example:</strong>
* <p><a href="http://pic.qtfm.cn/2017/0207/2017020718285.jpg">http://pic.qtfm.cn/2017/0207/2017020718285.jpg</a></p>
*/
@NameInMap("Img")
public String img;
/**
* <strong>example:</strong>
* <p><a href="http://pic.qtfm.cn/2017/0207/2017020718285.jpg">http://pic.qtfm.cn/2017/0207/2017020718285.jpg</a></p>
*/
@NameInMap("Large")
public String large;
/**
* <strong>example:</strong>
* <p><a href="http://pic.qtfm.cn/2017/0207/2017020718285.jpg">http://pic.qtfm.cn/2017/0207/2017020718285.jpg</a></p>
*/
@NameInMap("Mediam")
public String mediam;
/**
* <strong>example:</strong>
* <p><a href="http://pic.qtfm.cn/2017/0207/2017020718285.jpg">http://pic.qtfm.cn/2017/0207/2017020718285.jpg</a></p>
*/
@NameInMap("Medium")
public String medium;
/**
* <strong>example:</strong>
* <p><a href="http://pic.qtfm.cn/2017/0207/2017020718285.jpg">http://pic.qtfm.cn/2017/0207/2017020718285.jpg</a></p>
*/
@NameInMap("Small")
public String small;
public static CreatePlayingListOAuth2ResponseBodyResultCover build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListOAuth2ResponseBodyResultCover self = new CreatePlayingListOAuth2ResponseBodyResultCover();
return TeaModel.build(map, self);
}
public CreatePlayingListOAuth2ResponseBodyResultCover setCanResize(Boolean canResize) {
this.canResize = canResize;
return this;
}
public Boolean getCanResize() {
return this.canResize;
}
public CreatePlayingListOAuth2ResponseBodyResultCover setImg(String img) {
this.img = img;
return this;
}
public String getImg() {
return this.img;
}
public CreatePlayingListOAuth2ResponseBodyResultCover setLarge(String large) {
this.large = large;
return this;
}
public String getLarge() {
return this.large;
}
public CreatePlayingListOAuth2ResponseBodyResultCover setMediam(String mediam) {
this.mediam = mediam;
return this;
}
public String getMediam() {
return this.mediam;
}
public CreatePlayingListOAuth2ResponseBodyResultCover setMedium(String medium) {
this.medium = medium;
return this;
}
public String getMedium() {
return this.medium;
}
public CreatePlayingListOAuth2ResponseBodyResultCover setSmall(String small) {
this.small = small;
return this;
}
public String getSmall() {
return this.small;
}
}
public static class CreatePlayingListOAuth2ResponseBodyResult extends TeaModel {
@NameInMap("AlbumName")
public String albumName;
/**
* <strong>example:</strong>
* <p>260744</p>
*/
@NameInMap("AlbumRawId")
public String albumRawId;
/**
* <strong>example:</strong>
* <p>190</p>
*/
@NameInMap("AudioLength")
public Integer audioLength;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Copyright")
public Integer copyright;
@NameInMap("Cover")
public CreatePlayingListOAuth2ResponseBodyResultCover cover;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("DefaultPlayOrder")
public Integer defaultPlayOrder;
/**
* <strong>example:</strong>
* <p><a href="https://openaudio.cos.tx.xmcdn.com/storages/587f-audiofreehighqps/15/CE/GKwRIJIGnb11ABc6SwF59DNb.mp3">https://openaudio.cos.tx.xmcdn.com/storages/587f-audiofreehighqps/15/CE/GKwRIJIGnb11ABc6SwF59DNb.mp3</a></p>
*/
@NameInMap("ItemUrl")
public String itemUrl;
/**
* <strong>example:</strong>
* <p>false</p>
*/
@NameInMap("Liked")
public Boolean liked;
/**
* <strong>example:</strong>
* <p><a href="https://aicontent.alibabausercontent.com/lyric/thirdsource/6f4c8408073db134b0d097c122b5a1a1.lrc">https://aicontent.alibabausercontent.com/lyric/thirdsource/6f4c8408073db134b0d097c122b5a1a1.lrc</a></p>
*/
@NameInMap("LyricUrl")
public String lyricUrl;
/**
* <strong>example:</strong>
* <p>Repeat</p>
*/
@NameInMap("PlayMode")
public String playMode;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("Pos")
public Integer pos;
/**
* <strong>example:</strong>
* <p>96.0</p>
*/
@NameInMap("Progress")
public Integer progress;
/**
* <strong>example:</strong>
* <p>123123</p>
*/
@NameInMap("RawId")
public String rawId;
@NameInMap("Singer")
public String singer;
/**
* <strong>example:</strong>
* <p>qignting</p>
*/
@NameInMap("Source")
public String source;
@NameInMap("Title")
public String title;
/**
* <strong>example:</strong>
* <p>program</p>
*/
@NameInMap("Type")
public String type;
/**
* <strong>example:</strong>
* <p>VALID</p>
*/
@NameInMap("Valid")
public String valid;
public static CreatePlayingListOAuth2ResponseBodyResult build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListOAuth2ResponseBodyResult self = new CreatePlayingListOAuth2ResponseBodyResult();
return TeaModel.build(map, self);
}
public CreatePlayingListOAuth2ResponseBodyResult setAlbumName(String albumName) {
this.albumName = albumName;
return this;
}
public String getAlbumName() {
return this.albumName;
}
public CreatePlayingListOAuth2ResponseBodyResult setAlbumRawId(String albumRawId) {
this.albumRawId = albumRawId;
return this;
}
public String getAlbumRawId() {
return this.albumRawId;
}
public CreatePlayingListOAuth2ResponseBodyResult setAudioLength(Integer audioLength) {
this.audioLength = audioLength;
return this;
}
public Integer getAudioLength() {
return this.audioLength;
}
public CreatePlayingListOAuth2ResponseBodyResult setCopyright(Integer copyright) {
this.copyright = copyright;
return this;
}
public Integer getCopyright() {
return this.copyright;
}
public CreatePlayingListOAuth2ResponseBodyResult setCover(CreatePlayingListOAuth2ResponseBodyResultCover cover) {
this.cover = cover;
return this;
}
public CreatePlayingListOAuth2ResponseBodyResultCover getCover() {
return this.cover;
}
public CreatePlayingListOAuth2ResponseBodyResult setDefaultPlayOrder(Integer defaultPlayOrder) {
this.defaultPlayOrder = defaultPlayOrder;
return this;
}
public Integer getDefaultPlayOrder() {
return this.defaultPlayOrder;
}
public CreatePlayingListOAuth2ResponseBodyResult setItemUrl(String itemUrl) {
this.itemUrl = itemUrl;
return this;
}
public String getItemUrl() {
return this.itemUrl;
}
public CreatePlayingListOAuth2ResponseBodyResult setLiked(Boolean liked) {
this.liked = liked;
return this;
}
public Boolean getLiked() {
return this.liked;
}
public CreatePlayingListOAuth2ResponseBodyResult setLyricUrl(String lyricUrl) {
this.lyricUrl = lyricUrl;
return this;
}
public String getLyricUrl() {
return this.lyricUrl;
}
public CreatePlayingListOAuth2ResponseBodyResult setPlayMode(String playMode) {
this.playMode = playMode;
return this;
}
public String getPlayMode() {
return this.playMode;
}
public CreatePlayingListOAuth2ResponseBodyResult setPos(Integer pos) {
this.pos = pos;
return this;
}
public Integer getPos() {
return this.pos;
}
public CreatePlayingListOAuth2ResponseBodyResult setProgress(Integer progress) {
this.progress = progress;
return this;
}
public Integer getProgress() {
return this.progress;
}
public CreatePlayingListOAuth2ResponseBodyResult setRawId(String rawId) {
this.rawId = rawId;
return this;
}
public String getRawId() {
return this.rawId;
}
public CreatePlayingListOAuth2ResponseBodyResult setSinger(String singer) {
this.singer = singer;
return this;
}
public String getSinger() {
return this.singer;
}
public CreatePlayingListOAuth2ResponseBodyResult setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public CreatePlayingListOAuth2ResponseBodyResult setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public CreatePlayingListOAuth2ResponseBodyResult setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public CreatePlayingListOAuth2ResponseBodyResult setValid(String valid) {
this.valid = valid;
return this;
}
public String getValid() {
return this.valid;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreatePlayingListOAuth2ShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreatePlayingListOAuth2ShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("OpenCreatePlayingListRequest")
public String openCreatePlayingListRequestShrink;
public static CreatePlayingListOAuth2ShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListOAuth2ShrinkRequest self = new CreatePlayingListOAuth2ShrinkRequest();
return TeaModel.build(map, self);
}
public CreatePlayingListOAuth2ShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
public CreatePlayingListOAuth2ShrinkRequest setOpenCreatePlayingListRequestShrink(String openCreatePlayingListRequestShrink) {
this.openCreatePlayingListRequestShrink = openCreatePlayingListRequestShrink;
return this;
}
public String getOpenCreatePlayingListRequestShrink() {
return this.openCreatePlayingListRequestShrink;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreatePlayingListRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreatePlayingListRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public CreatePlayingListRequestDeviceInfo deviceInfo;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("OpenCreatePlayingListRequest")
public CreatePlayingListRequestOpenCreatePlayingListRequest openCreatePlayingListRequest;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public CreatePlayingListRequestUserInfo userInfo;
public static CreatePlayingListRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListRequest self = new CreatePlayingListRequest();
return TeaModel.build(map, self);
}
public CreatePlayingListRequest setDeviceInfo(CreatePlayingListRequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public CreatePlayingListRequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public CreatePlayingListRequest setOpenCreatePlayingListRequest(CreatePlayingListRequestOpenCreatePlayingListRequest openCreatePlayingListRequest) {
this.openCreatePlayingListRequest = openCreatePlayingListRequest;
return this;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest getOpenCreatePlayingListRequest() {
return this.openCreatePlayingListRequest;
}
public CreatePlayingListRequest setUserInfo(CreatePlayingListRequestUserInfo userInfo) {
this.userInfo = userInfo;
return this;
}
public CreatePlayingListRequestUserInfo getUserInfo() {
return this.userInfo;
}
public static class CreatePlayingListRequestDeviceInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rV/XSgPuxZjx/hN3iw8U+e8ouRjKOX95tn1a0kwb2+Ao6Q1CAxASJUZDWtlk1r43LWcVW6fvY1Rr4sEPFodpnA==</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static CreatePlayingListRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListRequestDeviceInfo self = new CreatePlayingListRequestDeviceInfo();
return TeaModel.build(map, self);
}
public CreatePlayingListRequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CreatePlayingListRequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CreatePlayingListRequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CreatePlayingListRequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public CreatePlayingListRequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
public static class CreatePlayingListRequestOpenCreatePlayingListRequestContentList extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12345</p>
*/
@NameInMap("RawId")
public String rawId;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xiami</p>
*/
@NameInMap("Source")
public String source;
public static CreatePlayingListRequestOpenCreatePlayingListRequestContentList build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListRequestOpenCreatePlayingListRequestContentList self = new CreatePlayingListRequestOpenCreatePlayingListRequestContentList();
return TeaModel.build(map, self);
}
public CreatePlayingListRequestOpenCreatePlayingListRequestContentList setRawId(String rawId) {
this.rawId = rawId;
return this;
}
public String getRawId() {
return this.rawId;
}
public CreatePlayingListRequestOpenCreatePlayingListRequestContentList setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
}
public static class CreatePlayingListRequestOpenCreatePlayingListRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("ContentList")
public java.util.List<CreatePlayingListRequestOpenCreatePlayingListRequestContentList> contentList;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>content</p>
*/
@NameInMap("ContentType")
public String contentType;
@NameInMap("ExtendInfo")
public java.util.Map<String, ?> extendInfo;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Index")
public Integer index;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("NeedAlbumContinued")
public Boolean needAlbumContinued;
/**
* <strong>example:</strong>
* <p>default</p>
*/
@NameInMap("PlayFrom")
public String playFrom;
/**
* <strong>example:</strong>
* <p>Repeat</p>
*/
@NameInMap("PlayMode")
public String playMode;
public static CreatePlayingListRequestOpenCreatePlayingListRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListRequestOpenCreatePlayingListRequest self = new CreatePlayingListRequestOpenCreatePlayingListRequest();
return TeaModel.build(map, self);
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setContentList(java.util.List<CreatePlayingListRequestOpenCreatePlayingListRequestContentList> contentList) {
this.contentList = contentList;
return this;
}
public java.util.List<CreatePlayingListRequestOpenCreatePlayingListRequestContentList> getContentList() {
return this.contentList;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setContentType(String contentType) {
this.contentType = contentType;
return this;
}
public String getContentType() {
return this.contentType;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setExtendInfo(java.util.Map<String, ?> extendInfo) {
this.extendInfo = extendInfo;
return this;
}
public java.util.Map<String, ?> getExtendInfo() {
return this.extendInfo;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setIndex(Integer index) {
this.index = index;
return this;
}
public Integer getIndex() {
return this.index;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setNeedAlbumContinued(Boolean needAlbumContinued) {
this.needAlbumContinued = needAlbumContinued;
return this;
}
public Boolean getNeedAlbumContinued() {
return this.needAlbumContinued;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setPlayFrom(String playFrom) {
this.playFrom = playFrom;
return this;
}
public String getPlayFrom() {
return this.playFrom;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setPlayMode(String playMode) {
this.playMode = playMode;
return this;
}
public String getPlayMode() {
return this.playMode;
}
}
public static class CreatePlayingListRequestUserInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rV/XSgPuxZjx/hN3iw8U+e8ouRjKOX95tn1a0kwb2+Ao6Q1CAxASJUZDWtlk1r43LWcVW6fvY1Rr4sEPFodpnA==</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static CreatePlayingListRequestUserInfo build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListRequestUserInfo self = new CreatePlayingListRequestUserInfo();
return TeaModel.build(map, self);
}
public CreatePlayingListRequestUserInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CreatePlayingListRequestUserInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CreatePlayingListRequestUserInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CreatePlayingListRequestUserInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public CreatePlayingListRequestUserInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreatePlayingListResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreatePlayingListResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CreatePlayingListResponseBody body;
public static CreatePlayingListResponse build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListResponse self = new CreatePlayingListResponse();
return TeaModel.build(map, self);
}
public CreatePlayingListResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CreatePlayingListResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CreatePlayingListResponse setBody(CreatePlayingListResponseBody body) {
this.body = body;
return this;
}
public CreatePlayingListResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreatePlayingListResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreatePlayingListResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>10002398812</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public CreatePlayingListResponseBodyResult result;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public String success;
public static CreatePlayingListResponseBody build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListResponseBody self = new CreatePlayingListResponseBody();
return TeaModel.build(map, self);
}
public CreatePlayingListResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CreatePlayingListResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreatePlayingListResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreatePlayingListResponseBody setResult(CreatePlayingListResponseBodyResult result) {
this.result = result;
return this;
}
public CreatePlayingListResponseBodyResult getResult() {
return this.result;
}
public CreatePlayingListResponseBody setSuccess(String success) {
this.success = success;
return this;
}
public String getSuccess() {
return this.success;
}
public static class CreatePlayingListResponseBodyResultCover extends TeaModel {
/**
* <strong>example:</strong>
* <p>false</p>
*/
@NameInMap("CanResize")
public Boolean canResize;
/**
* <strong>example:</strong>
* <p><a href="http://imgopen.xmcdn.com/group58/M06/08/9B/wKgLglzTyTjiOy0oAAcOTv16ohg815.jpg!op_type=3&columns=640&rows=640">http://imgopen.xmcdn.com/group58/M06/08/9B/wKgLglzTyTjiOy0oAAcOTv16ohg815.jpg!op_type=3&columns=640&rows=640</a></p>
*/
@NameInMap("Img")
public String img;
/**
* <strong>example:</strong>
* <p><a href="http://imgopen.xmcdn.com/group58/M06/08/9B/wKgLglzTyTjiOy0oAAcOTv16ohg815.jpg!op_type=3&columns=640&rows=640">http://imgopen.xmcdn.com/group58/M06/08/9B/wKgLglzTyTjiOy0oAAcOTv16ohg815.jpg!op_type=3&columns=640&rows=640</a></p>
*/
@NameInMap("Large")
public String large;
/**
* <strong>example:</strong>
* <p><a href="http://imgopen.xmcdn.com/group58/M06/08/9B/wKgLglzTyTjiOy0oAAcOTv16ohg815.jpg!op_type=3&columns=640&rows=640">http://imgopen.xmcdn.com/group58/M06/08/9B/wKgLglzTyTjiOy0oAAcOTv16ohg815.jpg!op_type=3&columns=640&rows=640</a></p>
*/
@NameInMap("Mediam")
public String mediam;
/**
* <strong>example:</strong>
* <p><a href="http://imgopen.xmcdn.com/group58/M06/08/9B/wKgLglzTyTjiOy0oAAcOTv16ohg815.jpg!op_type=3&columns=640&rows=640">http://imgopen.xmcdn.com/group58/M06/08/9B/wKgLglzTyTjiOy0oAAcOTv16ohg815.jpg!op_type=3&columns=640&rows=640</a></p>
*/
@NameInMap("Medium")
public String medium;
/**
* <strong>example:</strong>
* <p><a href="http://imgopen.xmcdn.com/group58/M06/08/9B/wKgLglzTyTjiOy0oAAcOTv16ohg815.jpg!op_type=3&columns=640&rows=640">http://imgopen.xmcdn.com/group58/M06/08/9B/wKgLglzTyTjiOy0oAAcOTv16ohg815.jpg!op_type=3&columns=640&rows=640</a></p>
*/
@NameInMap("Small")
public String small;
public static CreatePlayingListResponseBodyResultCover build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListResponseBodyResultCover self = new CreatePlayingListResponseBodyResultCover();
return TeaModel.build(map, self);
}
public CreatePlayingListResponseBodyResultCover setCanResize(Boolean canResize) {
this.canResize = canResize;
return this;
}
public Boolean getCanResize() {
return this.canResize;
}
public CreatePlayingListResponseBodyResultCover setImg(String img) {
this.img = img;
return this;
}
public String getImg() {
return this.img;
}
public CreatePlayingListResponseBodyResultCover setLarge(String large) {
this.large = large;
return this;
}
public String getLarge() {
return this.large;
}
public CreatePlayingListResponseBodyResultCover setMediam(String mediam) {
this.mediam = mediam;
return this;
}
public String getMediam() {
return this.mediam;
}
public CreatePlayingListResponseBodyResultCover setMedium(String medium) {
this.medium = medium;
return this;
}
public String getMedium() {
return this.medium;
}
public CreatePlayingListResponseBodyResultCover setSmall(String small) {
this.small = small;
return this;
}
public String getSmall() {
return this.small;
}
}
public static class CreatePlayingListResponseBodyResult extends TeaModel {
@NameInMap("AlbumName")
public String albumName;
/**
* <strong>example:</strong>
* <p>260744</p>
*/
@NameInMap("AlbumRawId")
public String albumRawId;
/**
* <strong>example:</strong>
* <p>190</p>
*/
@NameInMap("AudioLength")
public Integer audioLength;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Copyright")
public Integer copyright;
@NameInMap("Cover")
public CreatePlayingListResponseBodyResultCover cover;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("DefaultPlayOrder")
public Integer defaultPlayOrder;
/**
* <strong>example:</strong>
* <p><a href="https://openaudio.cos.tx.xmcdn.com/storages/587f-audiofreehighqps/15/CE/GKwRIJIGnb11ABc6SwF59DNb.mp3">https://openaudio.cos.tx.xmcdn.com/storages/587f-audiofreehighqps/15/CE/GKwRIJIGnb11ABc6SwF59DNb.mp3</a></p>
*/
@NameInMap("ItemUrl")
public String itemUrl;
/**
* <strong>example:</strong>
* <p>false</p>
*/
@NameInMap("Liked")
public Boolean liked;
/**
* <strong>example:</strong>
* <p><a href="https://aicontent.alibabausercontent.com/lyric/thirdsource/6f4c8408073db134b0d097c122b5a1a1.lrc">https://aicontent.alibabausercontent.com/lyric/thirdsource/6f4c8408073db134b0d097c122b5a1a1.lrc</a></p>
*/
@NameInMap("LyricUrl")
public String lyricUrl;
/**
* <strong>example:</strong>
* <p>Repeat</p>
*/
@NameInMap("PlayMode")
public String playMode;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Pos")
public Integer pos;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Progress")
public Integer progress;
/**
* <strong>example:</strong>
* <p>550144364</p>
*/
@NameInMap("RawId")
public String rawId;
@NameInMap("Singer")
public String singer;
/**
* <strong>example:</strong>
* <p>ximalayav2</p>
*/
@NameInMap("Source")
public String source;
@NameInMap("Title")
public String title;
/**
* <strong>example:</strong>
* <p>story</p>
*/
@NameInMap("Type")
public String type;
/**
* <strong>example:</strong>
* <p>VALID</p>
*/
@NameInMap("Valid")
public String valid;
public static CreatePlayingListResponseBodyResult build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListResponseBodyResult self = new CreatePlayingListResponseBodyResult();
return TeaModel.build(map, self);
}
public CreatePlayingListResponseBodyResult setAlbumName(String albumName) {
this.albumName = albumName;
return this;
}
public String getAlbumName() {
return this.albumName;
}
public CreatePlayingListResponseBodyResult setAlbumRawId(String albumRawId) {
this.albumRawId = albumRawId;
return this;
}
public String getAlbumRawId() {
return this.albumRawId;
}
public CreatePlayingListResponseBodyResult setAudioLength(Integer audioLength) {
this.audioLength = audioLength;
return this;
}
public Integer getAudioLength() {
return this.audioLength;
}
public CreatePlayingListResponseBodyResult setCopyright(Integer copyright) {
this.copyright = copyright;
return this;
}
public Integer getCopyright() {
return this.copyright;
}
public CreatePlayingListResponseBodyResult setCover(CreatePlayingListResponseBodyResultCover cover) {
this.cover = cover;
return this;
}
public CreatePlayingListResponseBodyResultCover getCover() {
return this.cover;
}
public CreatePlayingListResponseBodyResult setDefaultPlayOrder(Integer defaultPlayOrder) {
this.defaultPlayOrder = defaultPlayOrder;
return this;
}
public Integer getDefaultPlayOrder() {
return this.defaultPlayOrder;
}
public CreatePlayingListResponseBodyResult setItemUrl(String itemUrl) {
this.itemUrl = itemUrl;
return this;
}
public String getItemUrl() {
return this.itemUrl;
}
public CreatePlayingListResponseBodyResult setLiked(Boolean liked) {
this.liked = liked;
return this;
}
public Boolean getLiked() {
return this.liked;
}
public CreatePlayingListResponseBodyResult setLyricUrl(String lyricUrl) {
this.lyricUrl = lyricUrl;
return this;
}
public String getLyricUrl() {
return this.lyricUrl;
}
public CreatePlayingListResponseBodyResult setPlayMode(String playMode) {
this.playMode = playMode;
return this;
}
public String getPlayMode() {
return this.playMode;
}
public CreatePlayingListResponseBodyResult setPos(Integer pos) {
this.pos = pos;
return this;
}
public Integer getPos() {
return this.pos;
}
public CreatePlayingListResponseBodyResult setProgress(Integer progress) {
this.progress = progress;
return this;
}
public Integer getProgress() {
return this.progress;
}
public CreatePlayingListResponseBodyResult setRawId(String rawId) {
this.rawId = rawId;
return this;
}
public String getRawId() {
return this.rawId;
}
public CreatePlayingListResponseBodyResult setSinger(String singer) {
this.singer = singer;
return this;
}
public String getSinger() {
return this.singer;
}
public CreatePlayingListResponseBodyResult setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public CreatePlayingListResponseBodyResult setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public CreatePlayingListResponseBodyResult setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public CreatePlayingListResponseBodyResult setValid(String valid) {
this.valid = valid;
return this;
}
public String getValid() {
return this.valid;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreatePlayingListShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreatePlayingListShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("OpenCreatePlayingListRequest")
public String openCreatePlayingListRequestShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public String userInfoShrink;
public static CreatePlayingListShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListShrinkRequest self = new CreatePlayingListShrinkRequest();
return TeaModel.build(map, self);
}
public CreatePlayingListShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
public CreatePlayingListShrinkRequest setOpenCreatePlayingListRequestShrink(String openCreatePlayingListRequestShrink) {
this.openCreatePlayingListRequestShrink = openCreatePlayingListRequestShrink;
return this;
}
public String getOpenCreatePlayingListRequestShrink() {
return this.openCreatePlayingListRequestShrink;
}
public CreatePlayingListShrinkRequest setUserInfoShrink(String userInfoShrink) {
this.userInfoShrink = userInfoShrink;
return this;
}
public String getUserInfoShrink() {
return this.userInfoShrink;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreateScheduleTaskHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreateScheduleTaskHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static CreateScheduleTaskHeaders build(java.util.Map<String, ?> map) throws Exception {
CreateScheduleTaskHeaders self = new CreateScheduleTaskHeaders();
return TeaModel.build(map, self);
}
public CreateScheduleTaskHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public CreateScheduleTaskHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public CreateScheduleTaskHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreateScheduleTaskRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreateScheduleTaskRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public CreateScheduleTaskRequestDeviceInfo deviceInfo;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Payload")
public CreateScheduleTaskRequestPayload payload;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public CreateScheduleTaskRequestUserInfo userInfo;
public static CreateScheduleTaskRequest build(java.util.Map<String, ?> map) throws Exception {
CreateScheduleTaskRequest self = new CreateScheduleTaskRequest();
return TeaModel.build(map, self);
}
public CreateScheduleTaskRequest setDeviceInfo(CreateScheduleTaskRequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public CreateScheduleTaskRequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public CreateScheduleTaskRequest setPayload(CreateScheduleTaskRequestPayload payload) {
this.payload = payload;
return this;
}
public CreateScheduleTaskRequestPayload getPayload() {
return this.payload;
}
public CreateScheduleTaskRequest setUserInfo(CreateScheduleTaskRequestUserInfo userInfo) {
this.userInfo = userInfo;
return this;
}
public CreateScheduleTaskRequestUserInfo getUserInfo() {
return this.userInfo;
}
public static class CreateScheduleTaskRequestDeviceInfo extends TeaModel {
/**
* <strong>example:</strong>
* <p>12**45</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <strong>example:</strong>
* <p>DAFE****ce3ej=</p>
*/
@NameInMap("Id")
public String id;
/**
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1**2</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static CreateScheduleTaskRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
CreateScheduleTaskRequestDeviceInfo self = new CreateScheduleTaskRequestDeviceInfo();
return TeaModel.build(map, self);
}
public CreateScheduleTaskRequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CreateScheduleTaskRequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CreateScheduleTaskRequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CreateScheduleTaskRequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public CreateScheduleTaskRequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
public static class CreateScheduleTaskRequestPayloadActionDTOs extends TeaModel {
/**
* <strong>example:</strong>
* <p>{"k1":"v1","k2":{"key":1}}</p>
*/
@NameInMap("customAction")
public java.util.Map<String, ?> customAction;
public static CreateScheduleTaskRequestPayloadActionDTOs build(java.util.Map<String, ?> map) throws Exception {
CreateScheduleTaskRequestPayloadActionDTOs self = new CreateScheduleTaskRequestPayloadActionDTOs();
return TeaModel.build(map, self);
}
public CreateScheduleTaskRequestPayloadActionDTOs setCustomAction(java.util.Map<String, ?> customAction) {
this.customAction = customAction;
return this;
}
public java.util.Map<String, ?> getCustomAction() {
return this.customAction;
}
}
public static class CreateScheduleTaskRequestPayloadScheduleDTOOnce extends TeaModel {
/**
* <strong>example:</strong>
* <p>26</p>
*/
@NameInMap("Day")
public Integer day;
/**
* <strong>example:</strong>
* <p>12</p>
*/
@NameInMap("Hour")
public Integer hour;
/**
* <strong>example:</strong>
* <p>30</p>
*/
@NameInMap("Minute")
public Integer minute;
/**
* <strong>example:</strong>
* <p>7</p>
*/
@NameInMap("Month")
public Integer month;
/**
* <strong>example:</strong>
* <p>2022</p>
*/
@NameInMap("Year")
public Integer year;
public static CreateScheduleTaskRequestPayloadScheduleDTOOnce build(java.util.Map<String, ?> map) throws Exception {
CreateScheduleTaskRequestPayloadScheduleDTOOnce self = new CreateScheduleTaskRequestPayloadScheduleDTOOnce();
return TeaModel.build(map, self);
}
public CreateScheduleTaskRequestPayloadScheduleDTOOnce setDay(Integer day) {
this.day = day;
return this;
}
public Integer getDay() {
return this.day;
}
public CreateScheduleTaskRequestPayloadScheduleDTOOnce setHour(Integer hour) {
this.hour = hour;
return this;
}
public Integer getHour() {
return this.hour;
}
public CreateScheduleTaskRequestPayloadScheduleDTOOnce setMinute(Integer minute) {
this.minute = minute;
return this;
}
public Integer getMinute() {
return this.minute;
}
public CreateScheduleTaskRequestPayloadScheduleDTOOnce setMonth(Integer month) {
this.month = month;
return this;
}
public Integer getMonth() {
return this.month;
}
public CreateScheduleTaskRequestPayloadScheduleDTOOnce setYear(Integer year) {
this.year = year;
return this;
}
public Integer getYear() {
return this.year;
}
}
public static class CreateScheduleTaskRequestPayloadScheduleDTOStatutoryWorkingDay extends TeaModel {
@NameInMap("Hours")
public java.util.List<Integer> hours;
@NameInMap("Minutes")
public java.util.List<Integer> minutes;
public static CreateScheduleTaskRequestPayloadScheduleDTOStatutoryWorkingDay build(java.util.Map<String, ?> map) throws Exception {
CreateScheduleTaskRequestPayloadScheduleDTOStatutoryWorkingDay self = new CreateScheduleTaskRequestPayloadScheduleDTOStatutoryWorkingDay();
return TeaModel.build(map, self);
}
public CreateScheduleTaskRequestPayloadScheduleDTOStatutoryWorkingDay setHours(java.util.List<Integer> hours) {
this.hours = hours;
return this;
}
public java.util.List<Integer> getHours() {
return this.hours;
}
public CreateScheduleTaskRequestPayloadScheduleDTOStatutoryWorkingDay setMinutes(java.util.List<Integer> minutes) {
this.minutes = minutes;
return this;
}
public java.util.List<Integer> getMinutes() {
return this.minutes;
}
}
public static class CreateScheduleTaskRequestPayloadScheduleDTOWeekly extends TeaModel {
@NameInMap("DaysOfWeek")
public java.util.List<Integer> daysOfWeek;
@NameInMap("Hours")
public java.util.List<Integer> hours;
@NameInMap("Minutes")
public java.util.List<Integer> minutes;
public static CreateScheduleTaskRequestPayloadScheduleDTOWeekly build(java.util.Map<String, ?> map) throws Exception {
CreateScheduleTaskRequestPayloadScheduleDTOWeekly self = new CreateScheduleTaskRequestPayloadScheduleDTOWeekly();
return TeaModel.build(map, self);
}
public CreateScheduleTaskRequestPayloadScheduleDTOWeekly setDaysOfWeek(java.util.List<Integer> daysOfWeek) {
this.daysOfWeek = daysOfWeek;
return this;
}
public java.util.List<Integer> getDaysOfWeek() {
return this.daysOfWeek;
}
public CreateScheduleTaskRequestPayloadScheduleDTOWeekly setHours(java.util.List<Integer> hours) {
this.hours = hours;
return this;
}
public java.util.List<Integer> getHours() {
return this.hours;
}
public CreateScheduleTaskRequestPayloadScheduleDTOWeekly setMinutes(java.util.List<Integer> minutes) {
this.minutes = minutes;
return this;
}
public java.util.List<Integer> getMinutes() {
return this.minutes;
}
}
public static class CreateScheduleTaskRequestPayloadScheduleDTO extends TeaModel {
@NameInMap("Once")
public CreateScheduleTaskRequestPayloadScheduleDTOOnce once;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1661589255000</p>
*/
@NameInMap("ScheduleEndTime")
public Long scheduleEndTime;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1656318855000</p>
*/
@NameInMap("ScheduleStartTime")
public Long scheduleStartTime;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ONCE</p>
*/
@NameInMap("ScheduleType")
public String scheduleType;
@NameInMap("StatutoryWorkingDay")
public CreateScheduleTaskRequestPayloadScheduleDTOStatutoryWorkingDay statutoryWorkingDay;
@NameInMap("Weekly")
public CreateScheduleTaskRequestPayloadScheduleDTOWeekly weekly;
public static CreateScheduleTaskRequestPayloadScheduleDTO build(java.util.Map<String, ?> map) throws Exception {
CreateScheduleTaskRequestPayloadScheduleDTO self = new CreateScheduleTaskRequestPayloadScheduleDTO();
return TeaModel.build(map, self);
}
public CreateScheduleTaskRequestPayloadScheduleDTO setOnce(CreateScheduleTaskRequestPayloadScheduleDTOOnce once) {
this.once = once;
return this;
}
public CreateScheduleTaskRequestPayloadScheduleDTOOnce getOnce() {
return this.once;
}
public CreateScheduleTaskRequestPayloadScheduleDTO setScheduleEndTime(Long scheduleEndTime) {
this.scheduleEndTime = scheduleEndTime;
return this;
}
public Long getScheduleEndTime() {
return this.scheduleEndTime;
}
public CreateScheduleTaskRequestPayloadScheduleDTO setScheduleStartTime(Long scheduleStartTime) {
this.scheduleStartTime = scheduleStartTime;
return this;
}
public Long getScheduleStartTime() {
return this.scheduleStartTime;
}
public CreateScheduleTaskRequestPayloadScheduleDTO setScheduleType(String scheduleType) {
this.scheduleType = scheduleType;
return this;
}
public String getScheduleType() {
return this.scheduleType;
}
public CreateScheduleTaskRequestPayloadScheduleDTO setStatutoryWorkingDay(CreateScheduleTaskRequestPayloadScheduleDTOStatutoryWorkingDay statutoryWorkingDay) {
this.statutoryWorkingDay = statutoryWorkingDay;
return this;
}
public CreateScheduleTaskRequestPayloadScheduleDTOStatutoryWorkingDay getStatutoryWorkingDay() {
return this.statutoryWorkingDay;
}
public CreateScheduleTaskRequestPayloadScheduleDTO setWeekly(CreateScheduleTaskRequestPayloadScheduleDTOWeekly weekly) {
this.weekly = weekly;
return this;
}
public CreateScheduleTaskRequestPayloadScheduleDTOWeekly getWeekly() {
return this.weekly;
}
}
public static class CreateScheduleTaskRequestPayload extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("ActionDTOs")
public java.util.List<CreateScheduleTaskRequestPayloadActionDTOs> actionDTOs;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("IdempotentId")
public String idempotentId;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("ScheduleDTO")
public CreateScheduleTaskRequestPayloadScheduleDTO scheduleDTO;
public static CreateScheduleTaskRequestPayload build(java.util.Map<String, ?> map) throws Exception {
CreateScheduleTaskRequestPayload self = new CreateScheduleTaskRequestPayload();
return TeaModel.build(map, self);
}
public CreateScheduleTaskRequestPayload setActionDTOs(java.util.List<CreateScheduleTaskRequestPayloadActionDTOs> actionDTOs) {
this.actionDTOs = actionDTOs;
return this;
}
public java.util.List<CreateScheduleTaskRequestPayloadActionDTOs> getActionDTOs() {
return this.actionDTOs;
}
public CreateScheduleTaskRequestPayload setIdempotentId(String idempotentId) {
this.idempotentId = idempotentId;
return this;
}
public String getIdempotentId() {
return this.idempotentId;
}
public CreateScheduleTaskRequestPayload setScheduleDTO(CreateScheduleTaskRequestPayloadScheduleDTO scheduleDTO) {
this.scheduleDTO = scheduleDTO;
return this;
}
public CreateScheduleTaskRequestPayloadScheduleDTO getScheduleDTO() {
return this.scheduleDTO;
}
}
public static class CreateScheduleTaskRequestUserInfo extends TeaModel {
/**
* <strong>example:</strong>
* <p>12**45</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <strong>example:</strong>
* <p>HOFF****my7Iw=</p>
*/
@NameInMap("Id")
public String id;
/**
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1**2</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static CreateScheduleTaskRequestUserInfo build(java.util.Map<String, ?> map) throws Exception {
CreateScheduleTaskRequestUserInfo self = new CreateScheduleTaskRequestUserInfo();
return TeaModel.build(map, self);
}
public CreateScheduleTaskRequestUserInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CreateScheduleTaskRequestUserInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CreateScheduleTaskRequestUserInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CreateScheduleTaskRequestUserInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public CreateScheduleTaskRequestUserInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreateScheduleTaskResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreateScheduleTaskResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CreateScheduleTaskResponseBody body;
public static CreateScheduleTaskResponse build(java.util.Map<String, ?> map) throws Exception {
CreateScheduleTaskResponse self = new CreateScheduleTaskResponse();
return TeaModel.build(map, self);
}
public CreateScheduleTaskResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CreateScheduleTaskResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CreateScheduleTaskResponse setBody(CreateScheduleTaskResponseBody body) {
this.body = body;
return this;
}
public CreateScheduleTaskResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreateScheduleTaskResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreateScheduleTaskResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>F7E2****B7C94</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>1234567</p>
*/
@NameInMap("Result")
public Long result;
public static CreateScheduleTaskResponseBody build(java.util.Map<String, ?> map) throws Exception {
CreateScheduleTaskResponseBody self = new CreateScheduleTaskResponseBody();
return TeaModel.build(map, self);
}
public CreateScheduleTaskResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public CreateScheduleTaskResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreateScheduleTaskResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateScheduleTaskResponseBody setResult(Long result) {
this.result = result;
return this;
}
public Long getResult() {
return this.result;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/CreateScheduleTaskShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class CreateScheduleTaskShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Payload")
public String payloadShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public String userInfoShrink;
public static CreateScheduleTaskShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
CreateScheduleTaskShrinkRequest self = new CreateScheduleTaskShrinkRequest();
return TeaModel.build(map, self);
}
public CreateScheduleTaskShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
public CreateScheduleTaskShrinkRequest setPayloadShrink(String payloadShrink) {
this.payloadShrink = payloadShrink;
return this;
}
public String getPayloadShrink() {
return this.payloadShrink;
}
public CreateScheduleTaskShrinkRequest setUserInfoShrink(String userInfoShrink) {
this.userInfoShrink = userInfoShrink;
return this;
}
public String getUserInfoShrink() {
return this.userInfoShrink;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteAlarmsHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteAlarmsHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static DeleteAlarmsHeaders build(java.util.Map<String, ?> map) throws Exception {
DeleteAlarmsHeaders self = new DeleteAlarmsHeaders();
return TeaModel.build(map, self);
}
public DeleteAlarmsHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public DeleteAlarmsHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public DeleteAlarmsHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteAlarmsRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteAlarmsRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public DeleteAlarmsRequestDeviceInfo deviceInfo;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Payload")
public DeleteAlarmsRequestPayload payload;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public DeleteAlarmsRequestUserInfo userInfo;
public static DeleteAlarmsRequest build(java.util.Map<String, ?> map) throws Exception {
DeleteAlarmsRequest self = new DeleteAlarmsRequest();
return TeaModel.build(map, self);
}
public DeleteAlarmsRequest setDeviceInfo(DeleteAlarmsRequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public DeleteAlarmsRequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public DeleteAlarmsRequest setPayload(DeleteAlarmsRequestPayload payload) {
this.payload = payload;
return this;
}
public DeleteAlarmsRequestPayload getPayload() {
return this.payload;
}
public DeleteAlarmsRequest setUserInfo(DeleteAlarmsRequestUserInfo userInfo) {
this.userInfo = userInfo;
return this;
}
public DeleteAlarmsRequestUserInfo getUserInfo() {
return this.userInfo;
}
public static class DeleteAlarmsRequestDeviceInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12**45</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PACKAGE_NAME</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>DAFE****ce3ej=</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1**2</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static DeleteAlarmsRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
DeleteAlarmsRequestDeviceInfo self = new DeleteAlarmsRequestDeviceInfo();
return TeaModel.build(map, self);
}
public DeleteAlarmsRequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public DeleteAlarmsRequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public DeleteAlarmsRequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public DeleteAlarmsRequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public DeleteAlarmsRequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
public static class DeleteAlarmsRequestPayload extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("AlarmIds")
public java.util.List<Long> alarmIds;
public static DeleteAlarmsRequestPayload build(java.util.Map<String, ?> map) throws Exception {
DeleteAlarmsRequestPayload self = new DeleteAlarmsRequestPayload();
return TeaModel.build(map, self);
}
public DeleteAlarmsRequestPayload setAlarmIds(java.util.List<Long> alarmIds) {
this.alarmIds = alarmIds;
return this;
}
public java.util.List<Long> getAlarmIds() {
return this.alarmIds;
}
}
public static class DeleteAlarmsRequestUserInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12**45</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PACKAGE_NAME</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>HOFF****my7Iw=</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1**2</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static DeleteAlarmsRequestUserInfo build(java.util.Map<String, ?> map) throws Exception {
DeleteAlarmsRequestUserInfo self = new DeleteAlarmsRequestUserInfo();
return TeaModel.build(map, self);
}
public DeleteAlarmsRequestUserInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public DeleteAlarmsRequestUserInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public DeleteAlarmsRequestUserInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public DeleteAlarmsRequestUserInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public DeleteAlarmsRequestUserInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteAlarmsResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteAlarmsResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public DeleteAlarmsResponseBody body;
public static DeleteAlarmsResponse build(java.util.Map<String, ?> map) throws Exception {
DeleteAlarmsResponse self = new DeleteAlarmsResponse();
return TeaModel.build(map, self);
}
public DeleteAlarmsResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public DeleteAlarmsResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public DeleteAlarmsResponse setBody(DeleteAlarmsResponseBody body) {
this.body = body;
return this;
}
public DeleteAlarmsResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteAlarmsResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteAlarmsResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>43<em><strong>28C-A810-5</strong></em>-8747-EC226A086881</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Result")
public Boolean result;
public static DeleteAlarmsResponseBody build(java.util.Map<String, ?> map) throws Exception {
DeleteAlarmsResponseBody self = new DeleteAlarmsResponseBody();
return TeaModel.build(map, self);
}
public DeleteAlarmsResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DeleteAlarmsResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DeleteAlarmsResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DeleteAlarmsResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteAlarmsShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteAlarmsShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Payload")
public String payloadShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public String userInfoShrink;
public static DeleteAlarmsShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
DeleteAlarmsShrinkRequest self = new DeleteAlarmsShrinkRequest();
return TeaModel.build(map, self);
}
public DeleteAlarmsShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
public DeleteAlarmsShrinkRequest setPayloadShrink(String payloadShrink) {
this.payloadShrink = payloadShrink;
return this;
}
public String getPayloadShrink() {
return this.payloadShrink;
}
public DeleteAlarmsShrinkRequest setUserInfoShrink(String userInfoShrink) {
this.userInfoShrink = userInfoShrink;
return this;
}
public String getUserInfoShrink() {
return this.userInfoShrink;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteScheduleTaskHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteScheduleTaskHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static DeleteScheduleTaskHeaders build(java.util.Map<String, ?> map) throws Exception {
DeleteScheduleTaskHeaders self = new DeleteScheduleTaskHeaders();
return TeaModel.build(map, self);
}
public DeleteScheduleTaskHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public DeleteScheduleTaskHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public DeleteScheduleTaskHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteScheduleTaskRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteScheduleTaskRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public DeleteScheduleTaskRequestDeviceInfo deviceInfo;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Payload")
public DeleteScheduleTaskRequestPayload payload;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public DeleteScheduleTaskRequestUserInfo userInfo;
public static DeleteScheduleTaskRequest build(java.util.Map<String, ?> map) throws Exception {
DeleteScheduleTaskRequest self = new DeleteScheduleTaskRequest();
return TeaModel.build(map, self);
}
public DeleteScheduleTaskRequest setDeviceInfo(DeleteScheduleTaskRequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public DeleteScheduleTaskRequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public DeleteScheduleTaskRequest setPayload(DeleteScheduleTaskRequestPayload payload) {
this.payload = payload;
return this;
}
public DeleteScheduleTaskRequestPayload getPayload() {
return this.payload;
}
public DeleteScheduleTaskRequest setUserInfo(DeleteScheduleTaskRequestUserInfo userInfo) {
this.userInfo = userInfo;
return this;
}
public DeleteScheduleTaskRequestUserInfo getUserInfo() {
return this.userInfo;
}
public static class DeleteScheduleTaskRequestDeviceInfo extends TeaModel {
/**
* <strong>example:</strong>
* <p>12**45</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <strong>example:</strong>
* <p>DAFE****ce3ej=</p>
*/
@NameInMap("Id")
public String id;
/**
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1**2</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static DeleteScheduleTaskRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
DeleteScheduleTaskRequestDeviceInfo self = new DeleteScheduleTaskRequestDeviceInfo();
return TeaModel.build(map, self);
}
public DeleteScheduleTaskRequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public DeleteScheduleTaskRequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public DeleteScheduleTaskRequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public DeleteScheduleTaskRequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public DeleteScheduleTaskRequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
public static class DeleteScheduleTaskRequestPayload extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1234567</p>
*/
@NameInMap("Id")
public Long id;
public static DeleteScheduleTaskRequestPayload build(java.util.Map<String, ?> map) throws Exception {
DeleteScheduleTaskRequestPayload self = new DeleteScheduleTaskRequestPayload();
return TeaModel.build(map, self);
}
public DeleteScheduleTaskRequestPayload setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
}
public static class DeleteScheduleTaskRequestUserInfo extends TeaModel {
/**
* <strong>example:</strong>
* <p>12**45</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <strong>example:</strong>
* <p>HOFF****my7Iw=</p>
*/
@NameInMap("Id")
public String id;
/**
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1**2</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static DeleteScheduleTaskRequestUserInfo build(java.util.Map<String, ?> map) throws Exception {
DeleteScheduleTaskRequestUserInfo self = new DeleteScheduleTaskRequestUserInfo();
return TeaModel.build(map, self);
}
public DeleteScheduleTaskRequestUserInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public DeleteScheduleTaskRequestUserInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public DeleteScheduleTaskRequestUserInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public DeleteScheduleTaskRequestUserInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public DeleteScheduleTaskRequestUserInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteScheduleTaskResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteScheduleTaskResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public DeleteScheduleTaskResponseBody body;
public static DeleteScheduleTaskResponse build(java.util.Map<String, ?> map) throws Exception {
DeleteScheduleTaskResponse self = new DeleteScheduleTaskResponse();
return TeaModel.build(map, self);
}
public DeleteScheduleTaskResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public DeleteScheduleTaskResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public DeleteScheduleTaskResponse setBody(DeleteScheduleTaskResponseBody body) {
this.body = body;
return this;
}
public DeleteScheduleTaskResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteScheduleTaskResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteScheduleTaskResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public String code;
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>F7E2****B7C94</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Result")
public Boolean result;
public static DeleteScheduleTaskResponseBody build(java.util.Map<String, ?> map) throws Exception {
DeleteScheduleTaskResponseBody self = new DeleteScheduleTaskResponseBody();
return TeaModel.build(map, self);
}
public DeleteScheduleTaskResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public DeleteScheduleTaskResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DeleteScheduleTaskResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DeleteScheduleTaskResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteScheduleTaskShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteScheduleTaskShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Payload")
public String payloadShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public String userInfoShrink;
public static DeleteScheduleTaskShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
DeleteScheduleTaskShrinkRequest self = new DeleteScheduleTaskShrinkRequest();
return TeaModel.build(map, self);
}
public DeleteScheduleTaskShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
public DeleteScheduleTaskShrinkRequest setPayloadShrink(String payloadShrink) {
this.payloadShrink = payloadShrink;
return this;
}
public String getPayloadShrink() {
return this.payloadShrink;
}
public DeleteScheduleTaskShrinkRequest setUserInfoShrink(String userInfoShrink) {
this.userInfoShrink = userInfoShrink;
return this;
}
public String getUserInfoShrink() {
return this.userInfoShrink;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteSubHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteSubHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static DeleteSubHeaders build(java.util.Map<String, ?> map) throws Exception {
DeleteSubHeaders self = new DeleteSubHeaders();
return TeaModel.build(map, self);
}
public DeleteSubHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public DeleteSubHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public DeleteSubHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteSubRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteSubRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>81</p>
*/
@NameInMap("SubId")
public Long subId;
public static DeleteSubRequest build(java.util.Map<String, ?> map) throws Exception {
DeleteSubRequest self = new DeleteSubRequest();
return TeaModel.build(map, self);
}
public DeleteSubRequest setSubId(Long subId) {
this.subId = subId;
return this;
}
public Long getSubId() {
return this.subId;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteSubResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteSubResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public DeleteSubResponseBody body;
public static DeleteSubResponse build(java.util.Map<String, ?> map) throws Exception {
DeleteSubResponse self = new DeleteSubResponse();
return TeaModel.build(map, self);
}
public DeleteSubResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public DeleteSubResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public DeleteSubResponse setBody(DeleteSubResponseBody body) {
this.body = body;
return this;
}
public DeleteSubResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeleteSubResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeleteSubResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>0AA6C15C-FD61-1E32-9881-480CC6F35A70</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Result")
public Boolean result;
public static DeleteSubResponseBody build(java.util.Map<String, ?> map) throws Exception {
DeleteSubResponseBody self = new DeleteSubResponseBody();
return TeaModel.build(map, self);
}
public DeleteSubResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DeleteSubResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DeleteSubResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DeleteSubResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeviceControlHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeviceControlHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static DeviceControlHeaders build(java.util.Map<String, ?> map) throws Exception {
DeviceControlHeaders self = new DeviceControlHeaders();
return TeaModel.build(map, self);
}
public DeviceControlHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public DeviceControlHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public DeviceControlHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeviceControlRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeviceControlRequest extends TeaModel {
@NameInMap("ControlRequest")
public DeviceControlRequestControlRequest controlRequest;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public DeviceControlRequestDeviceInfo deviceInfo;
public static DeviceControlRequest build(java.util.Map<String, ?> map) throws Exception {
DeviceControlRequest self = new DeviceControlRequest();
return TeaModel.build(map, self);
}
public DeviceControlRequest setControlRequest(DeviceControlRequestControlRequest controlRequest) {
this.controlRequest = controlRequest;
return this;
}
public DeviceControlRequestControlRequest getControlRequest() {
return this.controlRequest;
}
public DeviceControlRequest setDeviceInfo(DeviceControlRequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public DeviceControlRequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public static class DeviceControlRequestControlRequest extends TeaModel {
/**
* <strong>example:</strong>
* <p>false</p>
*/
@NameInMap("Muted")
public Boolean muted;
/**
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("Volume")
public Integer volume;
public static DeviceControlRequestControlRequest build(java.util.Map<String, ?> map) throws Exception {
DeviceControlRequestControlRequest self = new DeviceControlRequestControlRequest();
return TeaModel.build(map, self);
}
public DeviceControlRequestControlRequest setMuted(Boolean muted) {
this.muted = muted;
return this;
}
public Boolean getMuted() {
return this.muted;
}
public DeviceControlRequestControlRequest setVolume(Integer volume) {
this.volume = volume;
return this;
}
public Integer getVolume() {
return this.volume;
}
}
public static class DeviceControlRequestDeviceInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1*****2</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static DeviceControlRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
DeviceControlRequestDeviceInfo self = new DeviceControlRequestDeviceInfo();
return TeaModel.build(map, self);
}
public DeviceControlRequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public DeviceControlRequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public DeviceControlRequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public DeviceControlRequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public DeviceControlRequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeviceControlResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeviceControlResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public DeviceControlResponseBody body;
public static DeviceControlResponse build(java.util.Map<String, ?> map) throws Exception {
DeviceControlResponse self = new DeviceControlResponse();
return TeaModel.build(map, self);
}
public DeviceControlResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public DeviceControlResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public DeviceControlResponse setBody(DeviceControlResponseBody body) {
this.body = body;
return this;
}
public DeviceControlResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeviceControlResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeviceControlResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>0EC7*726E</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public Boolean result;
public static DeviceControlResponseBody build(java.util.Map<String, ?> map) throws Exception {
DeviceControlResponseBody self = new DeviceControlResponseBody();
return TeaModel.build(map, self);
}
public DeviceControlResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DeviceControlResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DeviceControlResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DeviceControlResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/DeviceControlShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class DeviceControlShrinkRequest extends TeaModel {
@NameInMap("ControlRequest")
public String controlRequestShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
public static DeviceControlShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
DeviceControlShrinkRequest self = new DeviceControlShrinkRequest();
return TeaModel.build(map, self);
}
public DeviceControlShrinkRequest setControlRequestShrink(String controlRequestShrink) {
this.controlRequestShrink = controlRequestShrink;
return this;
}
public String getControlRequestShrink() {
return this.controlRequestShrink;
}
public DeviceControlShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/EcologyOpennessAuthenticateHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class EcologyOpennessAuthenticateHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static EcologyOpennessAuthenticateHeaders build(java.util.Map<String, ?> map) throws Exception {
EcologyOpennessAuthenticateHeaders self = new EcologyOpennessAuthenticateHeaders();
return TeaModel.build(map, self);
}
public EcologyOpennessAuthenticateHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public EcologyOpennessAuthenticateHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public EcologyOpennessAuthenticateHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/EcologyOpennessAuthenticateRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class EcologyOpennessAuthenticateRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12*****</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>d15aa*****ee</p>
*/
@NameInMap("LoginStateAccessToken")
public String loginStateAccessToken;
public static EcologyOpennessAuthenticateRequest build(java.util.Map<String, ?> map) throws Exception {
EcologyOpennessAuthenticateRequest self = new EcologyOpennessAuthenticateRequest();
return TeaModel.build(map, self);
}
public EcologyOpennessAuthenticateRequest setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public EcologyOpennessAuthenticateRequest setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public EcologyOpennessAuthenticateRequest setLoginStateAccessToken(String loginStateAccessToken) {
this.loginStateAccessToken = loginStateAccessToken;
return this;
}
public String getLoginStateAccessToken() {
return this.loginStateAccessToken;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/EcologyOpennessAuthenticateResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class EcologyOpennessAuthenticateResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public EcologyOpennessAuthenticateResponseBody body;
public static EcologyOpennessAuthenticateResponse build(java.util.Map<String, ?> map) throws Exception {
EcologyOpennessAuthenticateResponse self = new EcologyOpennessAuthenticateResponse();
return TeaModel.build(map, self);
}
public EcologyOpennessAuthenticateResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public EcologyOpennessAuthenticateResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public EcologyOpennessAuthenticateResponse setBody(EcologyOpennessAuthenticateResponseBody body) {
this.body = body;
return this;
}
public EcologyOpennessAuthenticateResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/EcologyOpennessAuthenticateResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class EcologyOpennessAuthenticateResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>OK</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>73*<em><strong>9-175A-1324-8202-9FAAB</strong></em>**A</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public EcologyOpennessAuthenticateResponseBodyResult result;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Success")
public Boolean success;
public static EcologyOpennessAuthenticateResponseBody build(java.util.Map<String, ?> map) throws Exception {
EcologyOpennessAuthenticateResponseBody self = new EcologyOpennessAuthenticateResponseBody();
return TeaModel.build(map, self);
}
public EcologyOpennessAuthenticateResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public EcologyOpennessAuthenticateResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public EcologyOpennessAuthenticateResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public EcologyOpennessAuthenticateResponseBody setResult(EcologyOpennessAuthenticateResponseBodyResult result) {
this.result = result;
return this;
}
public EcologyOpennessAuthenticateResponseBodyResult getResult() {
return this.result;
}
public EcologyOpennessAuthenticateResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class EcologyOpennessAuthenticateResponseBodyResult extends TeaModel {
/**
* <strong>example:</strong>
* <p>12****7</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <strong>example:</strong>
* <hr>
*/
@NameInMap("SceneCode")
public String sceneCode;
/**
* <strong>example:</strong>
* <hr>
*/
@NameInMap("ThirdUserIdentifier")
public String thirdUserIdentifier;
/**
* <strong>example:</strong>
* <hr>
*/
@NameInMap("ThirdUserType")
public String thirdUserType;
/**
* <strong>example:</strong>
* <p>o****RnNAW/smBNX9By7Zlc3J7iQUXPiUj/6OizU+ifLSzn1vpQL9ZgSp22u7hsxj0UZ2i6urbv9HQ==</p>
*/
@NameInMap("UserOpenId")
public String userOpenId;
public static EcologyOpennessAuthenticateResponseBodyResult build(java.util.Map<String, ?> map) throws Exception {
EcologyOpennessAuthenticateResponseBodyResult self = new EcologyOpennessAuthenticateResponseBodyResult();
return TeaModel.build(map, self);
}
public EcologyOpennessAuthenticateResponseBodyResult setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public EcologyOpennessAuthenticateResponseBodyResult setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public EcologyOpennessAuthenticateResponseBodyResult setSceneCode(String sceneCode) {
this.sceneCode = sceneCode;
return this;
}
public String getSceneCode() {
return this.sceneCode;
}
public EcologyOpennessAuthenticateResponseBodyResult setThirdUserIdentifier(String thirdUserIdentifier) {
this.thirdUserIdentifier = thirdUserIdentifier;
return this;
}
public String getThirdUserIdentifier() {
return this.thirdUserIdentifier;
}
public EcologyOpennessAuthenticateResponseBodyResult setThirdUserType(String thirdUserType) {
this.thirdUserType = thirdUserType;
return this;
}
public String getThirdUserType() {
return this.thirdUserType;
}
public EcologyOpennessAuthenticateResponseBodyResult setUserOpenId(String userOpenId) {
this.userOpenId = userOpenId;
return this;
}
public String getUserOpenId() {
return this.userOpenId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/EcologyOpennessSendVerificationCodeHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class EcologyOpennessSendVerificationCodeHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static EcologyOpennessSendVerificationCodeHeaders build(java.util.Map<String, ?> map) throws Exception {
EcologyOpennessSendVerificationCodeHeaders self = new EcologyOpennessSendVerificationCodeHeaders();
return TeaModel.build(map, self);
}
public EcologyOpennessSendVerificationCodeHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public EcologyOpennessSendVerificationCodeHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public EcologyOpennessSendVerificationCodeHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/EcologyOpennessSendVerificationCodeRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class EcologyOpennessSendVerificationCodeRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>18612345678</p>
*/
@NameInMap("PhoneNumber")
public String phoneNumber;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>+86</p>
*/
@NameInMap("Region")
public String region;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>dbe2eb4458302b9246c6da17fbc95f4b</p>
*/
@NameInMap("SessionId")
public String sessionId;
public static EcologyOpennessSendVerificationCodeRequest build(java.util.Map<String, ?> map) throws Exception {
EcologyOpennessSendVerificationCodeRequest self = new EcologyOpennessSendVerificationCodeRequest();
return TeaModel.build(map, self);
}
public EcologyOpennessSendVerificationCodeRequest setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public EcologyOpennessSendVerificationCodeRequest setRegion(String region) {
this.region = region;
return this;
}
public String getRegion() {
return this.region;
}
public EcologyOpennessSendVerificationCodeRequest setSessionId(String sessionId) {
this.sessionId = sessionId;
return this;
}
public String getSessionId() {
return this.sessionId;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/EcologyOpennessSendVerificationCodeResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class EcologyOpennessSendVerificationCodeResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public EcologyOpennessSendVerificationCodeResponseBody body;
public static EcologyOpennessSendVerificationCodeResponse build(java.util.Map<String, ?> map) throws Exception {
EcologyOpennessSendVerificationCodeResponse self = new EcologyOpennessSendVerificationCodeResponse();
return TeaModel.build(map, self);
}
public EcologyOpennessSendVerificationCodeResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public EcologyOpennessSendVerificationCodeResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public EcologyOpennessSendVerificationCodeResponse setBody(EcologyOpennessSendVerificationCodeResponseBody body) {
this.body = body;
return this;
}
public EcologyOpennessSendVerificationCodeResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/EcologyOpennessSendVerificationCodeResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class EcologyOpennessSendVerificationCodeResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>OK</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>73C67BD9-175A-1324-8202-9FAABBB3E6FA</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public EcologyOpennessSendVerificationCodeResponseBodyResult result;
@NameInMap("Success")
public Boolean success;
public static EcologyOpennessSendVerificationCodeResponseBody build(java.util.Map<String, ?> map) throws Exception {
EcologyOpennessSendVerificationCodeResponseBody self = new EcologyOpennessSendVerificationCodeResponseBody();
return TeaModel.build(map, self);
}
public EcologyOpennessSendVerificationCodeResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public EcologyOpennessSendVerificationCodeResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public EcologyOpennessSendVerificationCodeResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public EcologyOpennessSendVerificationCodeResponseBody setResult(EcologyOpennessSendVerificationCodeResponseBodyResult result) {
this.result = result;
return this;
}
public EcologyOpennessSendVerificationCodeResponseBodyResult getResult() {
return this.result;
}
public EcologyOpennessSendVerificationCodeResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class EcologyOpennessSendVerificationCodeResponseBodyResult extends TeaModel {
/**
* <strong>example:</strong>
* <p>900</p>
*/
@NameInMap("ExpireIn")
public Integer expireIn;
/**
* <strong>example:</strong>
* <p>60</p>
*/
@NameInMap("RepeatInterval")
public Integer repeatInterval;
public static EcologyOpennessSendVerificationCodeResponseBodyResult build(java.util.Map<String, ?> map) throws Exception {
EcologyOpennessSendVerificationCodeResponseBodyResult self = new EcologyOpennessSendVerificationCodeResponseBodyResult();
return TeaModel.build(map, self);
}
public EcologyOpennessSendVerificationCodeResponseBodyResult setExpireIn(Integer expireIn) {
this.expireIn = expireIn;
return this;
}
public Integer getExpireIn() {
return this.expireIn;
}
public EcologyOpennessSendVerificationCodeResponseBodyResult setRepeatInterval(Integer repeatInterval) {
this.repeatInterval = repeatInterval;
return this;
}
public Integer getRepeatInterval() {
return this.repeatInterval;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/FindUserlistToAuthLoginWithPhoneNumberHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class FindUserlistToAuthLoginWithPhoneNumberHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static FindUserlistToAuthLoginWithPhoneNumberHeaders build(java.util.Map<String, ?> map) throws Exception {
FindUserlistToAuthLoginWithPhoneNumberHeaders self = new FindUserlistToAuthLoginWithPhoneNumberHeaders();
return TeaModel.build(map, self);
}
public FindUserlistToAuthLoginWithPhoneNumberHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public FindUserlistToAuthLoginWithPhoneNumberHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public FindUserlistToAuthLoginWithPhoneNumberHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/FindUserlistToAuthLoginWithPhoneNumberRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class FindUserlistToAuthLoginWithPhoneNumberRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123456</p>
*/
@NameInMap("Code")
public String code;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>18612345678</p>
*/
@NameInMap("PhoneNumber")
public String phoneNumber;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>+86</p>
*/
@NameInMap("Region")
public String region;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>dbe2eb4458302b9246c6da17fbc95f4b</p>
*/
@NameInMap("SessionId")
public String sessionId;
public static FindUserlistToAuthLoginWithPhoneNumberRequest build(java.util.Map<String, ?> map) throws Exception {
FindUserlistToAuthLoginWithPhoneNumberRequest self = new FindUserlistToAuthLoginWithPhoneNumberRequest();
return TeaModel.build(map, self);
}
public FindUserlistToAuthLoginWithPhoneNumberRequest setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public FindUserlistToAuthLoginWithPhoneNumberRequest setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public FindUserlistToAuthLoginWithPhoneNumberRequest setRegion(String region) {
this.region = region;
return this;
}
public String getRegion() {
return this.region;
}
public FindUserlistToAuthLoginWithPhoneNumberRequest setSessionId(String sessionId) {
this.sessionId = sessionId;
return this;
}
public String getSessionId() {
return this.sessionId;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/FindUserlistToAuthLoginWithPhoneNumberResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class FindUserlistToAuthLoginWithPhoneNumberResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public FindUserlistToAuthLoginWithPhoneNumberResponseBody body;
public static FindUserlistToAuthLoginWithPhoneNumberResponse build(java.util.Map<String, ?> map) throws Exception {
FindUserlistToAuthLoginWithPhoneNumberResponse self = new FindUserlistToAuthLoginWithPhoneNumberResponse();
return TeaModel.build(map, self);
}
public FindUserlistToAuthLoginWithPhoneNumberResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public FindUserlistToAuthLoginWithPhoneNumberResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public FindUserlistToAuthLoginWithPhoneNumberResponse setBody(FindUserlistToAuthLoginWithPhoneNumberResponseBody body) {
this.body = body;
return this;
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/FindUserlistToAuthLoginWithPhoneNumberResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class FindUserlistToAuthLoginWithPhoneNumberResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
@NameInMap("DataObj")
public FindUserlistToAuthLoginWithPhoneNumberResponseBodyDataObj dataObj;
/**
* <strong>example:</strong>
* <p>OK</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>73C67BD9-175A-1324-8202-9FAABBB3E6FA</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public FindUserlistToAuthLoginWithPhoneNumberResponseBodyResult result;
@NameInMap("Success")
public Boolean success;
public static FindUserlistToAuthLoginWithPhoneNumberResponseBody build(java.util.Map<String, ?> map) throws Exception {
FindUserlistToAuthLoginWithPhoneNumberResponseBody self = new FindUserlistToAuthLoginWithPhoneNumberResponseBody();
return TeaModel.build(map, self);
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBody setDataObj(FindUserlistToAuthLoginWithPhoneNumberResponseBodyDataObj dataObj) {
this.dataObj = dataObj;
return this;
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBodyDataObj getDataObj() {
return this.dataObj;
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBody setResult(FindUserlistToAuthLoginWithPhoneNumberResponseBodyResult result) {
this.result = result;
return this;
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBodyResult getResult() {
return this.result;
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class FindUserlistToAuthLoginWithPhoneNumberResponseBodyDataObj extends TeaModel {
/**
* <strong>example:</strong>
* <p>dbe2eb4458302b9246c6da17fbc95f4b</p>
*/
@NameInMap("SessionId")
public String sessionId;
public static FindUserlistToAuthLoginWithPhoneNumberResponseBodyDataObj build(java.util.Map<String, ?> map) throws Exception {
FindUserlistToAuthLoginWithPhoneNumberResponseBodyDataObj self = new FindUserlistToAuthLoginWithPhoneNumberResponseBodyDataObj();
return TeaModel.build(map, self);
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBodyDataObj setSessionId(String sessionId) {
this.sessionId = sessionId;
return this;
}
public String getSessionId() {
return this.sessionId;
}
}
public static class FindUserlistToAuthLoginWithPhoneNumberResponseBodyResultUserListToAuthLogin extends TeaModel {
/**
* <strong>example:</strong>
* <p><a href="https://xxx">https://xxx</a></p>
*/
@NameInMap("Avatar")
public String avatar;
/**
* <strong>example:</strong>
* <p>KsVgypxAipf+xNECMZV2ONMcheqiIoEGFvgx+T8s1oV6/euTK9+ImYvLVPsSqFDh</p>
*/
@NameInMap("EncryptedUserIdentifier")
public String encryptedUserIdentifier;
/**
* <strong>example:</strong>
* <p>PHONE_NUMBER_BINDING_WITH_ALIGENIE:phoneNumber</p>
*/
@NameInMap("FindingType")
public String findingType;
/**
* <strong>example:</strong>
* <p>XXX</p>
*/
@NameInMap("Nickname")
public String nickname;
/**
* <strong>example:</strong>
* <p>ALIGENIE</p>
*/
@NameInMap("UserType")
public String userType;
public static FindUserlistToAuthLoginWithPhoneNumberResponseBodyResultUserListToAuthLogin build(java.util.Map<String, ?> map) throws Exception {
FindUserlistToAuthLoginWithPhoneNumberResponseBodyResultUserListToAuthLogin self = new FindUserlistToAuthLoginWithPhoneNumberResponseBodyResultUserListToAuthLogin();
return TeaModel.build(map, self);
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBodyResultUserListToAuthLogin setAvatar(String avatar) {
this.avatar = avatar;
return this;
}
public String getAvatar() {
return this.avatar;
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBodyResultUserListToAuthLogin setEncryptedUserIdentifier(String encryptedUserIdentifier) {
this.encryptedUserIdentifier = encryptedUserIdentifier;
return this;
}
public String getEncryptedUserIdentifier() {
return this.encryptedUserIdentifier;
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBodyResultUserListToAuthLogin setFindingType(String findingType) {
this.findingType = findingType;
return this;
}
public String getFindingType() {
return this.findingType;
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBodyResultUserListToAuthLogin setNickname(String nickname) {
this.nickname = nickname;
return this;
}
public String getNickname() {
return this.nickname;
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBodyResultUserListToAuthLogin setUserType(String userType) {
this.userType = userType;
return this;
}
public String getUserType() {
return this.userType;
}
}
public static class FindUserlistToAuthLoginWithPhoneNumberResponseBodyResult extends TeaModel {
@NameInMap("UserListToAuthLogin")
public java.util.List<FindUserlistToAuthLoginWithPhoneNumberResponseBodyResultUserListToAuthLogin> userListToAuthLogin;
public static FindUserlistToAuthLoginWithPhoneNumberResponseBodyResult build(java.util.Map<String, ?> map) throws Exception {
FindUserlistToAuthLoginWithPhoneNumberResponseBodyResult self = new FindUserlistToAuthLoginWithPhoneNumberResponseBodyResult();
return TeaModel.build(map, self);
}
public FindUserlistToAuthLoginWithPhoneNumberResponseBodyResult setUserListToAuthLogin(java.util.List<FindUserlistToAuthLoginWithPhoneNumberResponseBodyResultUserListToAuthLogin> userListToAuthLogin) {
this.userListToAuthLogin = userListToAuthLogin;
return this;
}
public java.util.List<FindUserlistToAuthLoginWithPhoneNumberResponseBodyResultUserListToAuthLogin> getUserListToAuthLogin() {
return this.userListToAuthLogin;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/GetAlarmHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class GetAlarmHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static GetAlarmHeaders build(java.util.Map<String, ?> map) throws Exception {
GetAlarmHeaders self = new GetAlarmHeaders();
return TeaModel.build(map, self);
}
public GetAlarmHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public GetAlarmHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public GetAlarmHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/GetAlarmRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class GetAlarmRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public GetAlarmRequestDeviceInfo deviceInfo;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Payload")
public GetAlarmRequestPayload payload;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public GetAlarmRequestUserInfo userInfo;
public static GetAlarmRequest build(java.util.Map<String, ?> map) throws Exception {
GetAlarmRequest self = new GetAlarmRequest();
return TeaModel.build(map, self);
}
public GetAlarmRequest setDeviceInfo(GetAlarmRequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public GetAlarmRequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public GetAlarmRequest setPayload(GetAlarmRequestPayload payload) {
this.payload = payload;
return this;
}
public GetAlarmRequestPayload getPayload() {
return this.payload;
}
public GetAlarmRequest setUserInfo(GetAlarmRequestUserInfo userInfo) {
this.userInfo = userInfo;
return this;
}
public GetAlarmRequestUserInfo getUserInfo() {
return this.userInfo;
}
public static class GetAlarmRequestDeviceInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12**45</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PACKAGE_NAME</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>DAFE****ce3ej=</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1**2</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static GetAlarmRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
GetAlarmRequestDeviceInfo self = new GetAlarmRequestDeviceInfo();
return TeaModel.build(map, self);
}
public GetAlarmRequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public GetAlarmRequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public GetAlarmRequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public GetAlarmRequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public GetAlarmRequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
public static class GetAlarmRequestPayload extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1234567</p>
*/
@NameInMap("AlarmId")
public Long alarmId;
public static GetAlarmRequestPayload build(java.util.Map<String, ?> map) throws Exception {
GetAlarmRequestPayload self = new GetAlarmRequestPayload();
return TeaModel.build(map, self);
}
public GetAlarmRequestPayload setAlarmId(Long alarmId) {
this.alarmId = alarmId;
return this;
}
public Long getAlarmId() {
return this.alarmId;
}
}
public static class GetAlarmRequestUserInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12**45</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PACKAGE_NAME</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>HOFF****my7Iw=</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1**2</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static GetAlarmRequestUserInfo build(java.util.Map<String, ?> map) throws Exception {
GetAlarmRequestUserInfo self = new GetAlarmRequestUserInfo();
return TeaModel.build(map, self);
}
public GetAlarmRequestUserInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public GetAlarmRequestUserInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public GetAlarmRequestUserInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public GetAlarmRequestUserInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public GetAlarmRequestUserInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/GetAlarmResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class GetAlarmResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetAlarmResponseBody body;
public static GetAlarmResponse build(java.util.Map<String, ?> map) throws Exception {
GetAlarmResponse self = new GetAlarmResponse();
return TeaModel.build(map, self);
}
public GetAlarmResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetAlarmResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetAlarmResponse setBody(GetAlarmResponseBody body) {
this.body = body;
return this;
}
public GetAlarmResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/GetAlarmResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class GetAlarmResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>43<em><strong>28C-A810-5</strong></em>-8747-EC226A086881</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("Result")
public GetAlarmResponseBodyResult result;
public static GetAlarmResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetAlarmResponseBody self = new GetAlarmResponseBody();
return TeaModel.build(map, self);
}
public GetAlarmResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public GetAlarmResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetAlarmResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetAlarmResponseBody setResult(GetAlarmResponseBodyResult result) {
this.result = result;
return this;
}
public GetAlarmResponseBodyResult getResult() {
return this.result;
}
public static class GetAlarmResponseBodyResultMusicInfo extends TeaModel {
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("MusicId")
public Long musicId;
@NameInMap("MusicName")
public String musicName;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("MusicType")
public Long musicType;
@NameInMap("MusicTypeName")
public String musicTypeName;
/**
* <strong>example:</strong>
* <p><a href="http://xx">http://xx</a></p>
*/
@NameInMap("MusicUrl")
public String musicUrl;
public static GetAlarmResponseBodyResultMusicInfo build(java.util.Map<String, ?> map) throws Exception {
GetAlarmResponseBodyResultMusicInfo self = new GetAlarmResponseBodyResultMusicInfo();
return TeaModel.build(map, self);
}
public GetAlarmResponseBodyResultMusicInfo setMusicId(Long musicId) {
this.musicId = musicId;
return this;
}
public Long getMusicId() {
return this.musicId;
}
public GetAlarmResponseBodyResultMusicInfo setMusicName(String musicName) {
this.musicName = musicName;
return this;
}
public String getMusicName() {
return this.musicName;
}
public GetAlarmResponseBodyResultMusicInfo setMusicType(Long musicType) {
this.musicType = musicType;
return this;
}
public Long getMusicType() {
return this.musicType;
}
public GetAlarmResponseBodyResultMusicInfo setMusicTypeName(String musicTypeName) {
this.musicTypeName = musicTypeName;
return this;
}
public String getMusicTypeName() {
return this.musicTypeName;
}
public GetAlarmResponseBodyResultMusicInfo setMusicUrl(String musicUrl) {
this.musicUrl = musicUrl;
return this;
}
public String getMusicUrl() {
return this.musicUrl;
}
}
public static class GetAlarmResponseBodyResultScheduleInfoOnce extends TeaModel {
/**
* <strong>example:</strong>
* <p>29</p>
*/
@NameInMap("Day")
public Integer day;
/**
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("Hour")
public Integer hour;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Minute")
public Integer minute;
/**
* <strong>example:</strong>
* <p>7</p>
*/
@NameInMap("Month")
public Integer month;
/**
* <strong>example:</strong>
* <p>2022</p>
*/
@NameInMap("Year")
public Integer year;
public static GetAlarmResponseBodyResultScheduleInfoOnce build(java.util.Map<String, ?> map) throws Exception {
GetAlarmResponseBodyResultScheduleInfoOnce self = new GetAlarmResponseBodyResultScheduleInfoOnce();
return TeaModel.build(map, self);
}
public GetAlarmResponseBodyResultScheduleInfoOnce setDay(Integer day) {
this.day = day;
return this;
}
public Integer getDay() {
return this.day;
}
public GetAlarmResponseBodyResultScheduleInfoOnce setHour(Integer hour) {
this.hour = hour;
return this;
}
public Integer getHour() {
return this.hour;
}
public GetAlarmResponseBodyResultScheduleInfoOnce setMinute(Integer minute) {
this.minute = minute;
return this;
}
public Integer getMinute() {
return this.minute;
}
public GetAlarmResponseBodyResultScheduleInfoOnce setMonth(Integer month) {
this.month = month;
return this;
}
public Integer getMonth() {
return this.month;
}
public GetAlarmResponseBodyResultScheduleInfoOnce setYear(Integer year) {
this.year = year;
return this;
}
public Integer getYear() {
return this.year;
}
}
public static class GetAlarmResponseBodyResultScheduleInfoStatutoryWorkingDay extends TeaModel {
/**
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("Hour")
public Integer hour;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Minute")
public Integer minute;
public static GetAlarmResponseBodyResultScheduleInfoStatutoryWorkingDay build(java.util.Map<String, ?> map) throws Exception {
GetAlarmResponseBodyResultScheduleInfoStatutoryWorkingDay self = new GetAlarmResponseBodyResultScheduleInfoStatutoryWorkingDay();
return TeaModel.build(map, self);
}
public GetAlarmResponseBodyResultScheduleInfoStatutoryWorkingDay setHour(Integer hour) {
this.hour = hour;
return this;
}
public Integer getHour() {
return this.hour;
}
public GetAlarmResponseBodyResultScheduleInfoStatutoryWorkingDay setMinute(Integer minute) {
this.minute = minute;
return this;
}
public Integer getMinute() {
return this.minute;
}
}
public static class GetAlarmResponseBodyResultScheduleInfoWeekly extends TeaModel {
@NameInMap("DaysOfWeek")
public java.util.List<Integer> daysOfWeek;
/**
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("Hour")
public Integer hour;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Minute")
public Integer minute;
public static GetAlarmResponseBodyResultScheduleInfoWeekly build(java.util.Map<String, ?> map) throws Exception {
GetAlarmResponseBodyResultScheduleInfoWeekly self = new GetAlarmResponseBodyResultScheduleInfoWeekly();
return TeaModel.build(map, self);
}
public GetAlarmResponseBodyResultScheduleInfoWeekly setDaysOfWeek(java.util.List<Integer> daysOfWeek) {
this.daysOfWeek = daysOfWeek;
return this;
}
public java.util.List<Integer> getDaysOfWeek() {
return this.daysOfWeek;
}
public GetAlarmResponseBodyResultScheduleInfoWeekly setHour(Integer hour) {
this.hour = hour;
return this;
}
public Integer getHour() {
return this.hour;
}
public GetAlarmResponseBodyResultScheduleInfoWeekly setMinute(Integer minute) {
this.minute = minute;
return this;
}
public Integer getMinute() {
return this.minute;
}
}
public static class GetAlarmResponseBodyResultScheduleInfo extends TeaModel {
@NameInMap("Once")
public GetAlarmResponseBodyResultScheduleInfoOnce once;
@NameInMap("StatutoryWorkingDay")
public GetAlarmResponseBodyResultScheduleInfoStatutoryWorkingDay statutoryWorkingDay;
/**
* <strong>example:</strong>
* <p>ONCE</p>
*/
@NameInMap("Type")
public String type;
@NameInMap("Weekly")
public GetAlarmResponseBodyResultScheduleInfoWeekly weekly;
public static GetAlarmResponseBodyResultScheduleInfo build(java.util.Map<String, ?> map) throws Exception {
GetAlarmResponseBodyResultScheduleInfo self = new GetAlarmResponseBodyResultScheduleInfo();
return TeaModel.build(map, self);
}
public GetAlarmResponseBodyResultScheduleInfo setOnce(GetAlarmResponseBodyResultScheduleInfoOnce once) {
this.once = once;
return this;
}
public GetAlarmResponseBodyResultScheduleInfoOnce getOnce() {
return this.once;
}
public GetAlarmResponseBodyResultScheduleInfo setStatutoryWorkingDay(GetAlarmResponseBodyResultScheduleInfoStatutoryWorkingDay statutoryWorkingDay) {
this.statutoryWorkingDay = statutoryWorkingDay;
return this;
}
public GetAlarmResponseBodyResultScheduleInfoStatutoryWorkingDay getStatutoryWorkingDay() {
return this.statutoryWorkingDay;
}
public GetAlarmResponseBodyResultScheduleInfo setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public GetAlarmResponseBodyResultScheduleInfo setWeekly(GetAlarmResponseBodyResultScheduleInfoWeekly weekly) {
this.weekly = weekly;
return this;
}
public GetAlarmResponseBodyResultScheduleInfoWeekly getWeekly() {
return this.weekly;
}
}
public static class GetAlarmResponseBodyResult extends TeaModel {
/**
* <strong>example:</strong>
* <p>1234567</p>
*/
@NameInMap("AlarmId")
public Long alarmId;
@NameInMap("MusicInfo")
public GetAlarmResponseBodyResultMusicInfo musicInfo;
@NameInMap("ScheduleInfo")
public GetAlarmResponseBodyResultScheduleInfo scheduleInfo;
@NameInMap("ScheduleTypeDesc")
public String scheduleTypeDesc;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Status")
public Integer status;
/**
* <strong>example:</strong>
* <p>2022-07-29</p>
*/
@NameInMap("TriggerDateDesc")
public String triggerDateDesc;
/**
* <strong>example:</strong>
* <p>10:00</p>
*/
@NameInMap("TriggerTimeDesc")
public String triggerTimeDesc;
/**
* <strong>example:</strong>
* <p>40</p>
*/
@NameInMap("Volume")
public Integer volume;
public static GetAlarmResponseBodyResult build(java.util.Map<String, ?> map) throws Exception {
GetAlarmResponseBodyResult self = new GetAlarmResponseBodyResult();
return TeaModel.build(map, self);
}
public GetAlarmResponseBodyResult setAlarmId(Long alarmId) {
this.alarmId = alarmId;
return this;
}
public Long getAlarmId() {
return this.alarmId;
}
public GetAlarmResponseBodyResult setMusicInfo(GetAlarmResponseBodyResultMusicInfo musicInfo) {
this.musicInfo = musicInfo;
return this;
}
public GetAlarmResponseBodyResultMusicInfo getMusicInfo() {
return this.musicInfo;
}
public GetAlarmResponseBodyResult setScheduleInfo(GetAlarmResponseBodyResultScheduleInfo scheduleInfo) {
this.scheduleInfo = scheduleInfo;
return this;
}
public GetAlarmResponseBodyResultScheduleInfo getScheduleInfo() {
return this.scheduleInfo;
}
public GetAlarmResponseBodyResult setScheduleTypeDesc(String scheduleTypeDesc) {
this.scheduleTypeDesc = scheduleTypeDesc;
return this;
}
public String getScheduleTypeDesc() {
return this.scheduleTypeDesc;
}
public GetAlarmResponseBodyResult setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public GetAlarmResponseBodyResult setTriggerDateDesc(String triggerDateDesc) {
this.triggerDateDesc = triggerDateDesc;
return this;
}
public String getTriggerDateDesc() {
return this.triggerDateDesc;
}
public GetAlarmResponseBodyResult setTriggerTimeDesc(String triggerTimeDesc) {
this.triggerTimeDesc = triggerTimeDesc;
return this;
}
public String getTriggerTimeDesc() {
return this.triggerTimeDesc;
}
public GetAlarmResponseBodyResult setVolume(Integer volume) {
this.volume = volume;
return this;
}
public Integer getVolume() {
return this.volume;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/GetAlarmShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class GetAlarmShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Payload")
public String payloadShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public String userInfoShrink;
public static GetAlarmShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
GetAlarmShrinkRequest self = new GetAlarmShrinkRequest();
return TeaModel.build(map, self);
}
public GetAlarmShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
public GetAlarmShrinkRequest setPayloadShrink(String payloadShrink) {
this.payloadShrink = payloadShrink;
return this;
}
public String getPayloadShrink() {
return this.payloadShrink;
}
public GetAlarmShrinkRequest setUserInfoShrink(String userInfoShrink) {
this.userInfoShrink = userInfoShrink;
return this;
}
public String getUserInfoShrink() {
return this.userInfoShrink;
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1_0/2.5.2/com/aliyun/aligeniessp_1_0/models/GetAlbumDetailByIdHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class GetAlbumDetailByIdHeaders extends TeaModel {
@NameInMap("commonHeaders")
public java.util.Map<String, String> commonHeaders;
@NameInMap("x-acs-aligenie-access-token")
public String xAcsAligenieAccessToken;
@NameInMap("Authorization")
public String authorization;
public static GetAlbumDetailByIdHeaders build(java.util.Map<String, ?> map) throws Exception {
GetAlbumDetailByIdHeaders self = new GetAlbumDetailByIdHeaders();
return TeaModel.build(map, self);
}
public GetAlbumDetailByIdHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public GetAlbumDetailByIdHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public GetAlbumDetailByIdHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.