index
int64
repo_id
string
file_path
string
content
string
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/ProgressControlResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ProgressControlResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ProgressControlResponseBody body; public static ProgressControlResponse build(java.util.Map<String, ?> map) throws Exception { ProgressControlResponse self = new ProgressControlResponse(); return TeaModel.build(map, self); } public ProgressControlResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ProgressControlResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ProgressControlResponse setBody(ProgressControlResponseBody body) { this.body = body; return this; } public ProgressControlResponseBody 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/ProgressControlResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ProgressControlResponseBody 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; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Result") public Boolean result; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public String success; public static ProgressControlResponseBody build(java.util.Map<String, ?> map) throws Exception { ProgressControlResponseBody self = new ProgressControlResponseBody(); return TeaModel.build(map, self); } public ProgressControlResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public ProgressControlResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public ProgressControlResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public ProgressControlResponseBody setResult(Boolean result) { this.result = result; return this; } public Boolean getResult() { return this.result; } public ProgressControlResponseBody 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/ProgressControlShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ProgressControlShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("DeviceInfo") public String deviceInfoShrink; /** * <p>This parameter is required.</p> */ @NameInMap("OpenProgressControlRequest") public String openProgressControlRequestShrink; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public String userInfoShrink; public static ProgressControlShrinkRequest build(java.util.Map<String, ?> map) throws Exception { ProgressControlShrinkRequest self = new ProgressControlShrinkRequest(); return TeaModel.build(map, self); } public ProgressControlShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) { this.deviceInfoShrink = deviceInfoShrink; return this; } public String getDeviceInfoShrink() { return this.deviceInfoShrink; } public ProgressControlShrinkRequest setOpenProgressControlRequestShrink(String openProgressControlRequestShrink) { this.openProgressControlRequestShrink = openProgressControlRequestShrink; return this; } public String getOpenProgressControlRequestShrink() { return this.openProgressControlRequestShrink; } public ProgressControlShrinkRequest 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/QueryMusicTypeHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class QueryMusicTypeHeaders 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 QueryMusicTypeHeaders build(java.util.Map<String, ?> map) throws Exception { QueryMusicTypeHeaders self = new QueryMusicTypeHeaders(); return TeaModel.build(map, self); } public QueryMusicTypeHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public QueryMusicTypeHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public QueryMusicTypeHeaders 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/QueryMusicTypeRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class QueryMusicTypeRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("DeviceInfo") public QueryMusicTypeRequestDeviceInfo deviceInfo; @NameInMap("Payload") public QueryMusicTypeRequestPayload payload; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public QueryMusicTypeRequestUserInfo userInfo; public static QueryMusicTypeRequest build(java.util.Map<String, ?> map) throws Exception { QueryMusicTypeRequest self = new QueryMusicTypeRequest(); return TeaModel.build(map, self); } public QueryMusicTypeRequest setDeviceInfo(QueryMusicTypeRequestDeviceInfo deviceInfo) { this.deviceInfo = deviceInfo; return this; } public QueryMusicTypeRequestDeviceInfo getDeviceInfo() { return this.deviceInfo; } public QueryMusicTypeRequest setPayload(QueryMusicTypeRequestPayload payload) { this.payload = payload; return this; } public QueryMusicTypeRequestPayload getPayload() { return this.payload; } public QueryMusicTypeRequest setUserInfo(QueryMusicTypeRequestUserInfo userInfo) { this.userInfo = userInfo; return this; } public QueryMusicTypeRequestUserInfo getUserInfo() { return this.userInfo; } public static class QueryMusicTypeRequestDeviceInfo 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 QueryMusicTypeRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception { QueryMusicTypeRequestDeviceInfo self = new QueryMusicTypeRequestDeviceInfo(); return TeaModel.build(map, self); } public QueryMusicTypeRequestDeviceInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public QueryMusicTypeRequestDeviceInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public QueryMusicTypeRequestDeviceInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public QueryMusicTypeRequestDeviceInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public QueryMusicTypeRequestDeviceInfo setOrganizationId(String organizationId) { this.organizationId = organizationId; return this; } public String getOrganizationId() { return this.organizationId; } } public static class QueryMusicTypeRequestPayload extends TeaModel { public static QueryMusicTypeRequestPayload build(java.util.Map<String, ?> map) throws Exception { QueryMusicTypeRequestPayload self = new QueryMusicTypeRequestPayload(); return TeaModel.build(map, self); } } public static class QueryMusicTypeRequestUserInfo 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 QueryMusicTypeRequestUserInfo build(java.util.Map<String, ?> map) throws Exception { QueryMusicTypeRequestUserInfo self = new QueryMusicTypeRequestUserInfo(); return TeaModel.build(map, self); } public QueryMusicTypeRequestUserInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public QueryMusicTypeRequestUserInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public QueryMusicTypeRequestUserInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public QueryMusicTypeRequestUserInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public QueryMusicTypeRequestUserInfo 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/QueryMusicTypeResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class QueryMusicTypeResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public QueryMusicTypeResponseBody body; public static QueryMusicTypeResponse build(java.util.Map<String, ?> map) throws Exception { QueryMusicTypeResponse self = new QueryMusicTypeResponse(); return TeaModel.build(map, self); } public QueryMusicTypeResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public QueryMusicTypeResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public QueryMusicTypeResponse setBody(QueryMusicTypeResponseBody body) { this.body = body; return this; } public QueryMusicTypeResponseBody 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/QueryMusicTypeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class QueryMusicTypeResponseBody 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 java.util.List<QueryMusicTypeResponseBodyResult> result; public static QueryMusicTypeResponseBody build(java.util.Map<String, ?> map) throws Exception { QueryMusicTypeResponseBody self = new QueryMusicTypeResponseBody(); return TeaModel.build(map, self); } public QueryMusicTypeResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public QueryMusicTypeResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public QueryMusicTypeResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public QueryMusicTypeResponseBody setResult(java.util.List<QueryMusicTypeResponseBodyResult> result) { this.result = result; return this; } public java.util.List<QueryMusicTypeResponseBodyResult> getResult() { return this.result; } public static class QueryMusicTypeResponseBodyResult extends TeaModel { /** * <strong>example:</strong> * <p>1</p> */ @NameInMap("MusicType") public Long musicType; /** * <strong>example:</strong> * <p>xx</p> */ @NameInMap("MusicTypeName") public String musicTypeName; public static QueryMusicTypeResponseBodyResult build(java.util.Map<String, ?> map) throws Exception { QueryMusicTypeResponseBodyResult self = new QueryMusicTypeResponseBodyResult(); return TeaModel.build(map, self); } public QueryMusicTypeResponseBodyResult setMusicType(Long musicType) { this.musicType = musicType; return this; } public Long getMusicType() { return this.musicType; } public QueryMusicTypeResponseBodyResult setMusicTypeName(String musicTypeName) { this.musicTypeName = musicTypeName; return this; } public String getMusicTypeName() { return this.musicTypeName; } } }
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/QueryMusicTypeShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class QueryMusicTypeShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("DeviceInfo") public String deviceInfoShrink; @NameInMap("Payload") public String payloadShrink; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public String userInfoShrink; public static QueryMusicTypeShrinkRequest build(java.util.Map<String, ?> map) throws Exception { QueryMusicTypeShrinkRequest self = new QueryMusicTypeShrinkRequest(); return TeaModel.build(map, self); } public QueryMusicTypeShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) { this.deviceInfoShrink = deviceInfoShrink; return this; } public String getDeviceInfoShrink() { return this.deviceInfoShrink; } public QueryMusicTypeShrinkRequest setPayloadShrink(String payloadShrink) { this.payloadShrink = payloadShrink; return this; } public String getPayloadShrink() { return this.payloadShrink; } public QueryMusicTypeShrinkRequest 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/QueryUserDeviceListByTmeUserIdHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class QueryUserDeviceListByTmeUserIdHeaders 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 QueryUserDeviceListByTmeUserIdHeaders build(java.util.Map<String, ?> map) throws Exception { QueryUserDeviceListByTmeUserIdHeaders self = new QueryUserDeviceListByTmeUserIdHeaders(); return TeaModel.build(map, self); } public QueryUserDeviceListByTmeUserIdHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public QueryUserDeviceListByTmeUserIdHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public QueryUserDeviceListByTmeUserIdHeaders 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/QueryUserDeviceListByTmeUserIdRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class QueryUserDeviceListByTmeUserIdRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("Sp") public String sp; /** * <p>This parameter is required.</p> */ @NameInMap("TmeUserId") public String tmeUserId; public static QueryUserDeviceListByTmeUserIdRequest build(java.util.Map<String, ?> map) throws Exception { QueryUserDeviceListByTmeUserIdRequest self = new QueryUserDeviceListByTmeUserIdRequest(); return TeaModel.build(map, self); } public QueryUserDeviceListByTmeUserIdRequest setSp(String sp) { this.sp = sp; return this; } public String getSp() { return this.sp; } public QueryUserDeviceListByTmeUserIdRequest setTmeUserId(String tmeUserId) { this.tmeUserId = tmeUserId; return this; } public String getTmeUserId() { return this.tmeUserId; } }
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/QueryUserDeviceListByTmeUserIdResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class QueryUserDeviceListByTmeUserIdResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public QueryUserDeviceListByTmeUserIdResponseBody body; public static QueryUserDeviceListByTmeUserIdResponse build(java.util.Map<String, ?> map) throws Exception { QueryUserDeviceListByTmeUserIdResponse self = new QueryUserDeviceListByTmeUserIdResponse(); return TeaModel.build(map, self); } public QueryUserDeviceListByTmeUserIdResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public QueryUserDeviceListByTmeUserIdResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public QueryUserDeviceListByTmeUserIdResponse setBody(QueryUserDeviceListByTmeUserIdResponseBody body) { this.body = body; return this; } public QueryUserDeviceListByTmeUserIdResponseBody 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/QueryUserDeviceListByTmeUserIdResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class QueryUserDeviceListByTmeUserIdResponseBody extends TeaModel { @NameInMap("Code") public Integer code; @NameInMap("Message") public String message; @NameInMap("RequestId") public String requestId; @NameInMap("Result") public QueryUserDeviceListByTmeUserIdResponseBodyResult result; @NameInMap("Success") public Boolean success; public static QueryUserDeviceListByTmeUserIdResponseBody build(java.util.Map<String, ?> map) throws Exception { QueryUserDeviceListByTmeUserIdResponseBody self = new QueryUserDeviceListByTmeUserIdResponseBody(); return TeaModel.build(map, self); } public QueryUserDeviceListByTmeUserIdResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public QueryUserDeviceListByTmeUserIdResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public QueryUserDeviceListByTmeUserIdResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public QueryUserDeviceListByTmeUserIdResponseBody setResult(QueryUserDeviceListByTmeUserIdResponseBodyResult result) { this.result = result; return this; } public QueryUserDeviceListByTmeUserIdResponseBodyResult getResult() { return this.result; } public QueryUserDeviceListByTmeUserIdResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public static class QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoListAuthorizedDeviceList extends TeaModel { @NameInMap("DeviceName") public String deviceName; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Online") public Boolean online; @NameInMap("OpenDeviceId") public String openDeviceId; @NameInMap("TmeDeviceId") public String tmeDeviceId; @NameInMap("TmeProductId") public String tmeProductId; public static QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoListAuthorizedDeviceList build(java.util.Map<String, ?> map) throws Exception { QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoListAuthorizedDeviceList self = new QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoListAuthorizedDeviceList(); return TeaModel.build(map, self); } public QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoListAuthorizedDeviceList setDeviceName(String deviceName) { this.deviceName = deviceName; return this; } public String getDeviceName() { return this.deviceName; } public QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoListAuthorizedDeviceList setOnline(Boolean online) { this.online = online; return this; } public Boolean getOnline() { return this.online; } public QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoListAuthorizedDeviceList setOpenDeviceId(String openDeviceId) { this.openDeviceId = openDeviceId; return this; } public String getOpenDeviceId() { return this.openDeviceId; } public QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoListAuthorizedDeviceList setTmeDeviceId(String tmeDeviceId) { this.tmeDeviceId = tmeDeviceId; return this; } public String getTmeDeviceId() { return this.tmeDeviceId; } public QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoListAuthorizedDeviceList setTmeProductId(String tmeProductId) { this.tmeProductId = tmeProductId; return this; } public String getTmeProductId() { return this.tmeProductId; } } public static class QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoList extends TeaModel { @NameInMap("AuthorizedDeviceList") public java.util.List<QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoListAuthorizedDeviceList> authorizedDeviceList; @NameInMap("OpenUserId") public String openUserId; @NameInMap("UserNickname") public String userNickname; public static QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoList build(java.util.Map<String, ?> map) throws Exception { QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoList self = new QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoList(); return TeaModel.build(map, self); } public QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoList setAuthorizedDeviceList(java.util.List<QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoListAuthorizedDeviceList> authorizedDeviceList) { this.authorizedDeviceList = authorizedDeviceList; return this; } public java.util.List<QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoListAuthorizedDeviceList> getAuthorizedDeviceList() { return this.authorizedDeviceList; } public QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoList setOpenUserId(String openUserId) { this.openUserId = openUserId; return this; } public String getOpenUserId() { return this.openUserId; } public QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoList setUserNickname(String userNickname) { this.userNickname = userNickname; return this; } public String getUserNickname() { return this.userNickname; } } public static class QueryUserDeviceListByTmeUserIdResponseBodyResult extends TeaModel { @NameInMap("AligenieUserInfoList") public java.util.List<QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoList> aligenieUserInfoList; @NameInMap("EncodeKey") public String encodeKey; @NameInMap("EncodeType") public String encodeType; @NameInMap("Sp") public String sp; public static QueryUserDeviceListByTmeUserIdResponseBodyResult build(java.util.Map<String, ?> map) throws Exception { QueryUserDeviceListByTmeUserIdResponseBodyResult self = new QueryUserDeviceListByTmeUserIdResponseBodyResult(); return TeaModel.build(map, self); } public QueryUserDeviceListByTmeUserIdResponseBodyResult setAligenieUserInfoList(java.util.List<QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoList> aligenieUserInfoList) { this.aligenieUserInfoList = aligenieUserInfoList; return this; } public java.util.List<QueryUserDeviceListByTmeUserIdResponseBodyResultAligenieUserInfoList> getAligenieUserInfoList() { return this.aligenieUserInfoList; } public QueryUserDeviceListByTmeUserIdResponseBodyResult setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public QueryUserDeviceListByTmeUserIdResponseBodyResult setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public QueryUserDeviceListByTmeUserIdResponseBodyResult setSp(String sp) { this.sp = sp; return this; } public String getSp() { return this.sp; } } }
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/ReadMessageHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ReadMessageHeaders 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 ReadMessageHeaders build(java.util.Map<String, ?> map) throws Exception { ReadMessageHeaders self = new ReadMessageHeaders(); return TeaModel.build(map, self); } public ReadMessageHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public ReadMessageHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public ReadMessageHeaders 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/ReadMessageRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ReadMessageRequest extends TeaModel { /** * <strong>example:</strong> * <p>12345</p> */ @NameInMap("MessageId") public Long messageId; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public ReadMessageRequestUserInfo userInfo; public static ReadMessageRequest build(java.util.Map<String, ?> map) throws Exception { ReadMessageRequest self = new ReadMessageRequest(); return TeaModel.build(map, self); } public ReadMessageRequest setMessageId(Long messageId) { this.messageId = messageId; return this; } public Long getMessageId() { return this.messageId; } public ReadMessageRequest setUserInfo(ReadMessageRequestUserInfo userInfo) { this.userInfo = userInfo; return this; } public ReadMessageRequestUserInfo getUserInfo() { return this.userInfo; } public static class ReadMessageRequestUserInfo 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>123L</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 ReadMessageRequestUserInfo build(java.util.Map<String, ?> map) throws Exception { ReadMessageRequestUserInfo self = new ReadMessageRequestUserInfo(); return TeaModel.build(map, self); } public ReadMessageRequestUserInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public ReadMessageRequestUserInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public ReadMessageRequestUserInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public ReadMessageRequestUserInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public ReadMessageRequestUserInfo 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/ReadMessageResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ReadMessageResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ReadMessageResponseBody body; public static ReadMessageResponse build(java.util.Map<String, ?> map) throws Exception { ReadMessageResponse self = new ReadMessageResponse(); return TeaModel.build(map, self); } public ReadMessageResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ReadMessageResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ReadMessageResponse setBody(ReadMessageResponseBody body) { this.body = body; return this; } public ReadMessageResponseBody 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/ReadMessageResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ReadMessageResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>SUCCESS</p> */ @NameInMap("Code") public String code; @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Result") public Boolean result; public static ReadMessageResponseBody build(java.util.Map<String, ?> map) throws Exception { ReadMessageResponseBody self = new ReadMessageResponseBody(); return TeaModel.build(map, self); } public ReadMessageResponseBody setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public ReadMessageResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public ReadMessageResponseBody 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/ReadMessageShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ReadMessageShrinkRequest extends TeaModel { /** * <strong>example:</strong> * <p>12345</p> */ @NameInMap("MessageId") public Long messageId; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public String userInfoShrink; public static ReadMessageShrinkRequest build(java.util.Map<String, ?> map) throws Exception { ReadMessageShrinkRequest self = new ReadMessageShrinkRequest(); return TeaModel.build(map, self); } public ReadMessageShrinkRequest setMessageId(Long messageId) { this.messageId = messageId; return this; } public Long getMessageId() { return this.messageId; } public ReadMessageShrinkRequest 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/ResultValue.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ResultValue extends TeaModel { /** * <strong>example:</strong> * <p>A963*0158</p> */ @NameInMap("DeviceOpenId") public String deviceOpenId; @NameInMap("DeviceUnionIds") public java.util.List<ResultValueDeviceUnionIds> deviceUnionIds; /** * <strong>example:</strong> * <p>我的设备</p> */ @NameInMap("Name") public String name; /** * <strong>example:</strong> * <p>2.0.3</p> */ @NameInMap("FirmwareVersion") public String firmwareVersion; /** * <strong>example:</strong> * <p>b4:xx:xx:xx:65:2b</p> */ @NameInMap("Mac") public String mac; /** * <strong>example:</strong> * <p>1200xx048</p> */ @NameInMap("Sn") public String sn; public static ResultValue build(java.util.Map<String, ?> map) throws Exception { ResultValue self = new ResultValue(); return TeaModel.build(map, self); } public ResultValue setDeviceOpenId(String deviceOpenId) { this.deviceOpenId = deviceOpenId; return this; } public String getDeviceOpenId() { return this.deviceOpenId; } public ResultValue setDeviceUnionIds(java.util.List<ResultValueDeviceUnionIds> deviceUnionIds) { this.deviceUnionIds = deviceUnionIds; return this; } public java.util.List<ResultValueDeviceUnionIds> getDeviceUnionIds() { return this.deviceUnionIds; } public ResultValue setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public ResultValue setFirmwareVersion(String firmwareVersion) { this.firmwareVersion = firmwareVersion; return this; } public String getFirmwareVersion() { return this.firmwareVersion; } public ResultValue setMac(String mac) { this.mac = mac; return this; } public String getMac() { return this.mac; } public ResultValue setSn(String sn) { this.sn = sn; return this; } public String getSn() { return this.sn; } public static class ResultValueDeviceUnionIds extends TeaModel { /** * <strong>example:</strong> * <p>1**2</p> */ @NameInMap("OrganizationId") public String organizationId; /** * <strong>example:</strong> * <p>1553*B0C3</p> */ @NameInMap("DeviceUnionId") public String deviceUnionId; public static ResultValueDeviceUnionIds build(java.util.Map<String, ?> map) throws Exception { ResultValueDeviceUnionIds self = new ResultValueDeviceUnionIds(); return TeaModel.build(map, self); } public ResultValueDeviceUnionIds setOrganizationId(String organizationId) { this.organizationId = organizationId; return this; } public String getOrganizationId() { return this.organizationId; } public ResultValueDeviceUnionIds setDeviceUnionId(String deviceUnionId) { this.deviceUnionId = deviceUnionId; return this; } public String getDeviceUnionId() { return this.deviceUnionId; } } }
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/ScanCodeBindHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ScanCodeBindHeaders 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 ScanCodeBindHeaders build(java.util.Map<String, ?> map) throws Exception { ScanCodeBindHeaders self = new ScanCodeBindHeaders(); return TeaModel.build(map, self); } public ScanCodeBindHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public ScanCodeBindHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public ScanCodeBindHeaders 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/ScanCodeBindRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ScanCodeBindRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("BindReq") public ScanCodeBindRequestBindReq bindReq; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public ScanCodeBindRequestUserInfo userInfo; public static ScanCodeBindRequest build(java.util.Map<String, ?> map) throws Exception { ScanCodeBindRequest self = new ScanCodeBindRequest(); return TeaModel.build(map, self); } public ScanCodeBindRequest setBindReq(ScanCodeBindRequestBindReq bindReq) { this.bindReq = bindReq; return this; } public ScanCodeBindRequestBindReq getBindReq() { return this.bindReq; } public ScanCodeBindRequest setUserInfo(ScanCodeBindRequestUserInfo userInfo) { this.userInfo = userInfo; return this; } public ScanCodeBindRequestUserInfo getUserInfo() { return this.userInfo; } public static class ScanCodeBindRequestBindReq extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>RnY8v0W0ZVn58ZrUAOr2RD</p> */ @NameInMap("ClientId") public String clientId; /** * <p>authCode</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ASdfre</p> */ @NameInMap("Code") public String code; /** * <strong>example:</strong> * <p>{&quot;key&quot;:&quot;value&quot;}</p> */ @NameInMap("ExtInfo") public String extInfo; public static ScanCodeBindRequestBindReq build(java.util.Map<String, ?> map) throws Exception { ScanCodeBindRequestBindReq self = new ScanCodeBindRequestBindReq(); return TeaModel.build(map, self); } public ScanCodeBindRequestBindReq setClientId(String clientId) { this.clientId = clientId; return this; } public String getClientId() { return this.clientId; } public ScanCodeBindRequestBindReq setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public ScanCodeBindRequestBindReq setExtInfo(String extInfo) { this.extInfo = extInfo; return this; } public String getExtInfo() { return this.extInfo; } } public static class ScanCodeBindRequestUserInfo extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>129****0946</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>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>111</p> */ @NameInMap("OrganizationId") public String organizationId; public static ScanCodeBindRequestUserInfo build(java.util.Map<String, ?> map) throws Exception { ScanCodeBindRequestUserInfo self = new ScanCodeBindRequestUserInfo(); return TeaModel.build(map, self); } public ScanCodeBindRequestUserInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public ScanCodeBindRequestUserInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public ScanCodeBindRequestUserInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public ScanCodeBindRequestUserInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public ScanCodeBindRequestUserInfo 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/ScanCodeBindResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ScanCodeBindResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ScanCodeBindResponseBody body; public static ScanCodeBindResponse build(java.util.Map<String, ?> map) throws Exception { ScanCodeBindResponse self = new ScanCodeBindResponse(); return TeaModel.build(map, self); } public ScanCodeBindResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ScanCodeBindResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ScanCodeBindResponse setBody(ScanCodeBindResponseBody body) { this.body = body; return this; } public ScanCodeBindResponseBody 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/ScanCodeBindResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ScanCodeBindResponseBody 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>686DF82F-45C4-7DF7-8B67-27B91CFD63A9</p> */ @NameInMap("RequestId") public String requestId; @NameInMap("Result") public ScanCodeBindResponseBodyResult result; public static ScanCodeBindResponseBody build(java.util.Map<String, ?> map) throws Exception { ScanCodeBindResponseBody self = new ScanCodeBindResponseBody(); return TeaModel.build(map, self); } public ScanCodeBindResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public ScanCodeBindResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public ScanCodeBindResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public ScanCodeBindResponseBody setResult(ScanCodeBindResponseBodyResult result) { this.result = result; return this; } public ScanCodeBindResponseBodyResult getResult() { return this.result; } public static class ScanCodeBindResponseBodyResult extends TeaModel { /** * <strong>example:</strong> * <p>X1</p> */ @NameInMap("BizGroup") public String bizGroup; /** * <strong>example:</strong> * <p>AILABS</p> */ @NameInMap("BizType") public String bizType; /** * <p>A963*0158</p> * * <strong>example:</strong> * <p>设备OpenId</p> */ @NameInMap("DeviceOpenId") public String deviceOpenId; /** * <p>DAFE****ce3ej=</p> * * <strong>example:</strong> * <p>用户opneId</p> */ @NameInMap("UserOpenId") public String userOpenId; public static ScanCodeBindResponseBodyResult build(java.util.Map<String, ?> map) throws Exception { ScanCodeBindResponseBodyResult self = new ScanCodeBindResponseBodyResult(); return TeaModel.build(map, self); } public ScanCodeBindResponseBodyResult setBizGroup(String bizGroup) { this.bizGroup = bizGroup; return this; } public String getBizGroup() { return this.bizGroup; } public ScanCodeBindResponseBodyResult setBizType(String bizType) { this.bizType = bizType; return this; } public String getBizType() { return this.bizType; } public ScanCodeBindResponseBodyResult setDeviceOpenId(String deviceOpenId) { this.deviceOpenId = deviceOpenId; return this; } public String getDeviceOpenId() { return this.deviceOpenId; } public ScanCodeBindResponseBodyResult 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/ScanCodeBindShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ScanCodeBindShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("BindReq") public String bindReqShrink; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public String userInfoShrink; public static ScanCodeBindShrinkRequest build(java.util.Map<String, ?> map) throws Exception { ScanCodeBindShrinkRequest self = new ScanCodeBindShrinkRequest(); return TeaModel.build(map, self); } public ScanCodeBindShrinkRequest setBindReqShrink(String bindReqShrink) { this.bindReqShrink = bindReqShrink; return this; } public String getBindReqShrink() { return this.bindReqShrink; } public ScanCodeBindShrinkRequest 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/ScgSearchHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ScgSearchHeaders 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 ScgSearchHeaders build(java.util.Map<String, ?> map) throws Exception { ScgSearchHeaders self = new ScgSearchHeaders(); return TeaModel.build(map, self); } public ScgSearchHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public ScgSearchHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public ScgSearchHeaders 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/ScgSearchRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ScgSearchRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("ScgFilter") public ScgSearchRequestScgFilter scgFilter; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>MC201132</p> */ @NameInMap("TopicId") public String topicId; public static ScgSearchRequest build(java.util.Map<String, ?> map) throws Exception { ScgSearchRequest self = new ScgSearchRequest(); return TeaModel.build(map, self); } public ScgSearchRequest setScgFilter(ScgSearchRequestScgFilter scgFilter) { this.scgFilter = scgFilter; return this; } public ScgSearchRequestScgFilter getScgFilter() { return this.scgFilter; } public ScgSearchRequest setTopicId(String topicId) { this.topicId = topicId; return this; } public String getTopicId() { return this.topicId; } public static class ScgSearchRequestScgFilterOffSetParam extends TeaModel { /** * <strong>example:</strong> * <p>20</p> */ @NameInMap("Limit") public Integer limit; /** * <strong>example:</strong> * <p>10</p> */ @NameInMap("Offset") public Integer offset; public static ScgSearchRequestScgFilterOffSetParam build(java.util.Map<String, ?> map) throws Exception { ScgSearchRequestScgFilterOffSetParam self = new ScgSearchRequestScgFilterOffSetParam(); return TeaModel.build(map, self); } public ScgSearchRequestScgFilterOffSetParam setLimit(Integer limit) { this.limit = limit; return this; } public Integer getLimit() { return this.limit; } public ScgSearchRequestScgFilterOffSetParam setOffset(Integer offset) { this.offset = offset; return this; } public Integer getOffset() { return this.offset; } } public static class ScgSearchRequestScgFilterPageParam extends TeaModel { /** * <strong>example:</strong> * <p>1</p> */ @NameInMap("PageNum") public Integer pageNum; /** * <strong>example:</strong> * <p>10</p> */ @NameInMap("PageSize") public Integer pageSize; public static ScgSearchRequestScgFilterPageParam build(java.util.Map<String, ?> map) throws Exception { ScgSearchRequestScgFilterPageParam self = new ScgSearchRequestScgFilterPageParam(); return TeaModel.build(map, self); } public ScgSearchRequestScgFilterPageParam setPageNum(Integer pageNum) { this.pageNum = pageNum; return this; } public Integer getPageNum() { return this.pageNum; } public ScgSearchRequestScgFilterPageParam setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } } public static class ScgSearchRequestScgFilterSortParam extends TeaModel { /** * <strong>example:</strong> * <p>internal_id</p> */ @NameInMap("SortKey") public String sortKey; /** * <strong>example:</strong> * <p>ASC</p> */ @NameInMap("SortOrder") public String sortOrder; /** * <strong>example:</strong> * <p>“”</p> */ @NameInMap("SortText") public String sortText; public static ScgSearchRequestScgFilterSortParam build(java.util.Map<String, ?> map) throws Exception { ScgSearchRequestScgFilterSortParam self = new ScgSearchRequestScgFilterSortParam(); return TeaModel.build(map, self); } public ScgSearchRequestScgFilterSortParam setSortKey(String sortKey) { this.sortKey = sortKey; return this; } public String getSortKey() { return this.sortKey; } public ScgSearchRequestScgFilterSortParam setSortOrder(String sortOrder) { this.sortOrder = sortOrder; return this; } public String getSortOrder() { return this.sortOrder; } public ScgSearchRequestScgFilterSortParam setSortText(String sortText) { this.sortText = sortText; return this; } public String getSortText() { return this.sortText; } } public static class ScgSearchRequestScgFilter extends TeaModel { @NameInMap("OffSetParam") public ScgSearchRequestScgFilterOffSetParam offSetParam; @NameInMap("PageParam") public ScgSearchRequestScgFilterPageParam pageParam; /** * <p>This parameter is required.</p> */ @NameInMap("SortParam") public ScgSearchRequestScgFilterSortParam sortParam; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>true</p> */ @NameInMap("UseOffSet") public Boolean useOffSet; public static ScgSearchRequestScgFilter build(java.util.Map<String, ?> map) throws Exception { ScgSearchRequestScgFilter self = new ScgSearchRequestScgFilter(); return TeaModel.build(map, self); } public ScgSearchRequestScgFilter setOffSetParam(ScgSearchRequestScgFilterOffSetParam offSetParam) { this.offSetParam = offSetParam; return this; } public ScgSearchRequestScgFilterOffSetParam getOffSetParam() { return this.offSetParam; } public ScgSearchRequestScgFilter setPageParam(ScgSearchRequestScgFilterPageParam pageParam) { this.pageParam = pageParam; return this; } public ScgSearchRequestScgFilterPageParam getPageParam() { return this.pageParam; } public ScgSearchRequestScgFilter setSortParam(ScgSearchRequestScgFilterSortParam sortParam) { this.sortParam = sortParam; return this; } public ScgSearchRequestScgFilterSortParam getSortParam() { return this.sortParam; } public ScgSearchRequestScgFilter setUseOffSet(Boolean useOffSet) { this.useOffSet = useOffSet; return this; } public Boolean getUseOffSet() { return this.useOffSet; } } }
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/ScgSearchResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ScgSearchResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ScgSearchResponseBody body; public static ScgSearchResponse build(java.util.Map<String, ?> map) throws Exception { ScgSearchResponse self = new ScgSearchResponse(); return TeaModel.build(map, self); } public ScgSearchResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ScgSearchResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ScgSearchResponse setBody(ScgSearchResponseBody body) { this.body = body; return this; } public ScgSearchResponseBody 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/ScgSearchResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ScgSearchResponseBody 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>1</p> */ @NameInMap("PageNum") public Integer pageNum; /** * <strong>example:</strong> * <p>10</p> */ @NameInMap("PageSize") public Integer pageSize; /** * <strong>example:</strong> * <p>73C67BD9-175A-1324-8202-9FAABBB3E6FA</p> */ @NameInMap("RequestId") public String requestId; @NameInMap("Result") public java.util.List<ScgSearchResponseBodyResult> result; public static ScgSearchResponseBody build(java.util.Map<String, ?> map) throws Exception { ScgSearchResponseBody self = new ScgSearchResponseBody(); return TeaModel.build(map, self); } public ScgSearchResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public ScgSearchResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public ScgSearchResponseBody setPageNum(Integer pageNum) { this.pageNum = pageNum; return this; } public Integer getPageNum() { return this.pageNum; } public ScgSearchResponseBody setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public ScgSearchResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public ScgSearchResponseBody setResult(java.util.List<ScgSearchResponseBodyResult> result) { this.result = result; return this; } public java.util.List<ScgSearchResponseBodyResult> getResult() { return this.result; } public static class ScgSearchResponseBodyResultCover extends TeaModel { /** * <strong>example:</strong> * <p><a href="http://img.xiami.net/images/album/img59/56/58da2153e3133_2826959_1490690387.jpg">http://img.xiami.net/images/album/img59/56/58da2153e3133_2826959_1490690387.jpg</a></p> */ @NameInMap("Img") public String img; /** * <strong>example:</strong> * <p><a href="http://img.xiami.net/images/album/img59/56/58da2153e3133_2826959_1490690387.jpg">http://img.xiami.net/images/album/img59/56/58da2153e3133_2826959_1490690387.jpg</a></p> */ @NameInMap("Large") public String large; /** * <strong>example:</strong> * <p><a href="http://img.xiami.net/images/album/img59/56/58da2153e3133_2826959_1490690387.jpg">http://img.xiami.net/images/album/img59/56/58da2153e3133_2826959_1490690387.jpg</a></p> */ @NameInMap("Medium") public String medium; /** * <strong>example:</strong> * <p><a href="http://img.xiami.net/images/album/img59/56/58da2153e3133_2826959_1490690387.jpg">http://img.xiami.net/images/album/img59/56/58da2153e3133_2826959_1490690387.jpg</a></p> */ @NameInMap("Small") public String small; /** * <strong>example:</strong> * <p>false</p> */ @NameInMap("canResize") public Boolean canResize; public static ScgSearchResponseBodyResultCover build(java.util.Map<String, ?> map) throws Exception { ScgSearchResponseBodyResultCover self = new ScgSearchResponseBodyResultCover(); return TeaModel.build(map, self); } public ScgSearchResponseBodyResultCover setImg(String img) { this.img = img; return this; } public String getImg() { return this.img; } public ScgSearchResponseBodyResultCover setLarge(String large) { this.large = large; return this; } public String getLarge() { return this.large; } public ScgSearchResponseBodyResultCover setMedium(String medium) { this.medium = medium; return this; } public String getMedium() { return this.medium; } public ScgSearchResponseBodyResultCover setSmall(String small) { this.small = small; return this; } public String getSmall() { return this.small; } public ScgSearchResponseBodyResultCover setCanResize(Boolean canResize) { this.canResize = canResize; return this; } public Boolean getCanResize() { return this.canResize; } } public static class ScgSearchResponseBodyResult extends TeaModel { /** * <strong>example:</strong> * <p>false</p> */ @NameInMap("Album") public Boolean album; /** * <strong>example:</strong> * <p>1795716629</p> */ @NameInMap("AlbumRawId") public String albumRawId; /** * <strong>example:</strong> * <p>0</p> */ @NameInMap("AlbumType") public Integer albumType; @NameInMap("Alias") public java.util.List<String> alias; @NameInMap("AuthorIds") public java.util.List<Long> authorIds; @NameInMap("AuthorNames") public java.util.List<String> authorNames; /** * <strong>example:</strong> * <p>audio</p> */ @NameInMap("Category") public String category; /** * <strong>example:</strong> * <p>MUSIC_CONTENT</p> */ @NameInMap("ContentType") public String contentType; @NameInMap("Cover") public ScgSearchResponseBodyResultCover cover; /** * <strong>example:</strong> * <p>false</p> */ @NameInMap("IsAudition") public Boolean isAudition; /** * <strong>example:</strong> * <p>false</p> */ @NameInMap("IsCharge") public String isCharge; /** * <strong>example:</strong> * <p>false</p> */ @NameInMap("NeedCharge") public Boolean needCharge; /** * <strong>example:</strong> * <p>1795716629</p> */ @NameInMap("RawId") public String rawId; @NameInMap("Singers") public String singers; /** * <strong>example:</strong> * <p>xiami</p> */ @NameInMap("Source") public String source; /** * <strong>example:</strong> * <p>false</p> */ @NameInMap("SupportAudition") public Boolean supportAudition; @NameInMap("Title") public String title; /** * <strong>example:</strong> * <p>music</p> */ @NameInMap("Type") public String type; public static ScgSearchResponseBodyResult build(java.util.Map<String, ?> map) throws Exception { ScgSearchResponseBodyResult self = new ScgSearchResponseBodyResult(); return TeaModel.build(map, self); } public ScgSearchResponseBodyResult setAlbum(Boolean album) { this.album = album; return this; } public Boolean getAlbum() { return this.album; } public ScgSearchResponseBodyResult setAlbumRawId(String albumRawId) { this.albumRawId = albumRawId; return this; } public String getAlbumRawId() { return this.albumRawId; } public ScgSearchResponseBodyResult setAlbumType(Integer albumType) { this.albumType = albumType; return this; } public Integer getAlbumType() { return this.albumType; } public ScgSearchResponseBodyResult setAlias(java.util.List<String> alias) { this.alias = alias; return this; } public java.util.List<String> getAlias() { return this.alias; } public ScgSearchResponseBodyResult setAuthorIds(java.util.List<Long> authorIds) { this.authorIds = authorIds; return this; } public java.util.List<Long> getAuthorIds() { return this.authorIds; } public ScgSearchResponseBodyResult setAuthorNames(java.util.List<String> authorNames) { this.authorNames = authorNames; return this; } public java.util.List<String> getAuthorNames() { return this.authorNames; } public ScgSearchResponseBodyResult setCategory(String category) { this.category = category; return this; } public String getCategory() { return this.category; } public ScgSearchResponseBodyResult setContentType(String contentType) { this.contentType = contentType; return this; } public String getContentType() { return this.contentType; } public ScgSearchResponseBodyResult setCover(ScgSearchResponseBodyResultCover cover) { this.cover = cover; return this; } public ScgSearchResponseBodyResultCover getCover() { return this.cover; } public ScgSearchResponseBodyResult setIsAudition(Boolean isAudition) { this.isAudition = isAudition; return this; } public Boolean getIsAudition() { return this.isAudition; } public ScgSearchResponseBodyResult setIsCharge(String isCharge) { this.isCharge = isCharge; return this; } public String getIsCharge() { return this.isCharge; } public ScgSearchResponseBodyResult setNeedCharge(Boolean needCharge) { this.needCharge = needCharge; return this; } public Boolean getNeedCharge() { return this.needCharge; } public ScgSearchResponseBodyResult setRawId(String rawId) { this.rawId = rawId; return this; } public String getRawId() { return this.rawId; } public ScgSearchResponseBodyResult setSingers(String singers) { this.singers = singers; return this; } public String getSingers() { return this.singers; } public ScgSearchResponseBodyResult setSource(String source) { this.source = source; return this; } public String getSource() { return this.source; } public ScgSearchResponseBodyResult setSupportAudition(Boolean supportAudition) { this.supportAudition = supportAudition; return this; } public Boolean getSupportAudition() { return this.supportAudition; } public ScgSearchResponseBodyResult setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } public ScgSearchResponseBodyResult setType(String type) { this.type = type; return this; } public String getType() { return this.type; } } }
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/ScgSearchShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ScgSearchShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("ScgFilter") public String scgFilterShrink; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>MC201132</p> */ @NameInMap("TopicId") public String topicId; public static ScgSearchShrinkRequest build(java.util.Map<String, ?> map) throws Exception { ScgSearchShrinkRequest self = new ScgSearchShrinkRequest(); return TeaModel.build(map, self); } public ScgSearchShrinkRequest setScgFilterShrink(String scgFilterShrink) { this.scgFilterShrink = scgFilterShrink; return this; } public String getScgFilterShrink() { return this.scgFilterShrink; } public ScgSearchShrinkRequest setTopicId(String topicId) { this.topicId = topicId; return this; } public String getTopicId() { return this.topicId; } }
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/SearchContentHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SearchContentHeaders 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 SearchContentHeaders build(java.util.Map<String, ?> map) throws Exception { SearchContentHeaders self = new SearchContentHeaders(); return TeaModel.build(map, self); } public SearchContentHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public SearchContentHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public SearchContentHeaders 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/SearchContentRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SearchContentRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("DeviceInfo") public SearchContentRequestDeviceInfo deviceInfo; /** * <p>This parameter is required.</p> */ @NameInMap("Request") public SearchContentRequestRequest request; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public SearchContentRequestUserInfo userInfo; public static SearchContentRequest build(java.util.Map<String, ?> map) throws Exception { SearchContentRequest self = new SearchContentRequest(); return TeaModel.build(map, self); } public SearchContentRequest setDeviceInfo(SearchContentRequestDeviceInfo deviceInfo) { this.deviceInfo = deviceInfo; return this; } public SearchContentRequestDeviceInfo getDeviceInfo() { return this.deviceInfo; } public SearchContentRequest setRequest(SearchContentRequestRequest request) { this.request = request; return this; } public SearchContentRequestRequest getRequest() { return this.request; } public SearchContentRequest setUserInfo(SearchContentRequestUserInfo userInfo) { this.userInfo = userInfo; return this; } public SearchContentRequestUserInfo getUserInfo() { return this.userInfo; } public static class SearchContentRequestDeviceInfo 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 SearchContentRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception { SearchContentRequestDeviceInfo self = new SearchContentRequestDeviceInfo(); return TeaModel.build(map, self); } public SearchContentRequestDeviceInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public SearchContentRequestDeviceInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public SearchContentRequestDeviceInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public SearchContentRequestDeviceInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public SearchContentRequestDeviceInfo setOrganizationId(String organizationId) { this.organizationId = organizationId; return this; } public String getOrganizationId() { return this.organizationId; } } public static class SearchContentRequestRequest extends TeaModel { /** * <strong>example:</strong> * <p>music</p> */ @NameInMap("Cate") public String cate; /** * <strong>example:</strong> * <p>1</p> */ @NameInMap("PageNum") public Integer pageNum; /** * <strong>example:</strong> * <p>10</p> */ @NameInMap("PageSize") public Integer pageSize; @NameInMap("Query") public String query; /** * <strong>example:</strong> * <p>false</p> */ @NameInMap("QueryAlbum") public Boolean queryAlbum; /** * <strong>example:</strong> * <p>singer</p> */ @NameInMap("SubCate") public String subCate; public static SearchContentRequestRequest build(java.util.Map<String, ?> map) throws Exception { SearchContentRequestRequest self = new SearchContentRequestRequest(); return TeaModel.build(map, self); } public SearchContentRequestRequest setCate(String cate) { this.cate = cate; return this; } public String getCate() { return this.cate; } public SearchContentRequestRequest setPageNum(Integer pageNum) { this.pageNum = pageNum; return this; } public Integer getPageNum() { return this.pageNum; } public SearchContentRequestRequest setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public SearchContentRequestRequest setQuery(String query) { this.query = query; return this; } public String getQuery() { return this.query; } public SearchContentRequestRequest setQueryAlbum(Boolean queryAlbum) { this.queryAlbum = queryAlbum; return this; } public Boolean getQueryAlbum() { return this.queryAlbum; } public SearchContentRequestRequest setSubCate(String subCate) { this.subCate = subCate; return this; } public String getSubCate() { return this.subCate; } } public static class SearchContentRequestUserInfo 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 SearchContentRequestUserInfo build(java.util.Map<String, ?> map) throws Exception { SearchContentRequestUserInfo self = new SearchContentRequestUserInfo(); return TeaModel.build(map, self); } public SearchContentRequestUserInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public SearchContentRequestUserInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public SearchContentRequestUserInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public SearchContentRequestUserInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public SearchContentRequestUserInfo 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/SearchContentResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SearchContentResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public SearchContentResponseBody body; public static SearchContentResponse build(java.util.Map<String, ?> map) throws Exception { SearchContentResponse self = new SearchContentResponse(); return TeaModel.build(map, self); } public SearchContentResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public SearchContentResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public SearchContentResponse setBody(SearchContentResponseBody body) { this.body = body; return this; } public SearchContentResponseBody 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/SearchContentResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SearchContentResponseBody 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>F12B6147-5925-19E5-A3AD-E1EE1360F34E</p> */ @NameInMap("RequestId") public String requestId; @NameInMap("Result") public java.util.List<SearchContentResponseBodyResult> result; public static SearchContentResponseBody build(java.util.Map<String, ?> map) throws Exception { SearchContentResponseBody self = new SearchContentResponseBody(); return TeaModel.build(map, self); } public SearchContentResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public SearchContentResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public SearchContentResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public SearchContentResponseBody setResult(java.util.List<SearchContentResponseBodyResult> result) { this.result = result; return this; } public java.util.List<SearchContentResponseBodyResult> getResult() { return this.result; } public static class SearchContentResponseBodyResultAuthorsCover extends TeaModel { /** * <strong>example:</strong> * <p>false</p> */ @NameInMap("CanResize") public Boolean canResize; /** * <strong>example:</strong> * <p><a href="https://a.jpg">https://a.jpg</a></p> */ @NameInMap("Img") public String img; /** * <strong>example:</strong> * <p><a href="https://a.jpg">https://a.jpg</a></p> */ @NameInMap("Large") public String large; /** * <strong>example:</strong> * <p><a href="https://a.jpg">https://a.jpg</a></p> */ @NameInMap("Medium") public String medium; /** * <strong>example:</strong> * <p><a href="https://a.jpg">https://a.jpg</a></p> */ @NameInMap("Small") public String small; public static SearchContentResponseBodyResultAuthorsCover build(java.util.Map<String, ?> map) throws Exception { SearchContentResponseBodyResultAuthorsCover self = new SearchContentResponseBodyResultAuthorsCover(); return TeaModel.build(map, self); } public SearchContentResponseBodyResultAuthorsCover setCanResize(Boolean canResize) { this.canResize = canResize; return this; } public Boolean getCanResize() { return this.canResize; } public SearchContentResponseBodyResultAuthorsCover setImg(String img) { this.img = img; return this; } public String getImg() { return this.img; } public SearchContentResponseBodyResultAuthorsCover setLarge(String large) { this.large = large; return this; } public String getLarge() { return this.large; } public SearchContentResponseBodyResultAuthorsCover setMedium(String medium) { this.medium = medium; return this; } public String getMedium() { return this.medium; } public SearchContentResponseBodyResultAuthorsCover setSmall(String small) { this.small = small; return this; } public String getSmall() { return this.small; } } public static class SearchContentResponseBodyResultAuthors extends TeaModel { @NameInMap("AuthorTypes") public java.util.List<String> authorTypes; @NameInMap("Cover") public SearchContentResponseBodyResultAuthorsCover cover; @NameInMap("Description") public String description; /** * <strong>example:</strong> * <p>MALE</p> */ @NameInMap("Gender") public String gender; /** * <strong>example:</strong> * <p>13597709</p> */ @NameInMap("Id") public Long id; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Online") public Boolean online; /** * <strong>example:</strong> * <p>123123</p> */ @NameInMap("RawId") public String rawId; /** * <strong>example:</strong> * <p>qingting</p> */ @NameInMap("Source") public String source; @NameInMap("Title") public String title; public static SearchContentResponseBodyResultAuthors build(java.util.Map<String, ?> map) throws Exception { SearchContentResponseBodyResultAuthors self = new SearchContentResponseBodyResultAuthors(); return TeaModel.build(map, self); } public SearchContentResponseBodyResultAuthors setAuthorTypes(java.util.List<String> authorTypes) { this.authorTypes = authorTypes; return this; } public java.util.List<String> getAuthorTypes() { return this.authorTypes; } public SearchContentResponseBodyResultAuthors setCover(SearchContentResponseBodyResultAuthorsCover cover) { this.cover = cover; return this; } public SearchContentResponseBodyResultAuthorsCover getCover() { return this.cover; } public SearchContentResponseBodyResultAuthors setDescription(String description) { this.description = description; return this; } public String getDescription() { return this.description; } public SearchContentResponseBodyResultAuthors setGender(String gender) { this.gender = gender; return this; } public String getGender() { return this.gender; } public SearchContentResponseBodyResultAuthors setId(Long id) { this.id = id; return this; } public Long getId() { return this.id; } public SearchContentResponseBodyResultAuthors setOnline(Boolean online) { this.online = online; return this; } public Boolean getOnline() { return this.online; } public SearchContentResponseBodyResultAuthors setRawId(String rawId) { this.rawId = rawId; return this; } public String getRawId() { return this.rawId; } public SearchContentResponseBodyResultAuthors setSource(String source) { this.source = source; return this; } public String getSource() { return this.source; } public SearchContentResponseBodyResultAuthors setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } } public static class SearchContentResponseBodyResultCover 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 SearchContentResponseBodyResultCover build(java.util.Map<String, ?> map) throws Exception { SearchContentResponseBodyResultCover self = new SearchContentResponseBodyResultCover(); return TeaModel.build(map, self); } public SearchContentResponseBodyResultCover setCanResize(Boolean canResize) { this.canResize = canResize; return this; } public Boolean getCanResize() { return this.canResize; } public SearchContentResponseBodyResultCover setImg(String img) { this.img = img; return this; } public String getImg() { return this.img; } public SearchContentResponseBodyResultCover setLarge(String large) { this.large = large; return this; } public String getLarge() { return this.large; } public SearchContentResponseBodyResultCover setMediam(String mediam) { this.mediam = mediam; return this; } public String getMediam() { return this.mediam; } public SearchContentResponseBodyResultCover setMedium(String medium) { this.medium = medium; return this; } public String getMedium() { return this.medium; } public SearchContentResponseBodyResultCover setSmall(String small) { this.small = small; return this; } public String getSmall() { return this.small; } } public static class SearchContentResponseBodyResult extends TeaModel { /** * <strong>example:</strong> * <p>13123</p> */ @NameInMap("AlbumId") public String albumId; @NameInMap("Alias") public java.util.List<String> alias; /** * <strong>example:</strong> * <p>false</p> */ @NameInMap("Audition") public Boolean audition; @NameInMap("Authors") public java.util.List<SearchContentResponseBodyResultAuthors> authors; /** * <strong>example:</strong> * <p>audio</p> */ @NameInMap("Category") public String category; /** * <strong>example:</strong> * <p>fasle</p> */ @NameInMap("Charge") public Boolean charge; /** * <strong>example:</strong> * <p>80012017</p> */ @NameInMap("CommCateId") public Long commCateId; @NameInMap("Cover") public SearchContentResponseBodyResultCover cover; @NameInMap("Description") public String description; /** * <strong>example:</strong> * <p>180</p> */ @NameInMap("Duration") public Long duration; /** * <strong>example:</strong> * <p>10</p> */ @NameInMap("HotScore") public Double hotScore; /** * <strong>example:</strong> * <p>13597709</p> */ @NameInMap("Id") public Long id; /** * <strong>example:</strong> * <p>ALBUM</p> */ @NameInMap("ItemType") public String itemType; /** * <strong>example:</strong> * <p><a href="http://a1231.lrc">http://a1231.lrc</a></p> */ @NameInMap("Lyric") public String lyric; /** * <strong>example:</strong> * <p>1</p> */ @NameInMap("OrderIndex") public String orderIndex; /** * <strong>example:</strong> * <p>qingting</p> */ @NameInMap("Source") public String source; @NameInMap("Styles") public java.util.List<String> styles; @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 SearchContentResponseBodyResult build(java.util.Map<String, ?> map) throws Exception { SearchContentResponseBodyResult self = new SearchContentResponseBodyResult(); return TeaModel.build(map, self); } public SearchContentResponseBodyResult setAlbumId(String albumId) { this.albumId = albumId; return this; } public String getAlbumId() { return this.albumId; } public SearchContentResponseBodyResult setAlias(java.util.List<String> alias) { this.alias = alias; return this; } public java.util.List<String> getAlias() { return this.alias; } public SearchContentResponseBodyResult setAudition(Boolean audition) { this.audition = audition; return this; } public Boolean getAudition() { return this.audition; } public SearchContentResponseBodyResult setAuthors(java.util.List<SearchContentResponseBodyResultAuthors> authors) { this.authors = authors; return this; } public java.util.List<SearchContentResponseBodyResultAuthors> getAuthors() { return this.authors; } public SearchContentResponseBodyResult setCategory(String category) { this.category = category; return this; } public String getCategory() { return this.category; } public SearchContentResponseBodyResult setCharge(Boolean charge) { this.charge = charge; return this; } public Boolean getCharge() { return this.charge; } public SearchContentResponseBodyResult setCommCateId(Long commCateId) { this.commCateId = commCateId; return this; } public Long getCommCateId() { return this.commCateId; } public SearchContentResponseBodyResult setCover(SearchContentResponseBodyResultCover cover) { this.cover = cover; return this; } public SearchContentResponseBodyResultCover getCover() { return this.cover; } public SearchContentResponseBodyResult setDescription(String description) { this.description = description; return this; } public String getDescription() { return this.description; } public SearchContentResponseBodyResult setDuration(Long duration) { this.duration = duration; return this; } public Long getDuration() { return this.duration; } public SearchContentResponseBodyResult setHotScore(Double hotScore) { this.hotScore = hotScore; return this; } public Double getHotScore() { return this.hotScore; } public SearchContentResponseBodyResult setId(Long id) { this.id = id; return this; } public Long getId() { return this.id; } public SearchContentResponseBodyResult setItemType(String itemType) { this.itemType = itemType; return this; } public String getItemType() { return this.itemType; } public SearchContentResponseBodyResult setLyric(String lyric) { this.lyric = lyric; return this; } public String getLyric() { return this.lyric; } public SearchContentResponseBodyResult setOrderIndex(String orderIndex) { this.orderIndex = orderIndex; return this; } public String getOrderIndex() { return this.orderIndex; } public SearchContentResponseBodyResult setSource(String source) { this.source = source; return this; } public String getSource() { return this.source; } public SearchContentResponseBodyResult setStyles(java.util.List<String> styles) { this.styles = styles; return this; } public java.util.List<String> getStyles() { return this.styles; } public SearchContentResponseBodyResult setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } public SearchContentResponseBodyResult setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public SearchContentResponseBodyResult 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/SearchContentShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SearchContentShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("DeviceInfo") public String deviceInfoShrink; /** * <p>This parameter is required.</p> */ @NameInMap("Request") public String requestShrink; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public String userInfoShrink; public static SearchContentShrinkRequest build(java.util.Map<String, ?> map) throws Exception { SearchContentShrinkRequest self = new SearchContentShrinkRequest(); return TeaModel.build(map, self); } public SearchContentShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) { this.deviceInfoShrink = deviceInfoShrink; return this; } public String getDeviceInfoShrink() { return this.deviceInfoShrink; } public SearchContentShrinkRequest setRequestShrink(String requestShrink) { this.requestShrink = requestShrink; return this; } public String getRequestShrink() { return this.requestShrink; } public SearchContentShrinkRequest 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/SendMessageHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SendMessageHeaders 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 SendMessageHeaders build(java.util.Map<String, ?> map) throws Exception { SendMessageHeaders self = new SendMessageHeaders(); return TeaModel.build(map, self); } public SendMessageHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public SendMessageHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public SendMessageHeaders 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/SendMessageRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SendMessageRequest extends TeaModel { /** * <strong>example:</strong> * <p><a href="http://xx">http://xx</a></p> */ @NameInMap("Url") public String url; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public SendMessageRequestUserInfo userInfo; public static SendMessageRequest build(java.util.Map<String, ?> map) throws Exception { SendMessageRequest self = new SendMessageRequest(); return TeaModel.build(map, self); } public SendMessageRequest setUrl(String url) { this.url = url; return this; } public String getUrl() { return this.url; } public SendMessageRequest setUserInfo(SendMessageRequestUserInfo userInfo) { this.userInfo = userInfo; return this; } public SendMessageRequestUserInfo getUserInfo() { return this.userInfo; } public static class SendMessageRequestUserInfo extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123L</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>123L</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 SendMessageRequestUserInfo build(java.util.Map<String, ?> map) throws Exception { SendMessageRequestUserInfo self = new SendMessageRequestUserInfo(); return TeaModel.build(map, self); } public SendMessageRequestUserInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public SendMessageRequestUserInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public SendMessageRequestUserInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public SendMessageRequestUserInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public SendMessageRequestUserInfo 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/SendMessageResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SendMessageResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public SendMessageResponseBody body; public static SendMessageResponse build(java.util.Map<String, ?> map) throws Exception { SendMessageResponse self = new SendMessageResponse(); return TeaModel.build(map, self); } public SendMessageResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public SendMessageResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public SendMessageResponse setBody(SendMessageResponseBody body) { this.body = body; return this; } public SendMessageResponseBody 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/SendMessageResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SendMessageResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>SUCCESS</p> */ @NameInMap("Code") public String code; @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Result") public Boolean result; public static SendMessageResponseBody build(java.util.Map<String, ?> map) throws Exception { SendMessageResponseBody self = new SendMessageResponseBody(); return TeaModel.build(map, self); } public SendMessageResponseBody setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public SendMessageResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public SendMessageResponseBody 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/SendMessageShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SendMessageShrinkRequest extends TeaModel { /** * <strong>example:</strong> * <p><a href="http://xx">http://xx</a></p> */ @NameInMap("Url") public String url; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public String userInfoShrink; public static SendMessageShrinkRequest build(java.util.Map<String, ?> map) throws Exception { SendMessageShrinkRequest self = new SendMessageShrinkRequest(); return TeaModel.build(map, self); } public SendMessageShrinkRequest setUrl(String url) { this.url = url; return this; } public String getUrl() { return this.url; } public SendMessageShrinkRequest 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/SetDeviceSettingHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SetDeviceSettingHeaders 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 SetDeviceSettingHeaders build(java.util.Map<String, ?> map) throws Exception { SetDeviceSettingHeaders self = new SetDeviceSettingHeaders(); return TeaModel.build(map, self); } public SetDeviceSettingHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public SetDeviceSettingHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public SetDeviceSettingHeaders 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/SetDeviceSettingRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SetDeviceSettingRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("DeviceInfo") public SetDeviceSettingRequestDeviceInfo deviceInfo; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>nightMode</p> */ @NameInMap("Key") public String key; /** * <strong>example:</strong> * <p>{&quot;enable&quot;:true}</p> */ @NameInMap("Value") public Object value; public static SetDeviceSettingRequest build(java.util.Map<String, ?> map) throws Exception { SetDeviceSettingRequest self = new SetDeviceSettingRequest(); return TeaModel.build(map, self); } public SetDeviceSettingRequest setDeviceInfo(SetDeviceSettingRequestDeviceInfo deviceInfo) { this.deviceInfo = deviceInfo; return this; } public SetDeviceSettingRequestDeviceInfo getDeviceInfo() { return this.deviceInfo; } public SetDeviceSettingRequest setKey(String key) { this.key = key; return this; } public String getKey() { return this.key; } public SetDeviceSettingRequest setValue(Object value) { this.value = value; return this; } public Object getValue() { return this.value; } public static class SetDeviceSettingRequestDeviceInfo 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; @NameInMap("OrganizationId") public String organizationId; public static SetDeviceSettingRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception { SetDeviceSettingRequestDeviceInfo self = new SetDeviceSettingRequestDeviceInfo(); return TeaModel.build(map, self); } public SetDeviceSettingRequestDeviceInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public SetDeviceSettingRequestDeviceInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public SetDeviceSettingRequestDeviceInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public SetDeviceSettingRequestDeviceInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public SetDeviceSettingRequestDeviceInfo 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/SetDeviceSettingResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SetDeviceSettingResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public SetDeviceSettingResponseBody body; public static SetDeviceSettingResponse build(java.util.Map<String, ?> map) throws Exception { SetDeviceSettingResponse self = new SetDeviceSettingResponse(); return TeaModel.build(map, self); } public SetDeviceSettingResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public SetDeviceSettingResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public SetDeviceSettingResponse setBody(SetDeviceSettingResponseBody body) { this.body = body; return this; } public SetDeviceSettingResponseBody 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/SetDeviceSettingResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SetDeviceSettingResponseBody 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 SetDeviceSettingResponseBody build(java.util.Map<String, ?> map) throws Exception { SetDeviceSettingResponseBody self = new SetDeviceSettingResponseBody(); return TeaModel.build(map, self); } public SetDeviceSettingResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public SetDeviceSettingResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public SetDeviceSettingResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public SetDeviceSettingResponseBody 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/SetDeviceSettingShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class SetDeviceSettingShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("DeviceInfo") public String deviceInfoShrink; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>nightMode</p> */ @NameInMap("Key") public String key; /** * <strong>example:</strong> * <p>{&quot;enable&quot;:true}</p> */ @NameInMap("Value") public Object value; public static SetDeviceSettingShrinkRequest build(java.util.Map<String, ?> map) throws Exception { SetDeviceSettingShrinkRequest self = new SetDeviceSettingShrinkRequest(); return TeaModel.build(map, self); } public SetDeviceSettingShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) { this.deviceInfoShrink = deviceInfoShrink; return this; } public String getDeviceInfoShrink() { return this.deviceInfoShrink; } public SetDeviceSettingShrinkRequest setKey(String key) { this.key = key; return this; } public String getKey() { return this.key; } public SetDeviceSettingShrinkRequest setValue(Object value) { this.value = value; return this; } public Object getValue() { return this.value; } }
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/ThirdImmediateMsgPushHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ThirdImmediateMsgPushHeaders 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 ThirdImmediateMsgPushHeaders build(java.util.Map<String, ?> map) throws Exception { ThirdImmediateMsgPushHeaders self = new ThirdImmediateMsgPushHeaders(); return TeaModel.build(map, self); } public ThirdImmediateMsgPushHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public ThirdImmediateMsgPushHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public ThirdImmediateMsgPushHeaders 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/ThirdImmediateMsgPushRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ThirdImmediateMsgPushRequest extends TeaModel { /** * <strong>example:</strong> * <p>FLIGHT</p> */ @NameInMap("BizType") public String bizType; /** * <strong>example:</strong> * <p>changeDetail</p> */ @NameInMap("ChangeDetail") public String changeDetail; /** * <strong>example:</strong> * <p>orderId</p> */ @NameInMap("OrderId") public String orderId; /** * <strong>example:</strong> * <p>psgIds</p> */ @NameInMap("PsgIds") public String psgIds; /** * <strong>example:</strong> * <p>source</p> */ @NameInMap("Source") public String source; /** * <strong>example:</strong> * <p>trafficChangeType</p> */ @NameInMap("TrafficChangeType") public String trafficChangeType; /** * <strong>example:</strong> * <p>trafficChangeTypeDesc</p> */ @NameInMap("TrafficChangeTypeDesc") public String trafficChangeTypeDesc; /** * <strong>example:</strong> * <p>trafficJourneyIds</p> */ @NameInMap("TrafficJourneyIds") public String trafficJourneyIds; /** * <strong>example:</strong> * <p>trafficSubOrderIds</p> */ @NameInMap("TrafficSubOrderIds") public String trafficSubOrderIds; /** * <strong>example:</strong> * <p>userId</p> */ @NameInMap("UserId") public String userId; public static ThirdImmediateMsgPushRequest build(java.util.Map<String, ?> map) throws Exception { ThirdImmediateMsgPushRequest self = new ThirdImmediateMsgPushRequest(); return TeaModel.build(map, self); } public ThirdImmediateMsgPushRequest setBizType(String bizType) { this.bizType = bizType; return this; } public String getBizType() { return this.bizType; } public ThirdImmediateMsgPushRequest setChangeDetail(String changeDetail) { this.changeDetail = changeDetail; return this; } public String getChangeDetail() { return this.changeDetail; } public ThirdImmediateMsgPushRequest setOrderId(String orderId) { this.orderId = orderId; return this; } public String getOrderId() { return this.orderId; } public ThirdImmediateMsgPushRequest setPsgIds(String psgIds) { this.psgIds = psgIds; return this; } public String getPsgIds() { return this.psgIds; } public ThirdImmediateMsgPushRequest setSource(String source) { this.source = source; return this; } public String getSource() { return this.source; } public ThirdImmediateMsgPushRequest setTrafficChangeType(String trafficChangeType) { this.trafficChangeType = trafficChangeType; return this; } public String getTrafficChangeType() { return this.trafficChangeType; } public ThirdImmediateMsgPushRequest setTrafficChangeTypeDesc(String trafficChangeTypeDesc) { this.trafficChangeTypeDesc = trafficChangeTypeDesc; return this; } public String getTrafficChangeTypeDesc() { return this.trafficChangeTypeDesc; } public ThirdImmediateMsgPushRequest setTrafficJourneyIds(String trafficJourneyIds) { this.trafficJourneyIds = trafficJourneyIds; return this; } public String getTrafficJourneyIds() { return this.trafficJourneyIds; } public ThirdImmediateMsgPushRequest setTrafficSubOrderIds(String trafficSubOrderIds) { this.trafficSubOrderIds = trafficSubOrderIds; return this; } public String getTrafficSubOrderIds() { return this.trafficSubOrderIds; } public ThirdImmediateMsgPushRequest 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/ThirdImmediateMsgPushResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ThirdImmediateMsgPushResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ThirdImmediateMsgPushResponseBody body; public static ThirdImmediateMsgPushResponse build(java.util.Map<String, ?> map) throws Exception { ThirdImmediateMsgPushResponse self = new ThirdImmediateMsgPushResponse(); return TeaModel.build(map, self); } public ThirdImmediateMsgPushResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ThirdImmediateMsgPushResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ThirdImmediateMsgPushResponse setBody(ThirdImmediateMsgPushResponseBody body) { this.body = body; return this; } public ThirdImmediateMsgPushResponseBody 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/ThirdImmediateMsgPushResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class ThirdImmediateMsgPushResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>500000000</p> */ @NameInMap("ErrorCode") public String errorCode; /** * <strong>example:</strong> * <p>服务器内部异常</p> */ @NameInMap("ErrorMsg") public String errorMsg; @NameInMap("Model") public ThirdImmediateMsgPushResponseBodyModel model; @NameInMap("Success") public Boolean success; public static ThirdImmediateMsgPushResponseBody build(java.util.Map<String, ?> map) throws Exception { ThirdImmediateMsgPushResponseBody self = new ThirdImmediateMsgPushResponseBody(); return TeaModel.build(map, self); } public ThirdImmediateMsgPushResponseBody setErrorCode(String errorCode) { this.errorCode = errorCode; return this; } public String getErrorCode() { return this.errorCode; } public ThirdImmediateMsgPushResponseBody setErrorMsg(String errorMsg) { this.errorMsg = errorMsg; return this; } public String getErrorMsg() { return this.errorMsg; } public ThirdImmediateMsgPushResponseBody setModel(ThirdImmediateMsgPushResponseBodyModel model) { this.model = model; return this; } public ThirdImmediateMsgPushResponseBodyModel getModel() { return this.model; } public ThirdImmediateMsgPushResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public static class ThirdImmediateMsgPushResponseBodyModel extends TeaModel { /** * <strong>example:</strong> * <p>2DF6FEFE-3301-16DD-ABCC-968A9524920B</p> */ @NameInMap("RequestId") public String requestId; @NameInMap("Success") public Boolean success; public static ThirdImmediateMsgPushResponseBodyModel build(java.util.Map<String, ?> map) throws Exception { ThirdImmediateMsgPushResponseBodyModel self = new ThirdImmediateMsgPushResponseBodyModel(); return TeaModel.build(map, self); } public ThirdImmediateMsgPushResponseBodyModel setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public ThirdImmediateMsgPushResponseBodyModel setSuccess(Boolean success) { this.success = success; return this; } public Boolean 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/UnbindAligenieUserHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UnbindAligenieUserHeaders 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 UnbindAligenieUserHeaders build(java.util.Map<String, ?> map) throws Exception { UnbindAligenieUserHeaders self = new UnbindAligenieUserHeaders(); return TeaModel.build(map, self); } public UnbindAligenieUserHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public UnbindAligenieUserHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public UnbindAligenieUserHeaders 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/UnbindAligenieUserRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UnbindAligenieUserRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>99ce8a70c23a94f8569e1a525bef6e85</p> */ @NameInMap("LoginStateAccessToken") public String loginStateAccessToken; public static UnbindAligenieUserRequest build(java.util.Map<String, ?> map) throws Exception { UnbindAligenieUserRequest self = new UnbindAligenieUserRequest(); return TeaModel.build(map, self); } public UnbindAligenieUserRequest 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/UnbindAligenieUserResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UnbindAligenieUserResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public UnbindAligenieUserResponseBody body; public static UnbindAligenieUserResponse build(java.util.Map<String, ?> map) throws Exception { UnbindAligenieUserResponse self = new UnbindAligenieUserResponse(); return TeaModel.build(map, self); } public UnbindAligenieUserResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public UnbindAligenieUserResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public UnbindAligenieUserResponse setBody(UnbindAligenieUserResponseBody body) { this.body = body; return this; } public UnbindAligenieUserResponseBody 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/UnbindAligenieUserResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UnbindAligenieUserResponseBody 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("Success") public Boolean success; public static UnbindAligenieUserResponseBody build(java.util.Map<String, ?> map) throws Exception { UnbindAligenieUserResponseBody self = new UnbindAligenieUserResponseBody(); return TeaModel.build(map, self); } public UnbindAligenieUserResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public UnbindAligenieUserResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public UnbindAligenieUserResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public UnbindAligenieUserResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean 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/UnbindDeviceHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UnbindDeviceHeaders 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 UnbindDeviceHeaders build(java.util.Map<String, ?> map) throws Exception { UnbindDeviceHeaders self = new UnbindDeviceHeaders(); return TeaModel.build(map, self); } public UnbindDeviceHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public UnbindDeviceHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public UnbindDeviceHeaders 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/UnbindDeviceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UnbindDeviceRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("DeviceInfo") public UnbindDeviceRequestDeviceInfo deviceInfo; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public UnbindDeviceRequestUserInfo userInfo; public static UnbindDeviceRequest build(java.util.Map<String, ?> map) throws Exception { UnbindDeviceRequest self = new UnbindDeviceRequest(); return TeaModel.build(map, self); } public UnbindDeviceRequest setDeviceInfo(UnbindDeviceRequestDeviceInfo deviceInfo) { this.deviceInfo = deviceInfo; return this; } public UnbindDeviceRequestDeviceInfo getDeviceInfo() { return this.deviceInfo; } public UnbindDeviceRequest setUserInfo(UnbindDeviceRequestUserInfo userInfo) { this.userInfo = userInfo; return this; } public UnbindDeviceRequestUserInfo getUserInfo() { return this.userInfo; } public static class UnbindDeviceRequestDeviceInfo 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>PROJECT_ID</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 UnbindDeviceRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception { UnbindDeviceRequestDeviceInfo self = new UnbindDeviceRequestDeviceInfo(); return TeaModel.build(map, self); } public UnbindDeviceRequestDeviceInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public UnbindDeviceRequestDeviceInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public UnbindDeviceRequestDeviceInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public UnbindDeviceRequestDeviceInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public UnbindDeviceRequestDeviceInfo setOrganizationId(String organizationId) { this.organizationId = organizationId; return this; } public String getOrganizationId() { return this.organizationId; } } public static class UnbindDeviceRequestUserInfo 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>PROJECT_ID</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 UnbindDeviceRequestUserInfo build(java.util.Map<String, ?> map) throws Exception { UnbindDeviceRequestUserInfo self = new UnbindDeviceRequestUserInfo(); return TeaModel.build(map, self); } public UnbindDeviceRequestUserInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public UnbindDeviceRequestUserInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public UnbindDeviceRequestUserInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public UnbindDeviceRequestUserInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public UnbindDeviceRequestUserInfo 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/UnbindDeviceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UnbindDeviceResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public UnbindDeviceResponseBody body; public static UnbindDeviceResponse build(java.util.Map<String, ?> map) throws Exception { UnbindDeviceResponse self = new UnbindDeviceResponse(); return TeaModel.build(map, self); } public UnbindDeviceResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public UnbindDeviceResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public UnbindDeviceResponse setBody(UnbindDeviceResponseBody body) { this.body = body; return this; } public UnbindDeviceResponseBody 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/UnbindDeviceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UnbindDeviceResponseBody 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; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Result") public Boolean result; public static UnbindDeviceResponseBody build(java.util.Map<String, ?> map) throws Exception { UnbindDeviceResponseBody self = new UnbindDeviceResponseBody(); return TeaModel.build(map, self); } public UnbindDeviceResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public UnbindDeviceResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public UnbindDeviceResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public UnbindDeviceResponseBody 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/UnbindDeviceShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UnbindDeviceShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("DeviceInfo") public String deviceInfoShrink; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public String userInfoShrink; public static UnbindDeviceShrinkRequest build(java.util.Map<String, ?> map) throws Exception { UnbindDeviceShrinkRequest self = new UnbindDeviceShrinkRequest(); return TeaModel.build(map, self); } public UnbindDeviceShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) { this.deviceInfoShrink = deviceInfoShrink; return this; } public String getDeviceInfoShrink() { return this.deviceInfoShrink; } public UnbindDeviceShrinkRequest 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/UpdateAlarmHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UpdateAlarmHeaders 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 UpdateAlarmHeaders build(java.util.Map<String, ?> map) throws Exception { UpdateAlarmHeaders self = new UpdateAlarmHeaders(); return TeaModel.build(map, self); } public UpdateAlarmHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public UpdateAlarmHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public UpdateAlarmHeaders 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/UpdateAlarmRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UpdateAlarmRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("DeviceInfo") public UpdateAlarmRequestDeviceInfo deviceInfo; /** * <p>This parameter is required.</p> */ @NameInMap("Payload") public UpdateAlarmRequestPayload payload; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public UpdateAlarmRequestUserInfo userInfo; public static UpdateAlarmRequest build(java.util.Map<String, ?> map) throws Exception { UpdateAlarmRequest self = new UpdateAlarmRequest(); return TeaModel.build(map, self); } public UpdateAlarmRequest setDeviceInfo(UpdateAlarmRequestDeviceInfo deviceInfo) { this.deviceInfo = deviceInfo; return this; } public UpdateAlarmRequestDeviceInfo getDeviceInfo() { return this.deviceInfo; } public UpdateAlarmRequest setPayload(UpdateAlarmRequestPayload payload) { this.payload = payload; return this; } public UpdateAlarmRequestPayload getPayload() { return this.payload; } public UpdateAlarmRequest setUserInfo(UpdateAlarmRequestUserInfo userInfo) { this.userInfo = userInfo; return this; } public UpdateAlarmRequestUserInfo getUserInfo() { return this.userInfo; } public static class UpdateAlarmRequestDeviceInfo 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 UpdateAlarmRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception { UpdateAlarmRequestDeviceInfo self = new UpdateAlarmRequestDeviceInfo(); return TeaModel.build(map, self); } public UpdateAlarmRequestDeviceInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public UpdateAlarmRequestDeviceInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public UpdateAlarmRequestDeviceInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public UpdateAlarmRequestDeviceInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public UpdateAlarmRequestDeviceInfo setOrganizationId(String organizationId) { this.organizationId = organizationId; return this; } public String getOrganizationId() { return this.organizationId; } } public static class UpdateAlarmRequestPayloadMusicInfo extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2</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>12</p> */ @NameInMap("MusicType") public Long musicType; /** * <p>This parameter is required.</p> */ @NameInMap("MusicTypeName") public String musicTypeName; /** * <strong>example:</strong> * <p><a href="http://music-url.mp3">http://music-url.mp3</a></p> */ @NameInMap("MusicUrl") public String musicUrl; public static UpdateAlarmRequestPayloadMusicInfo build(java.util.Map<String, ?> map) throws Exception { UpdateAlarmRequestPayloadMusicInfo self = new UpdateAlarmRequestPayloadMusicInfo(); return TeaModel.build(map, self); } public UpdateAlarmRequestPayloadMusicInfo setMusicId(Long musicId) { this.musicId = musicId; return this; } public Long getMusicId() { return this.musicId; } public UpdateAlarmRequestPayloadMusicInfo setMusicName(String musicName) { this.musicName = musicName; return this; } public String getMusicName() { return this.musicName; } public UpdateAlarmRequestPayloadMusicInfo setMusicType(Long musicType) { this.musicType = musicType; return this; } public Long getMusicType() { return this.musicType; } public UpdateAlarmRequestPayloadMusicInfo setMusicTypeName(String musicTypeName) { this.musicTypeName = musicTypeName; return this; } public String getMusicTypeName() { return this.musicTypeName; } public UpdateAlarmRequestPayloadMusicInfo setMusicUrl(String musicUrl) { this.musicUrl = musicUrl; return this; } public String getMusicUrl() { return this.musicUrl; } } public static class UpdateAlarmRequestPayloadScheduleInfoOnce 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 UpdateAlarmRequestPayloadScheduleInfoOnce build(java.util.Map<String, ?> map) throws Exception { UpdateAlarmRequestPayloadScheduleInfoOnce self = new UpdateAlarmRequestPayloadScheduleInfoOnce(); return TeaModel.build(map, self); } public UpdateAlarmRequestPayloadScheduleInfoOnce setDay(Integer day) { this.day = day; return this; } public Integer getDay() { return this.day; } public UpdateAlarmRequestPayloadScheduleInfoOnce setHour(Integer hour) { this.hour = hour; return this; } public Integer getHour() { return this.hour; } public UpdateAlarmRequestPayloadScheduleInfoOnce setMinute(Integer minute) { this.minute = minute; return this; } public Integer getMinute() { return this.minute; } public UpdateAlarmRequestPayloadScheduleInfoOnce setMonth(Integer month) { this.month = month; return this; } public Integer getMonth() { return this.month; } public UpdateAlarmRequestPayloadScheduleInfoOnce setYear(Integer year) { this.year = year; return this; } public Integer getYear() { return this.year; } } public static class UpdateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay 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 UpdateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay build(java.util.Map<String, ?> map) throws Exception { UpdateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay self = new UpdateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay(); return TeaModel.build(map, self); } public UpdateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay setHour(Integer hour) { this.hour = hour; return this; } public Integer getHour() { return this.hour; } public UpdateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay setMinute(Integer minute) { this.minute = minute; return this; } public Integer getMinute() { return this.minute; } } public static class UpdateAlarmRequestPayloadScheduleInfoWeekly 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 UpdateAlarmRequestPayloadScheduleInfoWeekly build(java.util.Map<String, ?> map) throws Exception { UpdateAlarmRequestPayloadScheduleInfoWeekly self = new UpdateAlarmRequestPayloadScheduleInfoWeekly(); return TeaModel.build(map, self); } public UpdateAlarmRequestPayloadScheduleInfoWeekly setDaysOfWeek(java.util.List<Integer> daysOfWeek) { this.daysOfWeek = daysOfWeek; return this; } public java.util.List<Integer> getDaysOfWeek() { return this.daysOfWeek; } public UpdateAlarmRequestPayloadScheduleInfoWeekly setHour(Integer hour) { this.hour = hour; return this; } public Integer getHour() { return this.hour; } public UpdateAlarmRequestPayloadScheduleInfoWeekly setMinute(Integer minute) { this.minute = minute; return this; } public Integer getMinute() { return this.minute; } } public static class UpdateAlarmRequestPayloadScheduleInfo extends TeaModel { @NameInMap("Once") public UpdateAlarmRequestPayloadScheduleInfoOnce once; @NameInMap("StatutoryWorkingDay") public UpdateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay statutoryWorkingDay; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>WEEKLY</p> */ @NameInMap("Type") public String type; @NameInMap("Weekly") public UpdateAlarmRequestPayloadScheduleInfoWeekly weekly; public static UpdateAlarmRequestPayloadScheduleInfo build(java.util.Map<String, ?> map) throws Exception { UpdateAlarmRequestPayloadScheduleInfo self = new UpdateAlarmRequestPayloadScheduleInfo(); return TeaModel.build(map, self); } public UpdateAlarmRequestPayloadScheduleInfo setOnce(UpdateAlarmRequestPayloadScheduleInfoOnce once) { this.once = once; return this; } public UpdateAlarmRequestPayloadScheduleInfoOnce getOnce() { return this.once; } public UpdateAlarmRequestPayloadScheduleInfo setStatutoryWorkingDay(UpdateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay statutoryWorkingDay) { this.statutoryWorkingDay = statutoryWorkingDay; return this; } public UpdateAlarmRequestPayloadScheduleInfoStatutoryWorkingDay getStatutoryWorkingDay() { return this.statutoryWorkingDay; } public UpdateAlarmRequestPayloadScheduleInfo setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public UpdateAlarmRequestPayloadScheduleInfo setWeekly(UpdateAlarmRequestPayloadScheduleInfoWeekly weekly) { this.weekly = weekly; return this; } public UpdateAlarmRequestPayloadScheduleInfoWeekly getWeekly() { return this.weekly; } } public static class UpdateAlarmRequestPayload extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1234567</p> */ @NameInMap("AlarmId") public Long alarmId; /** * <p>This parameter is required.</p> */ @NameInMap("MusicInfo") public UpdateAlarmRequestPayloadMusicInfo musicInfo; /** * <p>This parameter is required.</p> */ @NameInMap("ScheduleInfo") public UpdateAlarmRequestPayloadScheduleInfo scheduleInfo; /** * <strong>example:</strong> * <p>40</p> */ @NameInMap("Volume") public Integer volume; public static UpdateAlarmRequestPayload build(java.util.Map<String, ?> map) throws Exception { UpdateAlarmRequestPayload self = new UpdateAlarmRequestPayload(); return TeaModel.build(map, self); } public UpdateAlarmRequestPayload setAlarmId(Long alarmId) { this.alarmId = alarmId; return this; } public Long getAlarmId() { return this.alarmId; } public UpdateAlarmRequestPayload setMusicInfo(UpdateAlarmRequestPayloadMusicInfo musicInfo) { this.musicInfo = musicInfo; return this; } public UpdateAlarmRequestPayloadMusicInfo getMusicInfo() { return this.musicInfo; } public UpdateAlarmRequestPayload setScheduleInfo(UpdateAlarmRequestPayloadScheduleInfo scheduleInfo) { this.scheduleInfo = scheduleInfo; return this; } public UpdateAlarmRequestPayloadScheduleInfo getScheduleInfo() { return this.scheduleInfo; } public UpdateAlarmRequestPayload setVolume(Integer volume) { this.volume = volume; return this; } public Integer getVolume() { return this.volume; } } public static class UpdateAlarmRequestUserInfo 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 UpdateAlarmRequestUserInfo build(java.util.Map<String, ?> map) throws Exception { UpdateAlarmRequestUserInfo self = new UpdateAlarmRequestUserInfo(); return TeaModel.build(map, self); } public UpdateAlarmRequestUserInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public UpdateAlarmRequestUserInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public UpdateAlarmRequestUserInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public UpdateAlarmRequestUserInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public UpdateAlarmRequestUserInfo 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/UpdateAlarmResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UpdateAlarmResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public UpdateAlarmResponseBody body; public static UpdateAlarmResponse build(java.util.Map<String, ?> map) throws Exception { UpdateAlarmResponse self = new UpdateAlarmResponse(); return TeaModel.build(map, self); } public UpdateAlarmResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public UpdateAlarmResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public UpdateAlarmResponse setBody(UpdateAlarmResponseBody body) { this.body = body; return this; } public UpdateAlarmResponseBody 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/UpdateAlarmResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UpdateAlarmResponseBody 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 UpdateAlarmResponseBody build(java.util.Map<String, ?> map) throws Exception { UpdateAlarmResponseBody self = new UpdateAlarmResponseBody(); return TeaModel.build(map, self); } public UpdateAlarmResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public UpdateAlarmResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public UpdateAlarmResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public UpdateAlarmResponseBody 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/UpdateAlarmShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligeniessp_1_0.models; import com.aliyun.tea.*; public class UpdateAlarmShrinkRequest 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 UpdateAlarmShrinkRequest build(java.util.Map<String, ?> map) throws Exception { UpdateAlarmShrinkRequest self = new UpdateAlarmShrinkRequest(); return TeaModel.build(map, self); } public UpdateAlarmShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) { this.deviceInfoShrink = deviceInfoShrink; return this; } public String getDeviceInfoShrink() { return this.deviceInfoShrink; } public UpdateAlarmShrinkRequest setPayloadShrink(String payloadShrink) { this.payloadShrink = payloadShrink; return this; } public String getPayloadShrink() { return this.payloadShrink; } public UpdateAlarmShrinkRequest setUserInfoShrink(String userInfoShrink) { this.userInfoShrink = userInfoShrink; return this; } public String getUserInfoShrink() { return this.userInfoShrink; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/Client.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015; import com.aliyun.tea.*; import com.aliyun.alikafka20181015.models.*; public class Client extends com.aliyun.teaopenapi.Client { public Client(com.aliyun.teaopenapi.models.Config config) throws Exception { super(config); this._endpointRule = "regional"; this.checkConfig(config); this._endpoint = this.getEndpoint("alikafka", _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>创建 Group</p> * * @param request CreateConsumerGroupRequest * @param runtime runtime options for this request RuntimeOptions * @return CreateConsumerGroupResponse */ public CreateConsumerGroupResponse createConsumerGroupWithOptions(CreateConsumerGroupRequest request, 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.consumerId)) { query.put("ConsumerId", request.consumerId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "CreateConsumerGroup"), new TeaPair("version", "2018-10-15"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreateConsumerGroupResponse()); } /** * <b>summary</b> : * <p>创建 Group</p> * * @param request CreateConsumerGroupRequest * @return CreateConsumerGroupResponse */ public CreateConsumerGroupResponse createConsumerGroup(CreateConsumerGroupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createConsumerGroupWithOptions(request, runtime); } /** * @param request CreateTopicRequest * @param runtime runtime options for this request RuntimeOptions * @return CreateTopicResponse */ public CreateTopicResponse createTopicWithOptions(CreateTopicRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.topic)) { query.put("Topic", request.topic); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "CreateTopic"), new TeaPair("version", "2018-10-15"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreateTopicResponse()); } /** * @param request CreateTopicRequest * @return CreateTopicResponse */ public CreateTopicResponse createTopic(CreateTopicRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createTopicWithOptions(request, runtime); } /** * @param request DeleteConsumerGroupRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteConsumerGroupResponse */ public DeleteConsumerGroupResponse deleteConsumerGroupWithOptions(DeleteConsumerGroupRequest request, 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.consumerId)) { query.put("ConsumerId", request.consumerId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "DeleteConsumerGroup"), new TeaPair("version", "2018-10-15"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteConsumerGroupResponse()); } /** * @param request DeleteConsumerGroupRequest * @return DeleteConsumerGroupResponse */ public DeleteConsumerGroupResponse deleteConsumerGroup(DeleteConsumerGroupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteConsumerGroupWithOptions(request, runtime); } /** * @param request DeleteTopicRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteTopicResponse */ public DeleteTopicResponse deleteTopicWithOptions(DeleteTopicRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.topic)) { query.put("Topic", request.topic); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "DeleteTopic"), new TeaPair("version", "2018-10-15"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteTopicResponse()); } /** * @param request DeleteTopicRequest * @return DeleteTopicResponse */ public DeleteTopicResponse deleteTopic(DeleteTopicRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteTopicWithOptions(request, runtime); } /** * @param request GetConsumerListRequest * @param runtime runtime options for this request RuntimeOptions * @return GetConsumerListResponse */ public GetConsumerListResponse getConsumerListWithOptions(GetConsumerListRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetConsumerList"), new TeaPair("version", "2018-10-15"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetConsumerListResponse()); } /** * @param request GetConsumerListRequest * @return GetConsumerListResponse */ public GetConsumerListResponse getConsumerList(GetConsumerListRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getConsumerListWithOptions(request, runtime); } /** * @param request GetConsumerProgressRequest * @param runtime runtime options for this request RuntimeOptions * @return GetConsumerProgressResponse */ public GetConsumerProgressResponse getConsumerProgressWithOptions(GetConsumerProgressRequest request, 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.consumerId)) { query.put("ConsumerId", request.consumerId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetConsumerProgress"), new TeaPair("version", "2018-10-15"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetConsumerProgressResponse()); } /** * @param request GetConsumerProgressRequest * @return GetConsumerProgressResponse */ public GetConsumerProgressResponse getConsumerProgress(GetConsumerProgressRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getConsumerProgressWithOptions(request, runtime); } /** * @param request GetInstanceListRequest * @param runtime runtime options for this request RuntimeOptions * @return GetInstanceListResponse */ public GetInstanceListResponse getInstanceListWithOptions(GetInstanceListRequest request, 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.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetInstanceList"), new TeaPair("version", "2018-10-15"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetInstanceListResponse()); } /** * @param request GetInstanceListRequest * @return GetInstanceListResponse */ public GetInstanceListResponse getInstanceList(GetInstanceListRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getInstanceListWithOptions(request, runtime); } /** * @param request GetTopicListRequest * @param runtime runtime options for this request RuntimeOptions * @return GetTopicListResponse */ public GetTopicListResponse getTopicListWithOptions(GetTopicListRequest request, 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.currentPage)) { query.put("CurrentPage", request.currentPage); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetTopicList"), new TeaPair("version", "2018-10-15"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetTopicListResponse()); } /** * @param request GetTopicListRequest * @return GetTopicListResponse */ public GetTopicListResponse getTopicList(GetTopicListRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getTopicListWithOptions(request, runtime); } /** * @param request GetTopicStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return GetTopicStatusResponse */ public GetTopicStatusResponse getTopicStatusWithOptions(GetTopicStatusRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.topic)) { query.put("Topic", request.topic); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetTopicStatus"), new TeaPair("version", "2018-10-15"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetTopicStatusResponse()); } /** * @param request GetTopicStatusRequest * @return GetTopicStatusResponse */ public GetTopicStatusResponse getTopicStatus(GetTopicStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getTopicStatusWithOptions(request, runtime); } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/CreateConsumerGroupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class CreateConsumerGroupRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>consumer_group_test</p> */ @NameInMap("ConsumerId") public String consumerId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_pre-cn-0pp1954n****</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; public static CreateConsumerGroupRequest build(java.util.Map<String, ?> map) throws Exception { CreateConsumerGroupRequest self = new CreateConsumerGroupRequest(); return TeaModel.build(map, self); } public CreateConsumerGroupRequest setConsumerId(String consumerId) { this.consumerId = consumerId; return this; } public String getConsumerId() { return this.consumerId; } public CreateConsumerGroupRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public CreateConsumerGroupRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/CreateConsumerGroupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class CreateConsumerGroupResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CreateConsumerGroupResponseBody body; public static CreateConsumerGroupResponse build(java.util.Map<String, ?> map) throws Exception { CreateConsumerGroupResponse self = new CreateConsumerGroupResponse(); return TeaModel.build(map, self); } public CreateConsumerGroupResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CreateConsumerGroupResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CreateConsumerGroupResponse setBody(CreateConsumerGroupResponseBody body) { this.body = body; return this; } public CreateConsumerGroupResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/CreateConsumerGroupResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class CreateConsumerGroupResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <strong>example:</strong> * <p>operation success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>B191CC4D-B067-4508-987A-ACDA8D89****</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static CreateConsumerGroupResponseBody build(java.util.Map<String, ?> map) throws Exception { CreateConsumerGroupResponseBody self = new CreateConsumerGroupResponseBody(); return TeaModel.build(map, self); } public CreateConsumerGroupResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public CreateConsumerGroupResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public CreateConsumerGroupResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public CreateConsumerGroupResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/CreateTopicRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class CreateTopicRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_pre-cn-mp919o4v****</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_topic_test</p> */ @NameInMap("Remark") public String remark; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_topic_test</p> */ @NameInMap("Topic") public String topic; public static CreateTopicRequest build(java.util.Map<String, ?> map) throws Exception { CreateTopicRequest self = new CreateTopicRequest(); return TeaModel.build(map, self); } public CreateTopicRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public CreateTopicRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public CreateTopicRequest setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } public CreateTopicRequest setTopic(String topic) { this.topic = topic; return this; } public String getTopic() { return this.topic; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/CreateTopicResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class CreateTopicResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CreateTopicResponseBody body; public static CreateTopicResponse build(java.util.Map<String, ?> map) throws Exception { CreateTopicResponse self = new CreateTopicResponse(); return TeaModel.build(map, self); } public CreateTopicResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CreateTopicResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CreateTopicResponse setBody(CreateTopicResponseBody body) { this.body = body; return this; } public CreateTopicResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/CreateTopicResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class CreateTopicResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <strong>example:</strong> * <p>operation success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>9C0F207C-77A6-43E5-991C-9D98510A****</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static CreateTopicResponseBody build(java.util.Map<String, ?> map) throws Exception { CreateTopicResponseBody self = new CreateTopicResponseBody(); return TeaModel.build(map, self); } public CreateTopicResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public CreateTopicResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public CreateTopicResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public CreateTopicResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/DeleteConsumerGroupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class DeleteConsumerGroupRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testconsumer</p> */ @NameInMap("ConsumerId") public String consumerId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_post-cn-mp91a44k****</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; public static DeleteConsumerGroupRequest build(java.util.Map<String, ?> map) throws Exception { DeleteConsumerGroupRequest self = new DeleteConsumerGroupRequest(); return TeaModel.build(map, self); } public DeleteConsumerGroupRequest setConsumerId(String consumerId) { this.consumerId = consumerId; return this; } public String getConsumerId() { return this.consumerId; } public DeleteConsumerGroupRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public DeleteConsumerGroupRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/DeleteConsumerGroupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class DeleteConsumerGroupResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public DeleteConsumerGroupResponseBody body; public static DeleteConsumerGroupResponse build(java.util.Map<String, ?> map) throws Exception { DeleteConsumerGroupResponse self = new DeleteConsumerGroupResponse(); return TeaModel.build(map, self); } public DeleteConsumerGroupResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public DeleteConsumerGroupResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public DeleteConsumerGroupResponse setBody(DeleteConsumerGroupResponseBody body) { this.body = body; return this; } public DeleteConsumerGroupResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/DeleteConsumerGroupResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class DeleteConsumerGroupResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <strong>example:</strong> * <p>operation success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>1AA2A2AD-2727-4573-B1C7-A0388BCD****</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static DeleteConsumerGroupResponseBody build(java.util.Map<String, ?> map) throws Exception { DeleteConsumerGroupResponseBody self = new DeleteConsumerGroupResponseBody(); return TeaModel.build(map, self); } public DeleteConsumerGroupResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public DeleteConsumerGroupResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public DeleteConsumerGroupResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DeleteConsumerGroupResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/DeleteTopicRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class DeleteTopicRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_post-cn-mp91a44k****</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Kafkatest</p> */ @NameInMap("Topic") public String topic; public static DeleteTopicRequest build(java.util.Map<String, ?> map) throws Exception { DeleteTopicRequest self = new DeleteTopicRequest(); return TeaModel.build(map, self); } public DeleteTopicRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public DeleteTopicRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public DeleteTopicRequest setTopic(String topic) { this.topic = topic; return this; } public String getTopic() { return this.topic; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/DeleteTopicResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class DeleteTopicResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public DeleteTopicResponseBody body; public static DeleteTopicResponse build(java.util.Map<String, ?> map) throws Exception { DeleteTopicResponse self = new DeleteTopicResponse(); return TeaModel.build(map, self); } public DeleteTopicResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public DeleteTopicResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public DeleteTopicResponse setBody(DeleteTopicResponseBody body) { this.body = body; return this; } public DeleteTopicResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/DeleteTopicResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class DeleteTopicResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <strong>example:</strong> * <p>operation success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>9B618B3F-9506-4661-A211-D00C4556****</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static DeleteTopicResponseBody build(java.util.Map<String, ?> map) throws Exception { DeleteTopicResponseBody self = new DeleteTopicResponseBody(); return TeaModel.build(map, self); } public DeleteTopicResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public DeleteTopicResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public DeleteTopicResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DeleteTopicResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetConsumerListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetConsumerListRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_post-cn-v0h18sav****</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; public static GetConsumerListRequest build(java.util.Map<String, ?> map) throws Exception { GetConsumerListRequest self = new GetConsumerListRequest(); return TeaModel.build(map, self); } public GetConsumerListRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public GetConsumerListRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetConsumerListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetConsumerListResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetConsumerListResponseBody body; public static GetConsumerListResponse build(java.util.Map<String, ?> map) throws Exception { GetConsumerListResponse self = new GetConsumerListResponse(); return TeaModel.build(map, self); } public GetConsumerListResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetConsumerListResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetConsumerListResponse setBody(GetConsumerListResponseBody body) { this.body = body; return this; } public GetConsumerListResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetConsumerListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetConsumerListResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("ConsumerList") public GetConsumerListResponseBodyConsumerList consumerList; /** * <strong>example:</strong> * <p>operation success.</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>808F042B-CB9A-4FBC-9009-00E7DDB6****</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static GetConsumerListResponseBody build(java.util.Map<String, ?> map) throws Exception { GetConsumerListResponseBody self = new GetConsumerListResponseBody(); return TeaModel.build(map, self); } public GetConsumerListResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetConsumerListResponseBody setConsumerList(GetConsumerListResponseBodyConsumerList consumerList) { this.consumerList = consumerList; return this; } public GetConsumerListResponseBodyConsumerList getConsumerList() { return this.consumerList; } public GetConsumerListResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetConsumerListResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public GetConsumerListResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public static class GetConsumerListResponseBodyConsumerListConsumerVO extends TeaModel { /** * <strong>example:</strong> * <p>CID_c34a6f44915f80d70cb42c4b14ee40c3_4</p> */ @NameInMap("ConsumerId") public String consumerId; /** * <strong>example:</strong> * <p>alikafka_post-cn-v0h18sav0001</p> */ @NameInMap("InstanceId") public String instanceId; /** * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; public static GetConsumerListResponseBodyConsumerListConsumerVO build(java.util.Map<String, ?> map) throws Exception { GetConsumerListResponseBodyConsumerListConsumerVO self = new GetConsumerListResponseBodyConsumerListConsumerVO(); return TeaModel.build(map, self); } public GetConsumerListResponseBodyConsumerListConsumerVO setConsumerId(String consumerId) { this.consumerId = consumerId; return this; } public String getConsumerId() { return this.consumerId; } public GetConsumerListResponseBodyConsumerListConsumerVO setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public GetConsumerListResponseBodyConsumerListConsumerVO setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } } public static class GetConsumerListResponseBodyConsumerList extends TeaModel { @NameInMap("ConsumerVO") public java.util.List<GetConsumerListResponseBodyConsumerListConsumerVO> consumerVO; public static GetConsumerListResponseBodyConsumerList build(java.util.Map<String, ?> map) throws Exception { GetConsumerListResponseBodyConsumerList self = new GetConsumerListResponseBodyConsumerList(); return TeaModel.build(map, self); } public GetConsumerListResponseBodyConsumerList setConsumerVO(java.util.List<GetConsumerListResponseBodyConsumerListConsumerVO> consumerVO) { this.consumerVO = consumerVO; return this; } public java.util.List<GetConsumerListResponseBodyConsumerListConsumerVO> getConsumerVO() { return this.consumerVO; } } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetConsumerProgressRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetConsumerProgressRequest extends TeaModel { /** * <p>Consumer Group ID。</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>kafka-test</p> */ @NameInMap("ConsumerId") public String consumerId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_pre-cn-mp919o4v****</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; public static GetConsumerProgressRequest build(java.util.Map<String, ?> map) throws Exception { GetConsumerProgressRequest self = new GetConsumerProgressRequest(); return TeaModel.build(map, self); } public GetConsumerProgressRequest setConsumerId(String consumerId) { this.consumerId = consumerId; return this; } public String getConsumerId() { return this.consumerId; } public GetConsumerProgressRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public GetConsumerProgressRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetConsumerProgressResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetConsumerProgressResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetConsumerProgressResponseBody body; public static GetConsumerProgressResponse build(java.util.Map<String, ?> map) throws Exception { GetConsumerProgressResponse self = new GetConsumerProgressResponse(); return TeaModel.build(map, self); } public GetConsumerProgressResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetConsumerProgressResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetConsumerProgressResponse setBody(GetConsumerProgressResponseBody body) { this.body = body; return this; } public GetConsumerProgressResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetConsumerProgressResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetConsumerProgressResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("ConsumerProgress") public GetConsumerProgressResponseBodyConsumerProgress consumerProgress; /** * <strong>example:</strong> * <p>operation success.</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>252820E1-A2E6-45F2-B4C9-1056B8CE****</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static GetConsumerProgressResponseBody build(java.util.Map<String, ?> map) throws Exception { GetConsumerProgressResponseBody self = new GetConsumerProgressResponseBody(); return TeaModel.build(map, self); } public GetConsumerProgressResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetConsumerProgressResponseBody setConsumerProgress(GetConsumerProgressResponseBodyConsumerProgress consumerProgress) { this.consumerProgress = consumerProgress; return this; } public GetConsumerProgressResponseBodyConsumerProgress getConsumerProgress() { return this.consumerProgress; } public GetConsumerProgressResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetConsumerProgressResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public GetConsumerProgressResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public static class GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList extends TeaModel { /** * <strong>example:</strong> * <p>9</p> */ @NameInMap("BrokerOffset") public Long brokerOffset; /** * <strong>example:</strong> * <p>9</p> */ @NameInMap("ConsumerOffset") public Long consumerOffset; /** * <strong>example:</strong> * <p>1566874931649</p> */ @NameInMap("LastTimestamp") public Long lastTimestamp; /** * <strong>example:</strong> * <p>0</p> */ @NameInMap("Partition") public Integer partition; public static GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList build(java.util.Map<String, ?> map) throws Exception { GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList self = new GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList(); return TeaModel.build(map, self); } public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList setBrokerOffset(Long brokerOffset) { this.brokerOffset = brokerOffset; return this; } public Long getBrokerOffset() { return this.brokerOffset; } public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList setConsumerOffset(Long consumerOffset) { this.consumerOffset = consumerOffset; return this; } public Long getConsumerOffset() { return this.consumerOffset; } public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList setLastTimestamp(Long lastTimestamp) { this.lastTimestamp = lastTimestamp; return this; } public Long getLastTimestamp() { return this.lastTimestamp; } public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList setPartition(Integer partition) { this.partition = partition; return this; } public Integer getPartition() { return this.partition; } } public static class GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList extends TeaModel { @NameInMap("OffsetList") public java.util.List<GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList> offsetList; public static GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList build(java.util.Map<String, ?> map) throws Exception { GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList self = new GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList(); return TeaModel.build(map, self); } public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList setOffsetList(java.util.List<GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList> offsetList) { this.offsetList = offsetList; return this; } public java.util.List<GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetListOffsetList> getOffsetList() { return this.offsetList; } } public static class GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList extends TeaModel { /** * <strong>example:</strong> * <p>1566874931649</p> */ @NameInMap("LastTimestamp") public Long lastTimestamp; @NameInMap("OffsetList") public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList offsetList; /** * <strong>example:</strong> * <p>kafka-test</p> */ @NameInMap("Topic") public String topic; /** * <strong>example:</strong> * <p>0</p> */ @NameInMap("TotalDiff") public Long totalDiff; public static GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList build(java.util.Map<String, ?> map) throws Exception { GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList self = new GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList(); return TeaModel.build(map, self); } public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList setLastTimestamp(Long lastTimestamp) { this.lastTimestamp = lastTimestamp; return this; } public Long getLastTimestamp() { return this.lastTimestamp; } public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList setOffsetList(GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList offsetList) { this.offsetList = offsetList; return this; } public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicListOffsetList getOffsetList() { return this.offsetList; } public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList setTopic(String topic) { this.topic = topic; return this; } public String getTopic() { return this.topic; } public GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList setTotalDiff(Long totalDiff) { this.totalDiff = totalDiff; return this; } public Long getTotalDiff() { return this.totalDiff; } } public static class GetConsumerProgressResponseBodyConsumerProgressTopicList extends TeaModel { @NameInMap("TopicList") public java.util.List<GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList> topicList; public static GetConsumerProgressResponseBodyConsumerProgressTopicList build(java.util.Map<String, ?> map) throws Exception { GetConsumerProgressResponseBodyConsumerProgressTopicList self = new GetConsumerProgressResponseBodyConsumerProgressTopicList(); return TeaModel.build(map, self); } public GetConsumerProgressResponseBodyConsumerProgressTopicList setTopicList(java.util.List<GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList> topicList) { this.topicList = topicList; return this; } public java.util.List<GetConsumerProgressResponseBodyConsumerProgressTopicListTopicList> getTopicList() { return this.topicList; } } public static class GetConsumerProgressResponseBodyConsumerProgress extends TeaModel { /** * <strong>example:</strong> * <p>1566874931671</p> */ @NameInMap("LastTimestamp") public Long lastTimestamp; @NameInMap("TopicList") public GetConsumerProgressResponseBodyConsumerProgressTopicList topicList; /** * <strong>example:</strong> * <p>0</p> */ @NameInMap("TotalDiff") public Long totalDiff; @NameInMap("state") public String state; public static GetConsumerProgressResponseBodyConsumerProgress build(java.util.Map<String, ?> map) throws Exception { GetConsumerProgressResponseBodyConsumerProgress self = new GetConsumerProgressResponseBodyConsumerProgress(); return TeaModel.build(map, self); } public GetConsumerProgressResponseBodyConsumerProgress setLastTimestamp(Long lastTimestamp) { this.lastTimestamp = lastTimestamp; return this; } public Long getLastTimestamp() { return this.lastTimestamp; } public GetConsumerProgressResponseBodyConsumerProgress setTopicList(GetConsumerProgressResponseBodyConsumerProgressTopicList topicList) { this.topicList = topicList; return this; } public GetConsumerProgressResponseBodyConsumerProgressTopicList getTopicList() { return this.topicList; } public GetConsumerProgressResponseBodyConsumerProgress setTotalDiff(Long totalDiff) { this.totalDiff = totalDiff; return this; } public Long getTotalDiff() { return this.totalDiff; } public GetConsumerProgressResponseBodyConsumerProgress setState(String state) { this.state = state; return this; } public String getState() { return this.state; } } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetInstanceListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetInstanceListRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; public static GetInstanceListRequest build(java.util.Map<String, ?> map) throws Exception { GetInstanceListRequest self = new GetInstanceListRequest(); return TeaModel.build(map, self); } public GetInstanceListRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetInstanceListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetInstanceListResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetInstanceListResponseBody body; public static GetInstanceListResponse build(java.util.Map<String, ?> map) throws Exception { GetInstanceListResponse self = new GetInstanceListResponse(); return TeaModel.build(map, self); } public GetInstanceListResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetInstanceListResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetInstanceListResponse setBody(GetInstanceListResponseBody body) { this.body = body; return this; } public GetInstanceListResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetInstanceListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetInstanceListResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("InstanceList") public GetInstanceListResponseBodyInstanceList instanceList; /** * <strong>example:</strong> * <p>operation success.</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>ABA4A7FD-E10F-45C7-9774-A5236015****</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static GetInstanceListResponseBody build(java.util.Map<String, ?> map) throws Exception { GetInstanceListResponseBody self = new GetInstanceListResponseBody(); return TeaModel.build(map, self); } public GetInstanceListResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetInstanceListResponseBody setInstanceList(GetInstanceListResponseBodyInstanceList instanceList) { this.instanceList = instanceList; return this; } public GetInstanceListResponseBodyInstanceList getInstanceList() { return this.instanceList; } public GetInstanceListResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetInstanceListResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public GetInstanceListResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public static class GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfoUpgradeServiceDetailInfoVO extends TeaModel { /** * <strong>example:</strong> * <p>0.10</p> */ @NameInMap("Current2OpenSourceVersion") public String current2OpenSourceVersion; public static GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfoUpgradeServiceDetailInfoVO build(java.util.Map<String, ?> map) throws Exception { GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfoUpgradeServiceDetailInfoVO self = new GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfoUpgradeServiceDetailInfoVO(); return TeaModel.build(map, self); } public GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfoUpgradeServiceDetailInfoVO setCurrent2OpenSourceVersion(String current2OpenSourceVersion) { this.current2OpenSourceVersion = current2OpenSourceVersion; return this; } public String getCurrent2OpenSourceVersion() { return this.current2OpenSourceVersion; } } public static class GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo extends TeaModel { @NameInMap("UpgradeServiceDetailInfoVO") public java.util.List<GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfoUpgradeServiceDetailInfoVO> upgradeServiceDetailInfoVO; public static GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo build(java.util.Map<String, ?> map) throws Exception { GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo self = new GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo(); return TeaModel.build(map, self); } public GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo setUpgradeServiceDetailInfoVO(java.util.List<GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfoUpgradeServiceDetailInfoVO> upgradeServiceDetailInfoVO) { this.upgradeServiceDetailInfoVO = upgradeServiceDetailInfoVO; return this; } public java.util.List<GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfoUpgradeServiceDetailInfoVO> getUpgradeServiceDetailInfoVO() { return this.upgradeServiceDetailInfoVO; } } public static class GetInstanceListResponseBodyInstanceListInstanceVO extends TeaModel { /** * <strong>example:</strong> * <p>1566215995000</p> */ @NameInMap("CreateTime") public Long createTime; /** * <strong>example:</strong> * <p>4</p> */ @NameInMap("DeployType") public Integer deployType; /** * <strong>example:</strong> * <p>192.168.0.212:9092,192.168.0.210:9092,192.168.0.211:****</p> */ @NameInMap("EndPoint") public String endPoint; /** * <strong>example:</strong> * <p>1568908800000</p> */ @NameInMap("ExpiredTime") public Long expiredTime; /** * <strong>example:</strong> * <p>alikafka_pre-cn-mp919o4v****</p> */ @NameInMap("InstanceId") public String instanceId; /** * <strong>example:</strong> * <p>alikafka_pre-cn-mp919o4v****</p> */ @NameInMap("Name") public String name; /** * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; /** * <strong>example:</strong> * <p>5</p> */ @NameInMap("ServiceStatus") public Integer serviceStatus; /** * <strong>example:</strong> * <p>47.111.110.11:9093,121.40.96.141:9093,47.111.118.133:****</p> */ @NameInMap("SslEndPoint") public String sslEndPoint; @NameInMap("UpgradeServiceDetailInfo") public GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo upgradeServiceDetailInfo; /** * <p>VSwitch ID。</p> * * <strong>example:</strong> * <p>vsw-bp13rg6bcpkxofr78****</p> */ @NameInMap("VSwitchId") public String vSwitchId; /** * <p>VPC ID。</p> * * <strong>example:</strong> * <p>vpc-bp1l6hrlykj3405r7****</p> */ @NameInMap("VpcId") public String vpcId; public static GetInstanceListResponseBodyInstanceListInstanceVO build(java.util.Map<String, ?> map) throws Exception { GetInstanceListResponseBodyInstanceListInstanceVO self = new GetInstanceListResponseBodyInstanceListInstanceVO(); return TeaModel.build(map, self); } public GetInstanceListResponseBodyInstanceListInstanceVO setCreateTime(Long createTime) { this.createTime = createTime; return this; } public Long getCreateTime() { return this.createTime; } public GetInstanceListResponseBodyInstanceListInstanceVO setDeployType(Integer deployType) { this.deployType = deployType; return this; } public Integer getDeployType() { return this.deployType; } public GetInstanceListResponseBodyInstanceListInstanceVO setEndPoint(String endPoint) { this.endPoint = endPoint; return this; } public String getEndPoint() { return this.endPoint; } public GetInstanceListResponseBodyInstanceListInstanceVO setExpiredTime(Long expiredTime) { this.expiredTime = expiredTime; return this; } public Long getExpiredTime() { return this.expiredTime; } public GetInstanceListResponseBodyInstanceListInstanceVO setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public GetInstanceListResponseBodyInstanceListInstanceVO setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public GetInstanceListResponseBodyInstanceListInstanceVO setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public GetInstanceListResponseBodyInstanceListInstanceVO setServiceStatus(Integer serviceStatus) { this.serviceStatus = serviceStatus; return this; } public Integer getServiceStatus() { return this.serviceStatus; } public GetInstanceListResponseBodyInstanceListInstanceVO setSslEndPoint(String sslEndPoint) { this.sslEndPoint = sslEndPoint; return this; } public String getSslEndPoint() { return this.sslEndPoint; } public GetInstanceListResponseBodyInstanceListInstanceVO setUpgradeServiceDetailInfo(GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo upgradeServiceDetailInfo) { this.upgradeServiceDetailInfo = upgradeServiceDetailInfo; return this; } public GetInstanceListResponseBodyInstanceListInstanceVOUpgradeServiceDetailInfo getUpgradeServiceDetailInfo() { return this.upgradeServiceDetailInfo; } public GetInstanceListResponseBodyInstanceListInstanceVO setVSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } public String getVSwitchId() { return this.vSwitchId; } public GetInstanceListResponseBodyInstanceListInstanceVO setVpcId(String vpcId) { this.vpcId = vpcId; return this; } public String getVpcId() { return this.vpcId; } } public static class GetInstanceListResponseBodyInstanceList extends TeaModel { @NameInMap("InstanceVO") public java.util.List<GetInstanceListResponseBodyInstanceListInstanceVO> instanceVO; public static GetInstanceListResponseBodyInstanceList build(java.util.Map<String, ?> map) throws Exception { GetInstanceListResponseBodyInstanceList self = new GetInstanceListResponseBodyInstanceList(); return TeaModel.build(map, self); } public GetInstanceListResponseBodyInstanceList setInstanceVO(java.util.List<GetInstanceListResponseBodyInstanceListInstanceVO> instanceVO) { this.instanceVO = instanceVO; return this; } public java.util.List<GetInstanceListResponseBodyInstanceListInstanceVO> getInstanceVO() { return this.instanceVO; } } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetTopicListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetTopicListRequest extends TeaModel { @NameInMap("CurrentPage") public String currentPage; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_pre-cn-0pp1954n2003</p> */ @NameInMap("InstanceId") public String instanceId; @NameInMap("PageSize") public String pageSize; /** * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; public static GetTopicListRequest build(java.util.Map<String, ?> map) throws Exception { GetTopicListRequest self = new GetTopicListRequest(); return TeaModel.build(map, self); } public GetTopicListRequest setCurrentPage(String currentPage) { this.currentPage = currentPage; return this; } public String getCurrentPage() { return this.currentPage; } public GetTopicListRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public GetTopicListRequest setPageSize(String pageSize) { this.pageSize = pageSize; return this; } public String getPageSize() { return this.pageSize; } public GetTopicListRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetTopicListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetTopicListResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetTopicListResponseBody body; public static GetTopicListResponse build(java.util.Map<String, ?> map) throws Exception { GetTopicListResponse self = new GetTopicListResponse(); return TeaModel.build(map, self); } public GetTopicListResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetTopicListResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetTopicListResponse setBody(GetTopicListResponseBody body) { this.body = body; return this; } public GetTopicListResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetTopicListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetTopicListResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <strong>example:</strong> * <p>1</p> */ @NameInMap("CurrentPage") public Integer currentPage; /** * <strong>example:</strong> * <p>operation success.</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>10000</p> */ @NameInMap("PageSize") public Integer pageSize; /** * <strong>example:</strong> * <p>82BD585C-17A1-486E-B3E8-AABCE8EE****</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; @NameInMap("TopicList") public GetTopicListResponseBodyTopicList topicList; /** * <strong>example:</strong> * <p>12</p> */ @NameInMap("Total") public Integer total; public static GetTopicListResponseBody build(java.util.Map<String, ?> map) throws Exception { GetTopicListResponseBody self = new GetTopicListResponseBody(); return TeaModel.build(map, self); } public GetTopicListResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetTopicListResponseBody setCurrentPage(Integer currentPage) { this.currentPage = currentPage; return this; } public Integer getCurrentPage() { return this.currentPage; } public GetTopicListResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetTopicListResponseBody setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public GetTopicListResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public GetTopicListResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public GetTopicListResponseBody setTopicList(GetTopicListResponseBodyTopicList topicList) { this.topicList = topicList; return this; } public GetTopicListResponseBodyTopicList getTopicList() { return this.topicList; } public GetTopicListResponseBody setTotal(Integer total) { this.total = total; return this; } public Integer getTotal() { return this.total; } public static class GetTopicListResponseBodyTopicListTopicVO extends TeaModel { /** * <strong>example:</strong> * <p>1566804394000</p> */ @NameInMap("CreateTime") public Long createTime; /** * <strong>example:</strong> * <p>alikafka_pre-cn-0pp1954n****</p> */ @NameInMap("InstanceId") public String instanceId; /** * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; /** * <strong>example:</strong> * <p>kafka_test_topic</p> */ @NameInMap("Remark") public String remark; /** * <strong>example:</strong> * <p>0</p> */ @NameInMap("Status") public Integer status; @NameInMap("StatusName") public String statusName; /** * <strong>example:</strong> * <p>poptest</p> */ @NameInMap("Topic") public String topic; public static GetTopicListResponseBodyTopicListTopicVO build(java.util.Map<String, ?> map) throws Exception { GetTopicListResponseBodyTopicListTopicVO self = new GetTopicListResponseBodyTopicListTopicVO(); return TeaModel.build(map, self); } public GetTopicListResponseBodyTopicListTopicVO setCreateTime(Long createTime) { this.createTime = createTime; return this; } public Long getCreateTime() { return this.createTime; } public GetTopicListResponseBodyTopicListTopicVO setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public GetTopicListResponseBodyTopicListTopicVO setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public GetTopicListResponseBodyTopicListTopicVO setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } public GetTopicListResponseBodyTopicListTopicVO setStatus(Integer status) { this.status = status; return this; } public Integer getStatus() { return this.status; } public GetTopicListResponseBodyTopicListTopicVO setStatusName(String statusName) { this.statusName = statusName; return this; } public String getStatusName() { return this.statusName; } public GetTopicListResponseBodyTopicListTopicVO setTopic(String topic) { this.topic = topic; return this; } public String getTopic() { return this.topic; } } public static class GetTopicListResponseBodyTopicList extends TeaModel { @NameInMap("TopicVO") public java.util.List<GetTopicListResponseBodyTopicListTopicVO> topicVO; public static GetTopicListResponseBodyTopicList build(java.util.Map<String, ?> map) throws Exception { GetTopicListResponseBodyTopicList self = new GetTopicListResponseBodyTopicList(); return TeaModel.build(map, self); } public GetTopicListResponseBodyTopicList setTopicVO(java.util.List<GetTopicListResponseBodyTopicListTopicVO> topicVO) { this.topicVO = topicVO; return this; } public java.util.List<GetTopicListResponseBodyTopicListTopicVO> getTopicVO() { return this.topicVO; } } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetTopicStatusRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetTopicStatusRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_pre-cn-v0h15tjmo003</p> */ @NameInMap("InstanceId") public String instanceId; @NameInMap("RegionId") public String regionId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>normal_topic_9d034262835916103455551be06cc2dc_6</p> */ @NameInMap("Topic") public String topic; public static GetTopicStatusRequest build(java.util.Map<String, ?> map) throws Exception { GetTopicStatusRequest self = new GetTopicStatusRequest(); return TeaModel.build(map, self); } public GetTopicStatusRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public GetTopicStatusRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public GetTopicStatusRequest setTopic(String topic) { this.topic = topic; return this; } public String getTopic() { return this.topic; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetTopicStatusResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetTopicStatusResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetTopicStatusResponseBody body; public static GetTopicStatusResponse build(java.util.Map<String, ?> map) throws Exception { GetTopicStatusResponse self = new GetTopicStatusResponse(); return TeaModel.build(map, self); } public GetTopicStatusResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetTopicStatusResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetTopicStatusResponse setBody(GetTopicStatusResponseBody body) { this.body = body; return this; } public GetTopicStatusResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015
java-sources/com/aliyun/alikafka20181015/1.0.3/com/aliyun/alikafka20181015/models/GetTopicStatusResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20181015.models; import com.aliyun.tea.*; public class GetTopicStatusResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <strong>example:</strong> * <p>operation success.</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>E475C7E2-8C35-46EF-BE7D-5D2A9F5D****</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; @NameInMap("TopicStatus") public GetTopicStatusResponseBodyTopicStatus topicStatus; public static GetTopicStatusResponseBody build(java.util.Map<String, ?> map) throws Exception { GetTopicStatusResponseBody self = new GetTopicStatusResponseBody(); return TeaModel.build(map, self); } public GetTopicStatusResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetTopicStatusResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetTopicStatusResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public GetTopicStatusResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public GetTopicStatusResponseBody setTopicStatus(GetTopicStatusResponseBodyTopicStatus topicStatus) { this.topicStatus = topicStatus; return this; } public GetTopicStatusResponseBodyTopicStatus getTopicStatus() { return this.topicStatus; } public static class GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable extends TeaModel { /** * <strong>example:</strong> * <p>1566470063547</p> */ @NameInMap("LastUpdateTimestamp") public Long lastUpdateTimestamp; /** * <strong>example:</strong> * <p>76</p> */ @NameInMap("MaxOffset") public Long maxOffset; /** * <strong>example:</strong> * <p>0</p> */ @NameInMap("MinOffset") public Long minOffset; /** * <strong>example:</strong> * <p>0</p> */ @NameInMap("Partition") public Integer partition; /** * <strong>example:</strong> * <p>testkafka</p> */ @NameInMap("Topic") public String topic; public static GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable build(java.util.Map<String, ?> map) throws Exception { GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable self = new GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable(); return TeaModel.build(map, self); } public GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable setLastUpdateTimestamp(Long lastUpdateTimestamp) { this.lastUpdateTimestamp = lastUpdateTimestamp; return this; } public Long getLastUpdateTimestamp() { return this.lastUpdateTimestamp; } public GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable setMaxOffset(Long maxOffset) { this.maxOffset = maxOffset; return this; } public Long getMaxOffset() { return this.maxOffset; } public GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable setMinOffset(Long minOffset) { this.minOffset = minOffset; return this; } public Long getMinOffset() { return this.minOffset; } public GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable setPartition(Integer partition) { this.partition = partition; return this; } public Integer getPartition() { return this.partition; } public GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable setTopic(String topic) { this.topic = topic; return this; } public String getTopic() { return this.topic; } } public static class GetTopicStatusResponseBodyTopicStatusOffsetTable extends TeaModel { @NameInMap("OffsetTable") public java.util.List<GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable> offsetTable; public static GetTopicStatusResponseBodyTopicStatusOffsetTable build(java.util.Map<String, ?> map) throws Exception { GetTopicStatusResponseBodyTopicStatusOffsetTable self = new GetTopicStatusResponseBodyTopicStatusOffsetTable(); return TeaModel.build(map, self); } public GetTopicStatusResponseBodyTopicStatusOffsetTable setOffsetTable(java.util.List<GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable> offsetTable) { this.offsetTable = offsetTable; return this; } public java.util.List<GetTopicStatusResponseBodyTopicStatusOffsetTableOffsetTable> getOffsetTable() { return this.offsetTable; } } public static class GetTopicStatusResponseBodyTopicStatus extends TeaModel { /** * <strong>example:</strong> * <p>1566470063575</p> */ @NameInMap("LastTimeStamp") public Long lastTimeStamp; @NameInMap("OffsetTable") public GetTopicStatusResponseBodyTopicStatusOffsetTable offsetTable; /** * <strong>example:</strong> * <p>423</p> */ @NameInMap("TotalCount") public Long totalCount; public static GetTopicStatusResponseBodyTopicStatus build(java.util.Map<String, ?> map) throws Exception { GetTopicStatusResponseBodyTopicStatus self = new GetTopicStatusResponseBodyTopicStatus(); return TeaModel.build(map, self); } public GetTopicStatusResponseBodyTopicStatus setLastTimeStamp(Long lastTimeStamp) { this.lastTimeStamp = lastTimeStamp; return this; } public Long getLastTimeStamp() { return this.lastTimeStamp; } public GetTopicStatusResponseBodyTopicStatus setOffsetTable(GetTopicStatusResponseBodyTopicStatusOffsetTable offsetTable) { this.offsetTable = offsetTable; return this; } public GetTopicStatusResponseBodyTopicStatusOffsetTable getOffsetTable() { return this.offsetTable; } public GetTopicStatusResponseBodyTopicStatus setTotalCount(Long totalCount) { this.totalCount = totalCount; return this; } public Long getTotalCount() { return this.totalCount; } } }
0
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/Client.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20190916; import com.aliyun.tea.*; import com.aliyun.alikafka20190916.models.*; public class Client extends com.aliyun.teaopenapi.Client { public Client(com.aliyun.teaopenapi.models.Config config) throws Exception { super(config); this._endpointRule = "regional"; this.checkConfig(config); this._endpoint = this.getEndpoint("alikafka", _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>Changes the resource group of an ApsaraMQ for Kafka instance.</p> * * @param request ChangeResourceGroupRequest * @param runtime runtime options for this request RuntimeOptions * @return ChangeResourceGroupResponse */ public ChangeResourceGroupResponse changeResourceGroupWithOptions(ChangeResourceGroupRequest request, 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.newResourceGroupId)) { query.put("NewResourceGroupId", request.newResourceGroupId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceId)) { query.put("ResourceId", request.resourceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "ChangeResourceGroup"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ChangeResourceGroupResponse()); } /** * <b>summary</b> : * <p>Changes the resource group of an ApsaraMQ for Kafka instance.</p> * * @param request ChangeResourceGroupRequest * @return ChangeResourceGroupResponse */ public ChangeResourceGroupResponse changeResourceGroup(ChangeResourceGroupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.changeResourceGroupWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Changes the billing method of a Message Queue for Apache Kafka instance from pay-as-you-go to subscription.</p> * * @param request ConvertPostPayOrderRequest * @param runtime runtime options for this request RuntimeOptions * @return ConvertPostPayOrderResponse */ public ConvertPostPayOrderResponse convertPostPayOrderWithOptions(ConvertPostPayOrderRequest request, 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.duration)) { query.put("Duration", request.duration); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.paidType)) { query.put("PaidType", request.paidType); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "ConvertPostPayOrder"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ConvertPostPayOrderResponse()); } /** * <b>summary</b> : * <p>Changes the billing method of a Message Queue for Apache Kafka instance from pay-as-you-go to subscription.</p> * * @param request ConvertPostPayOrderRequest * @return ConvertPostPayOrderResponse */ public ConvertPostPayOrderResponse convertPostPayOrder(ConvertPostPayOrderRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.convertPostPayOrderWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Creates an access control list (ACL).</p> * * @param request CreateAclRequest * @param runtime runtime options for this request RuntimeOptions * @return CreateAclResponse */ public CreateAclResponse createAclWithOptions(CreateAclRequest request, 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.aclOperationType)) { query.put("AclOperationType", request.aclOperationType); } if (!com.aliyun.teautil.Common.isUnset(request.aclOperationTypes)) { query.put("AclOperationTypes", request.aclOperationTypes); } if (!com.aliyun.teautil.Common.isUnset(request.aclPermissionType)) { query.put("AclPermissionType", request.aclPermissionType); } if (!com.aliyun.teautil.Common.isUnset(request.aclResourceName)) { query.put("AclResourceName", request.aclResourceName); } if (!com.aliyun.teautil.Common.isUnset(request.aclResourcePatternType)) { query.put("AclResourcePatternType", request.aclResourcePatternType); } if (!com.aliyun.teautil.Common.isUnset(request.aclResourceType)) { query.put("AclResourceType", request.aclResourceType); } if (!com.aliyun.teautil.Common.isUnset(request.host)) { query.put("Host", request.host); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.username)) { query.put("Username", request.username); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "CreateAcl"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreateAclResponse()); } /** * <b>summary</b> : * <p>Creates an access control list (ACL).</p> * * @param request CreateAclRequest * @return CreateAclResponse */ public CreateAclResponse createAcl(CreateAclRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createAclWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Creates a consumer group.</p> * * @param request CreateConsumerGroupRequest * @param runtime runtime options for this request RuntimeOptions * @return CreateConsumerGroupResponse */ public CreateConsumerGroupResponse createConsumerGroupWithOptions(CreateConsumerGroupRequest request, 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.consumerId)) { query.put("ConsumerId", request.consumerId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.tag)) { query.put("Tag", request.tag); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "CreateConsumerGroup"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreateConsumerGroupResponse()); } /** * <b>summary</b> : * <p>Creates a consumer group.</p> * * @param request CreateConsumerGroupRequest * @return CreateConsumerGroupResponse */ public CreateConsumerGroupResponse createConsumerGroup(CreateConsumerGroupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createConsumerGroupWithOptions(request, runtime); } /** * <b>summary</b> : * <p>创建后付费实例。</p> * * @param tmpReq CreatePostPayInstanceRequest * @param runtime runtime options for this request RuntimeOptions * @return CreatePostPayInstanceResponse */ public CreatePostPayInstanceResponse createPostPayInstanceWithOptions(CreatePostPayInstanceRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); CreatePostPayInstanceShrinkRequest request = new CreatePostPayInstanceShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.serverlessConfig)) { request.serverlessConfigShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.serverlessConfig, "ServerlessConfig", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.deployType)) { query.put("DeployType", request.deployType); } if (!com.aliyun.teautil.Common.isUnset(request.diskSize)) { query.put("DiskSize", request.diskSize); } if (!com.aliyun.teautil.Common.isUnset(request.diskType)) { query.put("DiskType", request.diskType); } if (!com.aliyun.teautil.Common.isUnset(request.eipMax)) { query.put("EipMax", request.eipMax); } if (!com.aliyun.teautil.Common.isUnset(request.ioMaxSpec)) { query.put("IoMaxSpec", request.ioMaxSpec); } if (!com.aliyun.teautil.Common.isUnset(request.paidType)) { query.put("PaidType", request.paidType); } if (!com.aliyun.teautil.Common.isUnset(request.partitionNum)) { query.put("PartitionNum", request.partitionNum); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceGroupId)) { query.put("ResourceGroupId", request.resourceGroupId); } if (!com.aliyun.teautil.Common.isUnset(request.serverlessConfigShrink)) { query.put("ServerlessConfig", request.serverlessConfigShrink); } if (!com.aliyun.teautil.Common.isUnset(request.specType)) { query.put("SpecType", request.specType); } if (!com.aliyun.teautil.Common.isUnset(request.tag)) { query.put("Tag", request.tag); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "CreatePostPayInstance"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreatePostPayInstanceResponse()); } /** * <b>summary</b> : * <p>创建后付费实例。</p> * * @param request CreatePostPayInstanceRequest * @return CreatePostPayInstanceResponse */ public CreatePostPayInstanceResponse createPostPayInstance(CreatePostPayInstanceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createPostPayInstanceWithOptions(request, runtime); } /** * <b>description</b> : * <p>Before you call this operation, make sure that you understand the billing method and pricing of pay-as-you-go Message Queue for Apache Kafka instances. For more information, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p> * * <b>summary</b> : * <p>Creates a pay-as-you-go ApsaraMQ for Kafka instance. Pay-as-you-go instances allow you to pay after you use the resources. You are charged for pay-as-you-go instances based on the actual resource usage. You can use pay-as-you-go instances in test scenarios or scenarios in which the peak traffic is uncertain.</p> * * @param tmpReq CreatePostPayOrderRequest * @param runtime runtime options for this request RuntimeOptions * @return CreatePostPayOrderResponse */ public CreatePostPayOrderResponse createPostPayOrderWithOptions(CreatePostPayOrderRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); CreatePostPayOrderShrinkRequest request = new CreatePostPayOrderShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.serverlessConfig)) { request.serverlessConfigShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.serverlessConfig, "ServerlessConfig", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.deployType)) { query.put("DeployType", request.deployType); } if (!com.aliyun.teautil.Common.isUnset(request.diskSize)) { query.put("DiskSize", request.diskSize); } if (!com.aliyun.teautil.Common.isUnset(request.diskType)) { query.put("DiskType", request.diskType); } if (!com.aliyun.teautil.Common.isUnset(request.eipMax)) { query.put("EipMax", request.eipMax); } if (!com.aliyun.teautil.Common.isUnset(request.ioMax)) { query.put("IoMax", request.ioMax); } if (!com.aliyun.teautil.Common.isUnset(request.ioMaxSpec)) { query.put("IoMaxSpec", request.ioMaxSpec); } if (!com.aliyun.teautil.Common.isUnset(request.paidType)) { query.put("PaidType", request.paidType); } if (!com.aliyun.teautil.Common.isUnset(request.partitionNum)) { query.put("PartitionNum", request.partitionNum); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceGroupId)) { query.put("ResourceGroupId", request.resourceGroupId); } if (!com.aliyun.teautil.Common.isUnset(request.serverlessConfigShrink)) { query.put("ServerlessConfig", request.serverlessConfigShrink); } if (!com.aliyun.teautil.Common.isUnset(request.specType)) { query.put("SpecType", request.specType); } if (!com.aliyun.teautil.Common.isUnset(request.tag)) { query.put("Tag", request.tag); } if (!com.aliyun.teautil.Common.isUnset(request.topicQuota)) { query.put("TopicQuota", request.topicQuota); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "CreatePostPayOrder"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreatePostPayOrderResponse()); } /** * <b>description</b> : * <p>Before you call this operation, make sure that you understand the billing method and pricing of pay-as-you-go Message Queue for Apache Kafka instances. For more information, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p> * * <b>summary</b> : * <p>Creates a pay-as-you-go ApsaraMQ for Kafka instance. Pay-as-you-go instances allow you to pay after you use the resources. You are charged for pay-as-you-go instances based on the actual resource usage. You can use pay-as-you-go instances in test scenarios or scenarios in which the peak traffic is uncertain.</p> * * @param request CreatePostPayOrderRequest * @return CreatePostPayOrderResponse */ public CreatePostPayOrderResponse createPostPayOrder(CreatePostPayOrderRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createPostPayOrderWithOptions(request, runtime); } /** * <b>summary</b> : * <p>创建预付费实例</p> * * @param tmpReq CreatePrePayInstanceRequest * @param runtime runtime options for this request RuntimeOptions * @return CreatePrePayInstanceResponse */ public CreatePrePayInstanceResponse createPrePayInstanceWithOptions(CreatePrePayInstanceRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); CreatePrePayInstanceShrinkRequest request = new CreatePrePayInstanceShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.confluentConfig)) { request.confluentConfigShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.confluentConfig, "ConfluentConfig", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.confluentConfigShrink)) { query.put("ConfluentConfig", request.confluentConfigShrink); } if (!com.aliyun.teautil.Common.isUnset(request.deployType)) { query.put("DeployType", request.deployType); } if (!com.aliyun.teautil.Common.isUnset(request.diskSize)) { query.put("DiskSize", request.diskSize); } if (!com.aliyun.teautil.Common.isUnset(request.diskType)) { query.put("DiskType", request.diskType); } if (!com.aliyun.teautil.Common.isUnset(request.duration)) { query.put("Duration", request.duration); } if (!com.aliyun.teautil.Common.isUnset(request.eipMax)) { query.put("EipMax", request.eipMax); } if (!com.aliyun.teautil.Common.isUnset(request.ioMaxSpec)) { query.put("IoMaxSpec", request.ioMaxSpec); } if (!com.aliyun.teautil.Common.isUnset(request.paidType)) { query.put("PaidType", request.paidType); } if (!com.aliyun.teautil.Common.isUnset(request.partitionNum)) { query.put("PartitionNum", request.partitionNum); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceGroupId)) { query.put("ResourceGroupId", request.resourceGroupId); } if (!com.aliyun.teautil.Common.isUnset(request.specType)) { query.put("SpecType", request.specType); } if (!com.aliyun.teautil.Common.isUnset(request.tag)) { query.put("Tag", request.tag); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "CreatePrePayInstance"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreatePrePayInstanceResponse()); } /** * <b>summary</b> : * <p>创建预付费实例</p> * * @param request CreatePrePayInstanceRequest * @return CreatePrePayInstanceResponse */ public CreatePrePayInstanceResponse createPrePayInstance(CreatePrePayInstanceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createPrePayInstanceWithOptions(request, runtime); } /** * <b>description</b> : * <p> Before you call this operation, make sure that you understand the billing methods and pricing of subscription ApsaraMQ for Kafka instances. For more information, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p> * <ul> * <li>If you create an ApsaraMQ for Kafka instance by calling this operation, the subscription duration is one month and the auto-renewal feature is enabled by default. The auto-renewal cycle is also one month. If you want to change the auto-renewal cycle or disable the auto-renewal feature, you can go to the <a href="https://renew.console.aliyun.com/#/ecs">Renewal</a> page in the Alibaba Cloud Management Console.</li> * </ul> * * <b>summary</b> : * <p>Creates a subscription ApsaraMQ for Kafka instance. You can use subscription instances only after you pay for them. Subscription instances are suitable for long-term and stable business scenarios.</p> * * @param tmpReq CreatePrePayOrderRequest * @param runtime runtime options for this request RuntimeOptions * @return CreatePrePayOrderResponse */ public CreatePrePayOrderResponse createPrePayOrderWithOptions(CreatePrePayOrderRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); CreatePrePayOrderShrinkRequest request = new CreatePrePayOrderShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.confluentConfig)) { request.confluentConfigShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.confluentConfig, "ConfluentConfig", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.confluentConfigShrink)) { query.put("ConfluentConfig", request.confluentConfigShrink); } if (!com.aliyun.teautil.Common.isUnset(request.deployType)) { query.put("DeployType", request.deployType); } if (!com.aliyun.teautil.Common.isUnset(request.diskSize)) { query.put("DiskSize", request.diskSize); } if (!com.aliyun.teautil.Common.isUnset(request.diskType)) { query.put("DiskType", request.diskType); } if (!com.aliyun.teautil.Common.isUnset(request.duration)) { query.put("Duration", request.duration); } if (!com.aliyun.teautil.Common.isUnset(request.eipMax)) { query.put("EipMax", request.eipMax); } if (!com.aliyun.teautil.Common.isUnset(request.ioMax)) { query.put("IoMax", request.ioMax); } if (!com.aliyun.teautil.Common.isUnset(request.ioMaxSpec)) { query.put("IoMaxSpec", request.ioMaxSpec); } if (!com.aliyun.teautil.Common.isUnset(request.paidType)) { query.put("PaidType", request.paidType); } if (!com.aliyun.teautil.Common.isUnset(request.partitionNum)) { query.put("PartitionNum", request.partitionNum); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceGroupId)) { query.put("ResourceGroupId", request.resourceGroupId); } if (!com.aliyun.teautil.Common.isUnset(request.specType)) { query.put("SpecType", request.specType); } if (!com.aliyun.teautil.Common.isUnset(request.tag)) { query.put("Tag", request.tag); } if (!com.aliyun.teautil.Common.isUnset(request.topicQuota)) { query.put("TopicQuota", request.topicQuota); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "CreatePrePayOrder"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreatePrePayOrderResponse()); } /** * <b>description</b> : * <p> Before you call this operation, make sure that you understand the billing methods and pricing of subscription ApsaraMQ for Kafka instances. For more information, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p> * <ul> * <li>If you create an ApsaraMQ for Kafka instance by calling this operation, the subscription duration is one month and the auto-renewal feature is enabled by default. The auto-renewal cycle is also one month. If you want to change the auto-renewal cycle or disable the auto-renewal feature, you can go to the <a href="https://renew.console.aliyun.com/#/ecs">Renewal</a> page in the Alibaba Cloud Management Console.</li> * </ul> * * <b>summary</b> : * <p>Creates a subscription ApsaraMQ for Kafka instance. You can use subscription instances only after you pay for them. Subscription instances are suitable for long-term and stable business scenarios.</p> * * @param request CreatePrePayOrderRequest * @return CreatePrePayOrderResponse */ public CreatePrePayOrderResponse createPrePayOrder(CreatePrePayOrderRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createPrePayOrderWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Creates a Simple Authentication and Security Layer (SASL) user.</p> * * @param request CreateSaslUserRequest * @param runtime runtime options for this request RuntimeOptions * @return CreateSaslUserResponse */ public CreateSaslUserResponse createSaslUserWithOptions(CreateSaslUserRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.mechanism)) { query.put("Mechanism", request.mechanism); } if (!com.aliyun.teautil.Common.isUnset(request.password)) { query.put("Password", request.password); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.username)) { query.put("Username", request.username); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "CreateSaslUser"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreateSaslUserResponse()); } /** * <b>summary</b> : * <p>Creates a Simple Authentication and Security Layer (SASL) user.</p> * * @param request CreateSaslUserRequest * @return CreateSaslUserResponse */ public CreateSaslUserResponse createSaslUser(CreateSaslUserRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createSaslUserWithOptions(request, runtime); } /** * <b>description</b> : * <h6><a href="#-v3-serverless-"></a>This operation is supported only by serverless ApsaraMQ for Kafka V3 instances.</h6> * * <b>summary</b> : * <p>Creates a scheduled scaling rule for a serverless ApsaraMQ for Kafka V3 instance.</p> * * @param tmpReq CreateScheduledScalingRuleRequest * @param runtime runtime options for this request RuntimeOptions * @return CreateScheduledScalingRuleResponse */ public CreateScheduledScalingRuleResponse createScheduledScalingRuleWithOptions(CreateScheduledScalingRuleRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); CreateScheduledScalingRuleShrinkRequest request = new CreateScheduledScalingRuleShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.weeklyTypes)) { request.weeklyTypesShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.weeklyTypes, "WeeklyTypes", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.durationMinutes)) { query.put("DurationMinutes", request.durationMinutes); } if (!com.aliyun.teautil.Common.isUnset(request.enable)) { query.put("Enable", request.enable); } if (!com.aliyun.teautil.Common.isUnset(request.firstScheduledTime)) { query.put("FirstScheduledTime", request.firstScheduledTime); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.repeatType)) { query.put("RepeatType", request.repeatType); } if (!com.aliyun.teautil.Common.isUnset(request.reservedPubFlow)) { query.put("ReservedPubFlow", request.reservedPubFlow); } if (!com.aliyun.teautil.Common.isUnset(request.reservedSubFlow)) { query.put("ReservedSubFlow", request.reservedSubFlow); } if (!com.aliyun.teautil.Common.isUnset(request.ruleName)) { query.put("RuleName", request.ruleName); } if (!com.aliyun.teautil.Common.isUnset(request.scheduleType)) { query.put("ScheduleType", request.scheduleType); } if (!com.aliyun.teautil.Common.isUnset(request.timeZone)) { query.put("TimeZone", request.timeZone); } if (!com.aliyun.teautil.Common.isUnset(request.weeklyTypesShrink)) { query.put("WeeklyTypes", request.weeklyTypesShrink); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "CreateScheduledScalingRule"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreateScheduledScalingRuleResponse()); } /** * <b>description</b> : * <h6><a href="#-v3-serverless-"></a>This operation is supported only by serverless ApsaraMQ for Kafka V3 instances.</h6> * * <b>summary</b> : * <p>Creates a scheduled scaling rule for a serverless ApsaraMQ for Kafka V3 instance.</p> * * @param request CreateScheduledScalingRuleRequest * @return CreateScheduledScalingRuleResponse */ public CreateScheduledScalingRuleResponse createScheduledScalingRule(CreateScheduledScalingRuleRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createScheduledScalingRuleWithOptions(request, runtime); } /** * <b>description</b> : * <p> Each Alibaba Cloud account can call this operation up to once per second.</p> * <ul> * <li>The maximum number of topics that you can create in an instance is determined by the specification of the instance.</li> * </ul> * * <b>summary</b> : * <p>Creates a topic.</p> * * @param request CreateTopicRequest * @param runtime runtime options for this request RuntimeOptions * @return CreateTopicResponse */ public CreateTopicResponse createTopicWithOptions(CreateTopicRequest request, 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.compactTopic)) { query.put("CompactTopic", request.compactTopic); } if (!com.aliyun.teautil.Common.isUnset(request.config)) { query.put("Config", request.config); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.localTopic)) { query.put("LocalTopic", request.localTopic); } if (!com.aliyun.teautil.Common.isUnset(request.minInsyncReplicas)) { query.put("MinInsyncReplicas", request.minInsyncReplicas); } if (!com.aliyun.teautil.Common.isUnset(request.partitionNum)) { query.put("PartitionNum", request.partitionNum); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.replicationFactor)) { query.put("ReplicationFactor", request.replicationFactor); } if (!com.aliyun.teautil.Common.isUnset(request.tag)) { query.put("Tag", request.tag); } if (!com.aliyun.teautil.Common.isUnset(request.topic)) { query.put("Topic", request.topic); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "CreateTopic"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreateTopicResponse()); } /** * <b>description</b> : * <p> Each Alibaba Cloud account can call this operation up to once per second.</p> * <ul> * <li>The maximum number of topics that you can create in an instance is determined by the specification of the instance.</li> * </ul> * * <b>summary</b> : * <p>Creates a topic.</p> * * @param request CreateTopicRequest * @return CreateTopicResponse */ public CreateTopicResponse createTopic(CreateTopicRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createTopicWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Deletes an access control list (ACL).</p> * * @param request DeleteAclRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteAclResponse */ public DeleteAclResponse deleteAclWithOptions(DeleteAclRequest request, 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.aclOperationType)) { query.put("AclOperationType", request.aclOperationType); } if (!com.aliyun.teautil.Common.isUnset(request.aclOperationTypes)) { query.put("AclOperationTypes", request.aclOperationTypes); } if (!com.aliyun.teautil.Common.isUnset(request.aclPermissionType)) { query.put("AclPermissionType", request.aclPermissionType); } if (!com.aliyun.teautil.Common.isUnset(request.aclResourceName)) { query.put("AclResourceName", request.aclResourceName); } if (!com.aliyun.teautil.Common.isUnset(request.aclResourcePatternType)) { query.put("AclResourcePatternType", request.aclResourcePatternType); } if (!com.aliyun.teautil.Common.isUnset(request.aclResourceType)) { query.put("AclResourceType", request.aclResourceType); } if (!com.aliyun.teautil.Common.isUnset(request.host)) { query.put("Host", request.host); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.username)) { query.put("Username", request.username); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "DeleteAcl"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteAclResponse()); } /** * <b>summary</b> : * <p>Deletes an access control list (ACL).</p> * * @param request DeleteAclRequest * @return DeleteAclResponse */ public DeleteAclResponse deleteAcl(DeleteAclRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteAclWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Deletes a consumer group from a specified Message Queue for Apache Kafka instance.</p> * * @param request DeleteConsumerGroupRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteConsumerGroupResponse */ public DeleteConsumerGroupResponse deleteConsumerGroupWithOptions(DeleteConsumerGroupRequest request, 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.consumerId)) { query.put("ConsumerId", request.consumerId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "DeleteConsumerGroup"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteConsumerGroupResponse()); } /** * <b>summary</b> : * <p>Deletes a consumer group from a specified Message Queue for Apache Kafka instance.</p> * * @param request DeleteConsumerGroupRequest * @return DeleteConsumerGroupResponse */ public DeleteConsumerGroupResponse deleteConsumerGroup(DeleteConsumerGroupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteConsumerGroupWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Deletes an instance. You can delete subscription and pay-as-you-go instances after you release them.</p> * * @param request DeleteInstanceRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteInstanceResponse */ public DeleteInstanceResponse deleteInstanceWithOptions(DeleteInstanceRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "DeleteInstance"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteInstanceResponse()); } /** * <b>summary</b> : * <p>Deletes an instance. You can delete subscription and pay-as-you-go instances after you release them.</p> * * @param request DeleteInstanceRequest * @return DeleteInstanceResponse */ public DeleteInstanceResponse deleteInstance(DeleteInstanceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteInstanceWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Deletes a Simple Authentication and Security Layer (SASL) user.</p> * * @param request DeleteSaslUserRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteSaslUserResponse */ public DeleteSaslUserResponse deleteSaslUserWithOptions(DeleteSaslUserRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.mechanism)) { query.put("Mechanism", request.mechanism); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.username)) { query.put("Username", request.username); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "DeleteSaslUser"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteSaslUserResponse()); } /** * <b>summary</b> : * <p>Deletes a Simple Authentication and Security Layer (SASL) user.</p> * * @param request DeleteSaslUserRequest * @return DeleteSaslUserResponse */ public DeleteSaslUserResponse deleteSaslUser(DeleteSaslUserRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteSaslUserWithOptions(request, runtime); } /** * <b>description</b> : * <h6><a href="#-serverless-"></a>This operation is available only for serverless ApsaraMQ for Kafka instances.</h6> * * <b>summary</b> : * <p>Deletes the scheduled scaling policy of a serverless ApsaraMQ for Kafka instance after you deploy the instance.</p> * * @param request DeleteScheduledScalingRuleRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteScheduledScalingRuleResponse */ public DeleteScheduledScalingRuleResponse deleteScheduledScalingRuleWithOptions(DeleteScheduledScalingRuleRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.ruleName)) { query.put("RuleName", request.ruleName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "DeleteScheduledScalingRule"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteScheduledScalingRuleResponse()); } /** * <b>description</b> : * <h6><a href="#-serverless-"></a>This operation is available only for serverless ApsaraMQ for Kafka instances.</h6> * * <b>summary</b> : * <p>Deletes the scheduled scaling policy of a serverless ApsaraMQ for Kafka instance after you deploy the instance.</p> * * @param request DeleteScheduledScalingRuleRequest * @return DeleteScheduledScalingRuleResponse */ public DeleteScheduledScalingRuleResponse deleteScheduledScalingRule(DeleteScheduledScalingRuleRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteScheduledScalingRuleWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Deletes a topic.</p> * * @param request DeleteTopicRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteTopicResponse */ public DeleteTopicResponse deleteTopicWithOptions(DeleteTopicRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.topic)) { query.put("Topic", request.topic); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "DeleteTopic"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteTopicResponse()); } /** * <b>summary</b> : * <p>Deletes a topic.</p> * * @param request DeleteTopicRequest * @return DeleteTopicResponse */ public DeleteTopicResponse deleteTopic(DeleteTopicRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteTopicWithOptions(request, runtime); } /** * <b>summary</b> : * <p>查询acl资源名</p> * * @param request DescribeAclResourceNameRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeAclResourceNameResponse */ public DescribeAclResourceNameResponse describeAclResourceNameWithOptions(DescribeAclResourceNameRequest request, 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.aclResourcePatternType)) { query.put("AclResourcePatternType", request.aclResourcePatternType); } if (!com.aliyun.teautil.Common.isUnset(request.aclResourceType)) { query.put("AclResourceType", request.aclResourceType); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "DescribeAclResourceName"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeAclResourceNameResponse()); } /** * <b>summary</b> : * <p>查询acl资源名</p> * * @param request DescribeAclResourceNameRequest * @return DescribeAclResourceNameResponse */ public DescribeAclResourceNameResponse describeAclResourceName(DescribeAclResourceNameRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeAclResourceNameWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries access control lists (ACLs).</p> * * @param request DescribeAclsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeAclsResponse */ public DescribeAclsResponse describeAclsWithOptions(DescribeAclsRequest request, 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.aclOperationType)) { query.put("AclOperationType", request.aclOperationType); } if (!com.aliyun.teautil.Common.isUnset(request.aclPermissionType)) { query.put("AclPermissionType", request.aclPermissionType); } if (!com.aliyun.teautil.Common.isUnset(request.aclResourceName)) { query.put("AclResourceName", request.aclResourceName); } if (!com.aliyun.teautil.Common.isUnset(request.aclResourcePatternType)) { query.put("AclResourcePatternType", request.aclResourcePatternType); } if (!com.aliyun.teautil.Common.isUnset(request.aclResourceType)) { query.put("AclResourceType", request.aclResourceType); } if (!com.aliyun.teautil.Common.isUnset(request.host)) { query.put("Host", request.host); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.username)) { query.put("Username", request.username); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "DescribeAcls"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeAclsResponse()); } /** * <b>summary</b> : * <p>Queries access control lists (ACLs).</p> * * @param request DescribeAclsRequest * @return DescribeAclsResponse */ public DescribeAclsResponse describeAcls(DescribeAclsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeAclsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries Simple Authentication and Security Layer (SASL) users.</p> * * @param request DescribeSaslUsersRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeSaslUsersResponse */ public DescribeSaslUsersResponse describeSaslUsersWithOptions(DescribeSaslUsersRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "DescribeSaslUsers"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeSaslUsersResponse()); } /** * <b>summary</b> : * <p>Queries Simple Authentication and Security Layer (SASL) users.</p> * * @param request DescribeSaslUsersRequest * @return DescribeSaslUsersResponse */ public DescribeSaslUsersResponse describeSaslUsers(DescribeSaslUsersRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeSaslUsersWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Enables and disables the flexible group creation feature.</p> * * @param request EnableAutoGroupCreationRequest * @param runtime runtime options for this request RuntimeOptions * @return EnableAutoGroupCreationResponse */ public EnableAutoGroupCreationResponse enableAutoGroupCreationWithOptions(EnableAutoGroupCreationRequest request, 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.enable)) { query.put("Enable", request.enable); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "EnableAutoGroupCreation"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new EnableAutoGroupCreationResponse()); } /** * <b>summary</b> : * <p>Enables and disables the flexible group creation feature.</p> * * @param request EnableAutoGroupCreationRequest * @return EnableAutoGroupCreationResponse */ public EnableAutoGroupCreationResponse enableAutoGroupCreation(EnableAutoGroupCreationRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.enableAutoGroupCreationWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Enables or disables the automatic topic creation feature, or changes the number of partitions in topics that are automatically created.</p> * * @param request EnableAutoTopicCreationRequest * @param runtime runtime options for this request RuntimeOptions * @return EnableAutoTopicCreationResponse */ public EnableAutoTopicCreationResponse enableAutoTopicCreationWithOptions(EnableAutoTopicCreationRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.operate)) { query.put("Operate", request.operate); } if (!com.aliyun.teautil.Common.isUnset(request.partitionNum)) { query.put("PartitionNum", request.partitionNum); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.updatePartition)) { query.put("UpdatePartition", request.updatePartition); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "EnableAutoTopicCreation"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new EnableAutoTopicCreationResponse()); } /** * <b>summary</b> : * <p>Enables or disables the automatic topic creation feature, or changes the number of partitions in topics that are automatically created.</p> * * @param request EnableAutoTopicCreationRequest * @return EnableAutoTopicCreationResponse */ public EnableAutoTopicCreationResponse enableAutoTopicCreation(EnableAutoTopicCreationRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.enableAutoTopicCreationWithOptions(request, runtime); } /** * <b>summary</b> : * <p>故障演练</p> * * @param request FailoverTestRequest * @param runtime runtime options for this request RuntimeOptions * @return FailoverTestResponse */ public FailoverTestResponse failoverTestWithOptions(FailoverTestRequest request, 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.configs)) { query.put("Configs", request.configs); } if (!com.aliyun.teautil.Common.isUnset(request.description)) { query.put("Description", request.description); } if (!com.aliyun.teautil.Common.isUnset(request.duration)) { query.put("Duration", request.duration); } if (!com.aliyun.teautil.Common.isUnset(request.executeTime)) { query.put("ExecuteTime", request.executeTime); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "FailoverTest"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new FailoverTestResponse()); } /** * <b>summary</b> : * <p>故障演练</p> * * @param request FailoverTestRequest * @return FailoverTestResponse */ public FailoverTestResponse failoverTest(FailoverTestRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.failoverTestWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the IDs of all instances in the current account.</p> * * @param request GetAllInstanceIdListRequest * @param runtime runtime options for this request RuntimeOptions * @return GetAllInstanceIdListResponse */ public GetAllInstanceIdListResponse getAllInstanceIdListWithOptions(GetAllInstanceIdListRequest request, 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.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetAllInstanceIdList"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetAllInstanceIdListResponse()); } /** * <b>summary</b> : * <p>Queries the IDs of all instances in the current account.</p> * * @param request GetAllInstanceIdListRequest * @return GetAllInstanceIdListResponse */ public GetAllInstanceIdListResponse getAllInstanceIdList(GetAllInstanceIdListRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getAllInstanceIdListWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the IP address whitelist.</p> * * @param request GetAllowedIpListRequest * @param runtime runtime options for this request RuntimeOptions * @return GetAllowedIpListResponse */ public GetAllowedIpListResponse getAllowedIpListWithOptions(GetAllowedIpListRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetAllowedIpList"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetAllowedIpListResponse()); } /** * <b>summary</b> : * <p>Queries the IP address whitelist.</p> * * @param request GetAllowedIpListRequest * @return GetAllowedIpListResponse */ public GetAllowedIpListResponse getAllowedIpList(GetAllowedIpListRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getAllowedIpListWithOptions(request, runtime); } /** * <b>description</b> : * <h6><a href="#-serverless-"></a>**This operation is available only for serverless ApsaraMQ for Kafka instances.</h6> * * <b>summary</b> : * <p>Queries the scheduled scaling policy of a serverless ApsaraMQ for Kafka instance after you deploy the instance.</p> * * @param request GetAutoScalingConfigurationRequest * @param runtime runtime options for this request RuntimeOptions * @return GetAutoScalingConfigurationResponse */ public GetAutoScalingConfigurationResponse getAutoScalingConfigurationWithOptions(GetAutoScalingConfigurationRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetAutoScalingConfiguration"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetAutoScalingConfigurationResponse()); } /** * <b>description</b> : * <h6><a href="#-serverless-"></a>**This operation is available only for serverless ApsaraMQ for Kafka instances.</h6> * * <b>summary</b> : * <p>Queries the scheduled scaling policy of a serverless ApsaraMQ for Kafka instance after you deploy the instance.</p> * * @param request GetAutoScalingConfigurationRequest * @return GetAutoScalingConfigurationResponse */ public GetAutoScalingConfigurationResponse getAutoScalingConfiguration(GetAutoScalingConfigurationRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getAutoScalingConfigurationWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries one or more consumer groups in a specified Message Queue for Apache Kafka instance.</p> * * @param request GetConsumerListRequest * @param runtime runtime options for this request RuntimeOptions * @return GetConsumerListResponse */ public GetConsumerListResponse getConsumerListWithOptions(GetConsumerListRequest request, 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.consumerId)) { query.put("ConsumerId", request.consumerId); } if (!com.aliyun.teautil.Common.isUnset(request.currentPage)) { query.put("CurrentPage", request.currentPage); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetConsumerList"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetConsumerListResponse()); } /** * <b>summary</b> : * <p>Queries one or more consumer groups in a specified Message Queue for Apache Kafka instance.</p> * * @param request GetConsumerListRequest * @return GetConsumerListResponse */ public GetConsumerListResponse getConsumerList(GetConsumerListRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getConsumerListWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the consumer progress of a consumer group.</p> * * @param request GetConsumerProgressRequest * @param runtime runtime options for this request RuntimeOptions * @return GetConsumerProgressResponse */ public GetConsumerProgressResponse getConsumerProgressWithOptions(GetConsumerProgressRequest request, 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.consumerId)) { query.put("ConsumerId", request.consumerId); } if (!com.aliyun.teautil.Common.isUnset(request.hideLastTimestamp)) { query.put("HideLastTimestamp", request.hideLastTimestamp); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetConsumerProgress"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetConsumerProgressResponse()); } /** * <b>summary</b> : * <p>Queries the consumer progress of a consumer group.</p> * * @param request GetConsumerProgressRequest * @return GetConsumerProgressResponse */ public GetConsumerProgressResponse getConsumerProgress(GetConsumerProgressRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getConsumerProgressWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the information about instances in a specified region.</p> * * @param request GetInstanceListRequest * @param runtime runtime options for this request RuntimeOptions * @return GetInstanceListResponse */ public GetInstanceListResponse getInstanceListWithOptions(GetInstanceListRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.orderId)) { query.put("OrderId", request.orderId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceGroupId)) { query.put("ResourceGroupId", request.resourceGroupId); } if (!com.aliyun.teautil.Common.isUnset(request.series)) { query.put("Series", request.series); } if (!com.aliyun.teautil.Common.isUnset(request.tag)) { query.put("Tag", request.tag); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetInstanceList"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetInstanceListResponse()); } /** * <b>summary</b> : * <p>Queries the information about instances in a specified region.</p> * * @param request GetInstanceListRequest * @return GetInstanceListResponse */ public GetInstanceListResponse getInstanceList(GetInstanceListRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getInstanceListWithOptions(request, runtime); } /** * <b>description</b> : * <p> The IP information is obtained from the sampled logs generated for the requests that the client sends to the broker by calling the API operations of ApsaraMQ for Kafka.</p> * <ul> * <li>Statistics refers to the number of connections on different ports of an IP address within a specific period of time.</li> * <li>If the broker is not of the latest minor version, the sampled logs may not be accurate. This may cause inaccurate IP information. Therefore, we recommend that you update your broker to the latest version at the earliest opportunity.</li> * </ul> * * <b>summary</b> : * <p>Queries the IP addresses of the clients that are connected to an ApsaraMQ for Kafka instance.</p> * * @param request GetKafkaClientIpRequest * @param runtime runtime options for this request RuntimeOptions * @return GetKafkaClientIpResponse */ public GetKafkaClientIpResponse getKafkaClientIpWithOptions(GetKafkaClientIpRequest request, 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.endTime)) { query.put("EndTime", request.endTime); } if (!com.aliyun.teautil.Common.isUnset(request.group)) { query.put("Group", request.group); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.startTime)) { query.put("StartTime", request.startTime); } if (!com.aliyun.teautil.Common.isUnset(request.topic)) { query.put("Topic", request.topic); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetKafkaClientIp"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetKafkaClientIpResponse()); } /** * <b>description</b> : * <p> The IP information is obtained from the sampled logs generated for the requests that the client sends to the broker by calling the API operations of ApsaraMQ for Kafka.</p> * <ul> * <li>Statistics refers to the number of connections on different ports of an IP address within a specific period of time.</li> * <li>If the broker is not of the latest minor version, the sampled logs may not be accurate. This may cause inaccurate IP information. Therefore, we recommend that you update your broker to the latest version at the earliest opportunity.</li> * </ul> * * <b>summary</b> : * <p>Queries the IP addresses of the clients that are connected to an ApsaraMQ for Kafka instance.</p> * * @param request GetKafkaClientIpRequest * @return GetKafkaClientIpResponse */ public GetKafkaClientIpResponse getKafkaClientIp(GetKafkaClientIpRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getKafkaClientIpWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the used quota of topics and partitions.</p> * * @param request GetQuotaTipRequest * @param runtime runtime options for this request RuntimeOptions * @return GetQuotaTipResponse */ public GetQuotaTipResponse getQuotaTipWithOptions(GetQuotaTipRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetQuotaTip"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetQuotaTipResponse()); } /** * <b>summary</b> : * <p>Queries the used quota of topics and partitions.</p> * * @param request GetQuotaTipRequest * @return GetQuotaTipResponse */ public GetQuotaTipResponse getQuotaTip(GetQuotaTipRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getQuotaTipWithOptions(request, runtime); } /** * <b>summary</b> : * <p>查询实例风险列表</p> * * @param request GetRiskListRequest * @param runtime runtime options for this request RuntimeOptions * @return GetRiskListResponse */ public GetRiskListResponse getRiskListWithOptions(GetRiskListRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.startIndex)) { query.put("StartIndex", request.startIndex); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetRiskList"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetRiskListResponse()); } /** * <b>summary</b> : * <p>查询实例风险列表</p> * * @param request GetRiskListRequest * @return GetRiskListResponse */ public GetRiskListResponse getRiskList(GetRiskListRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getRiskListWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the information about a topic.</p> * * @param request GetTopicListRequest * @param runtime runtime options for this request RuntimeOptions * @return GetTopicListResponse */ public GetTopicListResponse getTopicListWithOptions(GetTopicListRequest request, 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.currentPage)) { query.put("CurrentPage", request.currentPage); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.topic)) { query.put("Topic", request.topic); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetTopicList"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetTopicListResponse()); } /** * <b>summary</b> : * <p>Queries the information about a topic.</p> * * @param request GetTopicListRequest * @return GetTopicListResponse */ public GetTopicListResponse getTopicList(GetTopicListRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getTopicListWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the messaging status of a topic.</p> * * @param request GetTopicStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return GetTopicStatusResponse */ public GetTopicStatusResponse getTopicStatusWithOptions(GetTopicStatusRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.topic)) { query.put("Topic", request.topic); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetTopicStatus"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetTopicStatusResponse()); } /** * <b>summary</b> : * <p>Queries the messaging status of a topic.</p> * * @param request GetTopicStatusRequest * @return GetTopicStatusResponse */ public GetTopicStatusResponse getTopicStatus(GetTopicStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getTopicStatusWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the information about the groups that subscribe to a topic.</p> * * @param request GetTopicSubscribeStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return GetTopicSubscribeStatusResponse */ public GetTopicSubscribeStatusResponse getTopicSubscribeStatusWithOptions(GetTopicSubscribeStatusRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.topic)) { query.put("Topic", request.topic); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "GetTopicSubscribeStatus"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetTopicSubscribeStatusResponse()); } /** * <b>summary</b> : * <p>Queries the information about the groups that subscribe to a topic.</p> * * @param request GetTopicSubscribeStatusRequest * @return GetTopicSubscribeStatusResponse */ public GetTopicSubscribeStatusResponse getTopicSubscribeStatus(GetTopicSubscribeStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getTopicSubscribeStatusWithOptions(request, runtime); } /** * <b>summary</b> : * <p>获取Rebalance详情</p> * * @param request ListRebalanceInfoRequest * @param runtime runtime options for this request RuntimeOptions * @return ListRebalanceInfoResponse */ public ListRebalanceInfoResponse listRebalanceInfoWithOptions(ListRebalanceInfoRequest request, 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.consumerId)) { query.put("ConsumerId", request.consumerId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "ListRebalanceInfo"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListRebalanceInfoResponse()); } /** * <b>summary</b> : * <p>获取Rebalance详情</p> * * @param request ListRebalanceInfoRequest * @return ListRebalanceInfoResponse */ public ListRebalanceInfoResponse listRebalanceInfo(ListRebalanceInfoRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.listRebalanceInfoWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the tags that are attached to a specified resource.</p> * * @param request ListTagResourcesRequest * @param runtime runtime options for this request RuntimeOptions * @return ListTagResourcesResponse */ public ListTagResourcesResponse listTagResourcesWithOptions(ListTagResourcesRequest request, 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.nextToken)) { query.put("NextToken", request.nextToken); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceId)) { query.put("ResourceId", request.resourceId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceType)) { query.put("ResourceType", request.resourceType); } if (!com.aliyun.teautil.Common.isUnset(request.tag)) { query.put("Tag", request.tag); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "ListTagResources"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListTagResourcesResponse()); } /** * <b>summary</b> : * <p>Queries the tags that are attached to a specified resource.</p> * * @param request ListTagResourcesRequest * @return ListTagResourcesResponse */ public ListTagResourcesResponse listTagResources(ListTagResourcesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.listTagResourcesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Changes the name of an ApsaraMQ for Kafka instance. After you deploy an instance, you can call this operation to change the name of the instance.</p> * * @param request ModifyInstanceNameRequest * @param runtime runtime options for this request RuntimeOptions * @return ModifyInstanceNameResponse */ public ModifyInstanceNameResponse modifyInstanceNameWithOptions(ModifyInstanceNameRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceName)) { query.put("InstanceName", request.instanceName); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "ModifyInstanceName"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ModifyInstanceNameResponse()); } /** * <b>summary</b> : * <p>Changes the name of an ApsaraMQ for Kafka instance. After you deploy an instance, you can call this operation to change the name of the instance.</p> * * @param request ModifyInstanceNameRequest * @return ModifyInstanceNameResponse */ public ModifyInstanceNameResponse modifyInstanceName(ModifyInstanceNameRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.modifyInstanceNameWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Changes the number of partitions in a topic.</p> * * @param request ModifyPartitionNumRequest * @param runtime runtime options for this request RuntimeOptions * @return ModifyPartitionNumResponse */ public ModifyPartitionNumResponse modifyPartitionNumWithOptions(ModifyPartitionNumRequest request, 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.addPartitionNum)) { query.put("AddPartitionNum", request.addPartitionNum); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.topic)) { query.put("Topic", request.topic); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "ModifyPartitionNum"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ModifyPartitionNumResponse()); } /** * <b>summary</b> : * <p>Changes the number of partitions in a topic.</p> * * @param request ModifyPartitionNumRequest * @return ModifyPartitionNumResponse */ public ModifyPartitionNumResponse modifyPartitionNum(ModifyPartitionNumRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.modifyPartitionNumWithOptions(request, runtime); } /** * <b>description</b> : * <h6><a href="#-serverless-"></a>This operation is available only for serverless ApsaraMQ for Kafka instances.</h6> * * <b>summary</b> : * <p>Modifies the scheduled scaling policy of a serverless ApsaraMQ for Kafka instance after you deploy the instance.</p> * * @param request ModifyScheduledScalingRuleRequest * @param runtime runtime options for this request RuntimeOptions * @return ModifyScheduledScalingRuleResponse */ public ModifyScheduledScalingRuleResponse modifyScheduledScalingRuleWithOptions(ModifyScheduledScalingRuleRequest request, 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.enable)) { query.put("Enable", request.enable); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.ruleName)) { query.put("RuleName", request.ruleName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "ModifyScheduledScalingRule"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ModifyScheduledScalingRuleResponse()); } /** * <b>description</b> : * <h6><a href="#-serverless-"></a>This operation is available only for serverless ApsaraMQ for Kafka instances.</h6> * * <b>summary</b> : * <p>Modifies the scheduled scaling policy of a serverless ApsaraMQ for Kafka instance after you deploy the instance.</p> * * @param request ModifyScheduledScalingRuleRequest * @return ModifyScheduledScalingRuleResponse */ public ModifyScheduledScalingRuleResponse modifyScheduledScalingRule(ModifyScheduledScalingRuleRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.modifyScheduledScalingRuleWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the description of a topic.</p> * * @param request ModifyTopicRemarkRequest * @param runtime runtime options for this request RuntimeOptions * @return ModifyTopicRemarkResponse */ public ModifyTopicRemarkResponse modifyTopicRemarkWithOptions(ModifyTopicRemarkRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.topic)) { query.put("Topic", request.topic); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "ModifyTopicRemark"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ModifyTopicRemarkResponse()); } /** * <b>summary</b> : * <p>Modifies the description of a topic.</p> * * @param request ModifyTopicRemarkRequest * @return ModifyTopicRemarkResponse */ public ModifyTopicRemarkResponse modifyTopicRemark(ModifyTopicRemarkRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.modifyTopicRemarkWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries messages stored in a topic. You can query messages by creation time or offset.</p> * * @param request QueryMessageRequest * @param runtime runtime options for this request RuntimeOptions * @return QueryMessageResponse */ public QueryMessageResponse queryMessageWithOptions(QueryMessageRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, String> query = com.aliyun.openapiutil.Client.query(com.aliyun.teautil.Common.toMap(request)); com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "QueryMessage"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "GET"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new QueryMessageResponse()); } /** * <b>summary</b> : * <p>Queries messages stored in a topic. You can query messages by creation time or offset.</p> * * @param request QueryMessageRequest * @return QueryMessageResponse */ public QueryMessageResponse queryMessage(QueryMessageRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.queryMessageWithOptions(request, runtime); } /** * <b>description</b> : * <p>You cannot call this operation to release a subscription Message Queue for Apache Kafka instance.</p> * * <b>summary</b> : * <p>Releases a pay-as-you-go instance.</p> * * @param request ReleaseInstanceRequest * @param runtime runtime options for this request RuntimeOptions * @return ReleaseInstanceResponse */ public ReleaseInstanceResponse releaseInstanceWithOptions(ReleaseInstanceRequest request, 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.forceDeleteInstance)) { query.put("ForceDeleteInstance", request.forceDeleteInstance); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "ReleaseInstance"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ReleaseInstanceResponse()); } /** * <b>description</b> : * <p>You cannot call this operation to release a subscription Message Queue for Apache Kafka instance.</p> * * <b>summary</b> : * <p>Releases a pay-as-you-go instance.</p> * * @param request ReleaseInstanceRequest * @return ReleaseInstanceResponse */ public ReleaseInstanceResponse releaseInstance(ReleaseInstanceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.releaseInstanceWithOptions(request, runtime); } /** * <b>description</b> : * <p>You can call this operation only if your instance is in the Stopped state.</p> * * <b>summary</b> : * <p>Enables an ApsaraMQ for Kafka instance.</p> * * @param request ReopenInstanceRequest * @param runtime runtime options for this request RuntimeOptions * @return ReopenInstanceResponse */ public ReopenInstanceResponse reopenInstanceWithOptions(ReopenInstanceRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "ReopenInstance"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ReopenInstanceResponse()); } /** * <b>description</b> : * <p>You can call this operation only if your instance is in the Stopped state.</p> * * <b>summary</b> : * <p>Enables an ApsaraMQ for Kafka instance.</p> * * @param request ReopenInstanceRequest * @return ReopenInstanceResponse */ public ReopenInstanceResponse reopenInstance(ReopenInstanceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.reopenInstanceWithOptions(request, runtime); } /** * <b>description</b> : * <blockquote> * <p> You can call this operation up to twice per second.</p> * </blockquote> * * <b>summary</b> : * <p>Deploys an ApsaraMQ for Kafka instance. You must purchase and deploy an ApsaraMQ for Kafka instance before you can use the instance to send and receive messages.</p> * * @param request StartInstanceRequest * @param runtime runtime options for this request RuntimeOptions * @return StartInstanceResponse */ public StartInstanceResponse startInstanceWithOptions(StartInstanceRequest request, 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.config)) { query.put("Config", request.config); } if (!com.aliyun.teautil.Common.isUnset(request.crossZone)) { query.put("CrossZone", request.crossZone); } if (!com.aliyun.teautil.Common.isUnset(request.deployModule)) { query.put("DeployModule", request.deployModule); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.isEipInner)) { query.put("IsEipInner", request.isEipInner); } if (!com.aliyun.teautil.Common.isUnset(request.isForceSelectedZones)) { query.put("IsForceSelectedZones", request.isForceSelectedZones); } if (!com.aliyun.teautil.Common.isUnset(request.isSetUserAndPassword)) { query.put("IsSetUserAndPassword", request.isSetUserAndPassword); } if (!com.aliyun.teautil.Common.isUnset(request.KMSKeyId)) { query.put("KMSKeyId", request.KMSKeyId); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.notifier)) { query.put("Notifier", request.notifier); } if (!com.aliyun.teautil.Common.isUnset(request.password)) { query.put("Password", request.password); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.securityGroup)) { query.put("SecurityGroup", request.securityGroup); } if (!com.aliyun.teautil.Common.isUnset(request.selectedZones)) { query.put("SelectedZones", request.selectedZones); } if (!com.aliyun.teautil.Common.isUnset(request.serviceVersion)) { query.put("ServiceVersion", request.serviceVersion); } if (!com.aliyun.teautil.Common.isUnset(request.userPhoneNum)) { query.put("UserPhoneNum", request.userPhoneNum); } if (!com.aliyun.teautil.Common.isUnset(request.username)) { query.put("Username", request.username); } if (!com.aliyun.teautil.Common.isUnset(request.vSwitchId)) { query.put("VSwitchId", request.vSwitchId); } if (!com.aliyun.teautil.Common.isUnset(request.vSwitchIds)) { query.put("VSwitchIds", request.vSwitchIds); } if (!com.aliyun.teautil.Common.isUnset(request.vpcId)) { query.put("VpcId", request.vpcId); } if (!com.aliyun.teautil.Common.isUnset(request.zoneId)) { query.put("ZoneId", request.zoneId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "StartInstance"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new StartInstanceResponse()); } /** * <b>description</b> : * <blockquote> * <p> You can call this operation up to twice per second.</p> * </blockquote> * * <b>summary</b> : * <p>Deploys an ApsaraMQ for Kafka instance. You must purchase and deploy an ApsaraMQ for Kafka instance before you can use the instance to send and receive messages.</p> * * @param request StartInstanceRequest * @return StartInstanceResponse */ public StartInstanceResponse startInstance(StartInstanceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.startInstanceWithOptions(request, runtime); } /** * <b>description</b> : * <p>You cannot stop a subscription ApsaraMQ for Kafka instance. If you want to stop a subscription ApsaraMQ for Kafka instance, submit a ticket.</p> * * <b>summary</b> : * <p>Stops an ApsaraMQ for Kafka instance.</p> * * @param request StopInstanceRequest * @param runtime runtime options for this request RuntimeOptions * @return StopInstanceResponse */ public StopInstanceResponse stopInstanceWithOptions(StopInstanceRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "StopInstance"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new StopInstanceResponse()); } /** * <b>description</b> : * <p>You cannot stop a subscription ApsaraMQ for Kafka instance. If you want to stop a subscription ApsaraMQ for Kafka instance, submit a ticket.</p> * * <b>summary</b> : * <p>Stops an ApsaraMQ for Kafka instance.</p> * * @param request StopInstanceRequest * @return StopInstanceResponse */ public StopInstanceResponse stopInstance(StopInstanceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.stopInstanceWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Attaches a tag to a resource.</p> * * @param request TagResourcesRequest * @param runtime runtime options for this request RuntimeOptions * @return TagResourcesResponse */ public TagResourcesResponse tagResourcesWithOptions(TagResourcesRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceId)) { query.put("ResourceId", request.resourceId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceType)) { query.put("ResourceType", request.resourceType); } if (!com.aliyun.teautil.Common.isUnset(request.tag)) { query.put("Tag", request.tag); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "TagResources"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new TagResourcesResponse()); } /** * <b>summary</b> : * <p>Attaches a tag to a resource.</p> * * @param request TagResourcesRequest * @return TagResourcesResponse */ public TagResourcesResponse tagResources(TagResourcesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.tagResourcesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Detaches tags from a specified resource.</p> * * @param request UntagResourcesRequest * @param runtime runtime options for this request RuntimeOptions * @return UntagResourcesResponse */ public UntagResourcesResponse untagResourcesWithOptions(UntagResourcesRequest request, 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.all)) { query.put("All", request.all); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceId)) { query.put("ResourceId", request.resourceId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceType)) { query.put("ResourceType", request.resourceType); } if (!com.aliyun.teautil.Common.isUnset(request.tagKey)) { query.put("TagKey", request.tagKey); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "UntagResources"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UntagResourcesResponse()); } /** * <b>summary</b> : * <p>Detaches tags from a specified resource.</p> * * @param request UntagResourcesRequest * @return UntagResourcesResponse */ public UntagResourcesResponse untagResources(UntagResourcesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.untagResourcesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Updates the IP address whitelist of an ApsaraMQ for Kafka instance. Only IP addresses and ports that are configured in the IP address whitelist of an instance can access the instance.</p> * * @param request UpdateAllowedIpRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateAllowedIpResponse */ public UpdateAllowedIpResponse updateAllowedIpWithOptions(UpdateAllowedIpRequest request, 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.allowedListIp)) { query.put("AllowedListIp", request.allowedListIp); } if (!com.aliyun.teautil.Common.isUnset(request.allowedListType)) { query.put("AllowedListType", request.allowedListType); } if (!com.aliyun.teautil.Common.isUnset(request.description)) { query.put("Description", request.description); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.portRange)) { query.put("PortRange", request.portRange); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.updateType)) { query.put("UpdateType", request.updateType); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "UpdateAllowedIp"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateAllowedIpResponse()); } /** * <b>summary</b> : * <p>Updates the IP address whitelist of an ApsaraMQ for Kafka instance. Only IP addresses and ports that are configured in the IP address whitelist of an instance can access the instance.</p> * * @param request UpdateAllowedIpRequest * @return UpdateAllowedIpResponse */ public UpdateAllowedIpResponse updateAllowedIp(UpdateAllowedIpRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateAllowedIpWithOptions(request, runtime); } /** * <b>description</b> : * <p>You can call this operation to reset the consumer offset of a specific consumer group. You can use the timestamp or offset parameter to reset the consumer offset of a consumer group. You can implement the following features by configuring a combination of different parameters:</p> * <ul> * <li>Reset the consumer offsets of one or all subscribed topics of a consumer group to the latest offset. This way, you can consume messages in the topics from the latest offset.</li> * <li>Reset the consumer offsets of one or all subscribed topics of a consumer group to a specific point in time. This way, you can consume messages in the topics from the specified point in time.</li> * <li>Reset the consumer offset of one subscribed topic of a consumer group to a specific offset in a specific partition. This way, you can consume messages from the specified offset in the specified partition.</li> * </ul> * * <b>summary</b> : * <p>Resets the consumer offsets of the subscribed topics of a consumer group.</p> * * @param tmpReq UpdateConsumerOffsetRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateConsumerOffsetResponse */ public UpdateConsumerOffsetResponse updateConsumerOffsetWithOptions(UpdateConsumerOffsetRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpdateConsumerOffsetShrinkRequest request = new UpdateConsumerOffsetShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.offsets)) { request.offsetsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.offsets, "Offsets", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.consumerId)) { query.put("ConsumerId", request.consumerId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.offsetsShrink)) { query.put("Offsets", request.offsetsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.resetType)) { query.put("ResetType", request.resetType); } if (!com.aliyun.teautil.Common.isUnset(request.time)) { query.put("Time", request.time); } if (!com.aliyun.teautil.Common.isUnset(request.topic)) { query.put("Topic", request.topic); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "UpdateConsumerOffset"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateConsumerOffsetResponse()); } /** * <b>description</b> : * <p>You can call this operation to reset the consumer offset of a specific consumer group. You can use the timestamp or offset parameter to reset the consumer offset of a consumer group. You can implement the following features by configuring a combination of different parameters:</p> * <ul> * <li>Reset the consumer offsets of one or all subscribed topics of a consumer group to the latest offset. This way, you can consume messages in the topics from the latest offset.</li> * <li>Reset the consumer offsets of one or all subscribed topics of a consumer group to a specific point in time. This way, you can consume messages in the topics from the specified point in time.</li> * <li>Reset the consumer offset of one subscribed topic of a consumer group to a specific offset in a specific partition. This way, you can consume messages from the specified offset in the specified partition.</li> * </ul> * * <b>summary</b> : * <p>Resets the consumer offsets of the subscribed topics of a consumer group.</p> * * @param request UpdateConsumerOffsetRequest * @return UpdateConsumerOffsetResponse */ public UpdateConsumerOffsetResponse updateConsumerOffset(UpdateConsumerOffsetRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateConsumerOffsetWithOptions(request, runtime); } /** * <b>description</b> : * <h2><strong>Permissions</strong></h2> * <p>If a RAM user wants to call the <strong>UpdateInstanceConfig</strong> operation, the RAM user must be granted the required permissions. For more information about how to grant permissions, see <a href="https://help.aliyun.com/document_detail/185815.html">RAM policies</a>.</p> * <table> * <thead> * <tr> * <th>API</th> * <th>Action</th> * <th>Resource</th> * </tr> * </thead> * <tbody><tr> * <td>UpdateInstanceConfig</td> * <td>alikafka: UpdateInstance</td> * <td>acs:alikafka:<em>:</em>:{instanceId}</td> * </tr> * </tbody></table> * * <b>summary</b> : * <p>Modifies the configurations of an ApsaraMQ for Kafka instance. ApsaraMQ for Kafka allows you to modify the configurations of an instance, including the access control list (ACL) feature, the Secure Sockets Layer (SSL) feature, the message retention period, and the maximum message size.</p> * * @param request UpdateInstanceConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateInstanceConfigResponse */ public UpdateInstanceConfigResponse updateInstanceConfigWithOptions(UpdateInstanceConfigRequest request, 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.config)) { query.put("Config", request.config); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "UpdateInstanceConfig"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateInstanceConfigResponse()); } /** * <b>description</b> : * <h2><strong>Permissions</strong></h2> * <p>If a RAM user wants to call the <strong>UpdateInstanceConfig</strong> operation, the RAM user must be granted the required permissions. For more information about how to grant permissions, see <a href="https://help.aliyun.com/document_detail/185815.html">RAM policies</a>.</p> * <table> * <thead> * <tr> * <th>API</th> * <th>Action</th> * <th>Resource</th> * </tr> * </thead> * <tbody><tr> * <td>UpdateInstanceConfig</td> * <td>alikafka: UpdateInstance</td> * <td>acs:alikafka:<em>:</em>:{instanceId}</td> * </tr> * </tbody></table> * * <b>summary</b> : * <p>Modifies the configurations of an ApsaraMQ for Kafka instance. ApsaraMQ for Kafka allows you to modify the configurations of an instance, including the access control list (ACL) feature, the Secure Sockets Layer (SSL) feature, the message retention period, and the maximum message size.</p> * * @param request UpdateInstanceConfigRequest * @return UpdateInstanceConfigResponse */ public UpdateInstanceConfigResponse updateInstanceConfig(UpdateInstanceConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateInstanceConfigWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the configurations of a topic. After you create a topic, you can modify the message retention period and maximum message size of the topic.</p> * * @param request UpdateTopicConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateTopicConfigResponse */ public UpdateTopicConfigResponse updateTopicConfigWithOptions(UpdateTopicConfigRequest request, 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.config)) { query.put("Config", request.config); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.topic)) { query.put("Topic", request.topic); } if (!com.aliyun.teautil.Common.isUnset(request.value)) { query.put("Value", request.value); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "UpdateTopicConfig"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateTopicConfigResponse()); } /** * <b>summary</b> : * <p>Modifies the configurations of a topic. After you create a topic, you can modify the message retention period and maximum message size of the topic.</p> * * @param request UpdateTopicConfigRequest * @return UpdateTopicConfigResponse */ public UpdateTopicConfigResponse updateTopicConfig(UpdateTopicConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateTopicConfigWithOptions(request, runtime); } /** * <b>description</b> : * <h2><strong>Permissions</strong></h2> * <p>A RAM user must be granted the required permissions before the RAM user calls the <strong>UpgradeInstanceVersion</strong> operation. For information about how to grant permissions, see <a href="https://help.aliyun.com/document_detail/185815.html">RAM policies</a>.</p> * <table> * <thead> * <tr> * <th>API</th> * <th>Action</th> * <th>Resource</th> * </tr> * </thead> * <tbody><tr> * <td>UpgradeInstanceVersion</td> * <td>UpdateInstance</td> * <td>acs:alikafka:<em>:</em>:{instanceId}</td> * </tr> * </tbody></table> * <h2><strong>QPS limits</strong></h2> * <p>You can send a maximum of two queries per second (QPS).</p> * * <b>summary</b> : * <p>Updates the version of an instance.</p> * * @param request UpgradeInstanceVersionRequest * @param runtime runtime options for this request RuntimeOptions * @return UpgradeInstanceVersionResponse */ public UpgradeInstanceVersionResponse upgradeInstanceVersionWithOptions(UpgradeInstanceVersionRequest request, 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.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.targetVersion)) { query.put("TargetVersion", request.targetVersion); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "UpgradeInstanceVersion"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpgradeInstanceVersionResponse()); } /** * <b>description</b> : * <h2><strong>Permissions</strong></h2> * <p>A RAM user must be granted the required permissions before the RAM user calls the <strong>UpgradeInstanceVersion</strong> operation. For information about how to grant permissions, see <a href="https://help.aliyun.com/document_detail/185815.html">RAM policies</a>.</p> * <table> * <thead> * <tr> * <th>API</th> * <th>Action</th> * <th>Resource</th> * </tr> * </thead> * <tbody><tr> * <td>UpgradeInstanceVersion</td> * <td>UpdateInstance</td> * <td>acs:alikafka:<em>:</em>:{instanceId}</td> * </tr> * </tbody></table> * <h2><strong>QPS limits</strong></h2> * <p>You can send a maximum of two queries per second (QPS).</p> * * <b>summary</b> : * <p>Updates the version of an instance.</p> * * @param request UpgradeInstanceVersionRequest * @return UpgradeInstanceVersionResponse */ public UpgradeInstanceVersionResponse upgradeInstanceVersion(UpgradeInstanceVersionRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.upgradeInstanceVersionWithOptions(request, runtime); } /** * <b>description</b> : * <p>Before you call this operation, make sure that you understand the billing method and pricing of pay-as-you-go Message Queue for Apache Kafka instances. For more information, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p> * * <b>summary</b> : * <p>Upgrades a pay-as-you-go ApsaraMQ for Kafka instance.</p> * * @param tmpReq UpgradePostPayOrderRequest * @param runtime runtime options for this request RuntimeOptions * @return UpgradePostPayOrderResponse */ public UpgradePostPayOrderResponse upgradePostPayOrderWithOptions(UpgradePostPayOrderRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpgradePostPayOrderShrinkRequest request = new UpgradePostPayOrderShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.serverlessConfig)) { request.serverlessConfigShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.serverlessConfig, "ServerlessConfig", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.diskSize)) { query.put("DiskSize", request.diskSize); } if (!com.aliyun.teautil.Common.isUnset(request.eipMax)) { query.put("EipMax", request.eipMax); } if (!com.aliyun.teautil.Common.isUnset(request.eipModel)) { query.put("EipModel", request.eipModel); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.ioMax)) { query.put("IoMax", request.ioMax); } if (!com.aliyun.teautil.Common.isUnset(request.ioMaxSpec)) { query.put("IoMaxSpec", request.ioMaxSpec); } if (!com.aliyun.teautil.Common.isUnset(request.partitionNum)) { query.put("PartitionNum", request.partitionNum); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.serverlessConfigShrink)) { query.put("ServerlessConfig", request.serverlessConfigShrink); } if (!com.aliyun.teautil.Common.isUnset(request.specType)) { query.put("SpecType", request.specType); } if (!com.aliyun.teautil.Common.isUnset(request.topicQuota)) { query.put("TopicQuota", request.topicQuota); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "UpgradePostPayOrder"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpgradePostPayOrderResponse()); } /** * <b>description</b> : * <p>Before you call this operation, make sure that you understand the billing method and pricing of pay-as-you-go Message Queue for Apache Kafka instances. For more information, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing</a>.</p> * * <b>summary</b> : * <p>Upgrades a pay-as-you-go ApsaraMQ for Kafka instance.</p> * * @param request UpgradePostPayOrderRequest * @return UpgradePostPayOrderResponse */ public UpgradePostPayOrderResponse upgradePostPayOrder(UpgradePostPayOrderRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.upgradePostPayOrderWithOptions(request, runtime); } /** * <b>description</b> : * <p>Before you call this operation, make sure that you understand the billing method and pricing of subscription Message Queue for Apache Kafka instances. For more information, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing overview</a>.</p> * * <b>summary</b> : * <p>Upgrades a Message Queue for Apache Kafka instance that uses the subscription billing method.</p> * * @param tmpReq UpgradePrePayOrderRequest * @param runtime runtime options for this request RuntimeOptions * @return UpgradePrePayOrderResponse */ public UpgradePrePayOrderResponse upgradePrePayOrderWithOptions(UpgradePrePayOrderRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpgradePrePayOrderShrinkRequest request = new UpgradePrePayOrderShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.confluentConfig)) { request.confluentConfigShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.confluentConfig, "ConfluentConfig", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.confluentConfigShrink)) { query.put("ConfluentConfig", request.confluentConfigShrink); } if (!com.aliyun.teautil.Common.isUnset(request.diskSize)) { query.put("DiskSize", request.diskSize); } if (!com.aliyun.teautil.Common.isUnset(request.eipMax)) { query.put("EipMax", request.eipMax); } if (!com.aliyun.teautil.Common.isUnset(request.eipModel)) { query.put("EipModel", request.eipModel); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.ioMax)) { query.put("IoMax", request.ioMax); } if (!com.aliyun.teautil.Common.isUnset(request.ioMaxSpec)) { query.put("IoMaxSpec", request.ioMaxSpec); } if (!com.aliyun.teautil.Common.isUnset(request.paidType)) { query.put("PaidType", request.paidType); } if (!com.aliyun.teautil.Common.isUnset(request.partitionNum)) { query.put("PartitionNum", request.partitionNum); } if (!com.aliyun.teautil.Common.isUnset(request.regionId)) { query.put("RegionId", request.regionId); } if (!com.aliyun.teautil.Common.isUnset(request.specType)) { query.put("SpecType", request.specType); } if (!com.aliyun.teautil.Common.isUnset(request.topicQuota)) { query.put("TopicQuota", request.topicQuota); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( 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", "UpgradePrePayOrder"), new TeaPair("version", "2019-09-16"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpgradePrePayOrderResponse()); } /** * <b>description</b> : * <p>Before you call this operation, make sure that you understand the billing method and pricing of subscription Message Queue for Apache Kafka instances. For more information, see <a href="https://help.aliyun.com/document_detail/84737.html">Billing overview</a>.</p> * * <b>summary</b> : * <p>Upgrades a Message Queue for Apache Kafka instance that uses the subscription billing method.</p> * * @param request UpgradePrePayOrderRequest * @return UpgradePrePayOrderResponse */ public UpgradePrePayOrderResponse upgradePrePayOrder(UpgradePrePayOrderRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.upgradePrePayOrderWithOptions(request, runtime); } }
0
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/ChangeResourceGroupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20190916.models; import com.aliyun.tea.*; public class ChangeResourceGroupRequest extends TeaModel { /** * <p>The ID of the resource group to which you want to transfer the cloud resource.</p> * <blockquote> * <p> You can use resource groups to manage resources owned by your Alibaba Cloud account. Resource groups simplify the resource and permission management of your Alibaba Cloud account. For more information, see <a href="https://help.aliyun.com/document_detail/94475.html">What is resource management?</a></p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rg-ac***********7q</p> */ @NameInMap("NewResourceGroupId") public String newResourceGroupId; /** * <p>The region ID of the resource.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; /** * <p>The ID of the resource to which you want to attach a tag. Only the ID of a Message Queue for Apache Kafka instance is supported.</p> * <p>For example, if the ID of the instance is alikafka_post-cn-v0h1fgs2xxxx, the resource ID is alikafka_post-cn-v0h1fgs2xxxx.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_post-cn-v0h1fgs2****</p> */ @NameInMap("ResourceId") public String resourceId; public static ChangeResourceGroupRequest build(java.util.Map<String, ?> map) throws Exception { ChangeResourceGroupRequest self = new ChangeResourceGroupRequest(); return TeaModel.build(map, self); } public ChangeResourceGroupRequest setNewResourceGroupId(String newResourceGroupId) { this.newResourceGroupId = newResourceGroupId; return this; } public String getNewResourceGroupId() { return this.newResourceGroupId; } public ChangeResourceGroupRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public ChangeResourceGroupRequest setResourceId(String resourceId) { this.resourceId = resourceId; return this; } public String getResourceId() { return this.resourceId; } }
0
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/ChangeResourceGroupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20190916.models; import com.aliyun.tea.*; public class ChangeResourceGroupResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ChangeResourceGroupResponseBody body; public static ChangeResourceGroupResponse build(java.util.Map<String, ?> map) throws Exception { ChangeResourceGroupResponse self = new ChangeResourceGroupResponse(); return TeaModel.build(map, self); } public ChangeResourceGroupResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ChangeResourceGroupResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ChangeResourceGroupResponse setBody(ChangeResourceGroupResponseBody body) { this.body = body; return this; } public ChangeResourceGroupResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/ChangeResourceGroupResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20190916.models; import com.aliyun.tea.*; public class ChangeResourceGroupResponseBody extends TeaModel { /** * <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p> * * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <p>The returned message.</p> * * <strong>example:</strong> * <p>operation success</p> */ @NameInMap("Message") public String message; /** * <p>The ID of the new resource group. You can view the available resource groups in the Resource Management console.</p> * * <strong>example:</strong> * <p>rg-ac***********7q</p> */ @NameInMap("NewResourceGroupId") public String newResourceGroupId; /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>C5CA600C-7D5A-45B5-B6DB-44FAC2C****</p> */ @NameInMap("RequestId") public String requestId; /** * <p>Indicates whether the request is successful.</p> * * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Long success; public static ChangeResourceGroupResponseBody build(java.util.Map<String, ?> map) throws Exception { ChangeResourceGroupResponseBody self = new ChangeResourceGroupResponseBody(); return TeaModel.build(map, self); } public ChangeResourceGroupResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public ChangeResourceGroupResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public ChangeResourceGroupResponseBody setNewResourceGroupId(String newResourceGroupId) { this.newResourceGroupId = newResourceGroupId; return this; } public String getNewResourceGroupId() { return this.newResourceGroupId; } public ChangeResourceGroupResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public ChangeResourceGroupResponseBody setSuccess(Long success) { this.success = success; return this; } public Long getSuccess() { return this.success; } }
0
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/ConvertPostPayOrderRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20190916.models; import com.aliyun.tea.*; public class ConvertPostPayOrderRequest extends TeaModel { /** * <p>The subscription duration. Unit: months. Valid values:</p> * <ul> * <li><strong>1~12</strong></li> * <li><strong>24</strong></li> * <li><strong>36</strong></li> * </ul> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("Duration") public Integer duration; /** * <p>The ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_post-cn-v0h1fgs2****</p> */ @NameInMap("InstanceId") public String instanceId; @NameInMap("PaidType") public Integer paidType; /** * <p>The region ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; public static ConvertPostPayOrderRequest build(java.util.Map<String, ?> map) throws Exception { ConvertPostPayOrderRequest self = new ConvertPostPayOrderRequest(); return TeaModel.build(map, self); } public ConvertPostPayOrderRequest setDuration(Integer duration) { this.duration = duration; return this; } public Integer getDuration() { return this.duration; } public ConvertPostPayOrderRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public ConvertPostPayOrderRequest setPaidType(Integer paidType) { this.paidType = paidType; return this; } public Integer getPaidType() { return this.paidType; } public ConvertPostPayOrderRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } }
0
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/ConvertPostPayOrderResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20190916.models; import com.aliyun.tea.*; public class ConvertPostPayOrderResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ConvertPostPayOrderResponseBody body; public static ConvertPostPayOrderResponse build(java.util.Map<String, ?> map) throws Exception { ConvertPostPayOrderResponse self = new ConvertPostPayOrderResponse(); return TeaModel.build(map, self); } public ConvertPostPayOrderResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ConvertPostPayOrderResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ConvertPostPayOrderResponse setBody(ConvertPostPayOrderResponseBody body) { this.body = body; return this; } public ConvertPostPayOrderResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/ConvertPostPayOrderResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20190916.models; import com.aliyun.tea.*; public class ConvertPostPayOrderResponseBody extends TeaModel { /** * <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p> * * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <p>The error message returned.</p> * * <strong>example:</strong> * <p>operation success.</p> */ @NameInMap("Message") public String message; /** * <p>The ID of the order.</p> * * <strong>example:</strong> * <p>20497346575****</p> */ @NameInMap("OrderId") public String orderId; /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>06084011-E093-46F3-A51F-4B19A8AD****</p> */ @NameInMap("RequestId") public String requestId; /** * <p>Indicates whether the request is successful.</p> * * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static ConvertPostPayOrderResponseBody build(java.util.Map<String, ?> map) throws Exception { ConvertPostPayOrderResponseBody self = new ConvertPostPayOrderResponseBody(); return TeaModel.build(map, self); } public ConvertPostPayOrderResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public ConvertPostPayOrderResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public ConvertPostPayOrderResponseBody setOrderId(String orderId) { this.orderId = orderId; return this; } public String getOrderId() { return this.orderId; } public ConvertPostPayOrderResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public ConvertPostPayOrderResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } }
0
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateAclRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20190916.models; import com.aliyun.tea.*; public class CreateAclRequest extends TeaModel { /** * <p>The type of the operation allowed by the access control list (ACL). Valid values:</p> * <ul> * <li><strong>Write</strong></li> * <li><strong>Read</strong></li> * <li><strong>Describe</strong>: reads of transactional IDs.</li> * <li><strong>IdempotentWrite</strong>: idempotent data writes to clusters.</li> * <li><strong>IDEMPOTENT_WRITE</strong>: idempotent data writes to clusters. This value is available only for serverless ApsaraMQ for Kafka instances.</li> * <li><strong>DESCRIBE_CONFIGS</strong>: configuration query. This value is available only for serverless ApsaraMQ for Kafka instances.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Read</p> */ @NameInMap("AclOperationType") public String aclOperationType; /** * <p>The types of operations allowed by the ACL. Separate multiple operation types with commas (,).</p> * <p>Valid values:</p> * <ul> * <li><strong>Write</strong></li> * <li><strong>Read</strong></li> * <li><strong>Describe</strong>: reads of transactional IDs.</li> * <li><strong>IdempotentWrite</strong>: idempotent data writes to clusters.</li> * <li><strong>IDEMPOTENT_WRITE</strong>: idempotent data writes to clusters. This value is available only for serverless ApsaraMQ for Kafka instances.</li> * <li><strong>DESCRIBE_CONFIGS</strong>: configuration query. This value is available only for serverless ApsaraMQ for Kafka instances.</li> * </ul> * <blockquote> * <p> This parameter is available only for serverless ApsaraMQ for Kafka instances.</p> * </blockquote> * * <strong>example:</strong> * <p>Write,Read</p> */ @NameInMap("AclOperationTypes") public String aclOperationTypes; /** * <p>The authorization method. Valid values:</p> * <ul> * <li><strong>DENY</strong></li> * <li><strong>ALLOW</strong></li> * </ul> * <blockquote> * <p> This parameter is available only for serverless ApsaraMQ for Kafka instances.</p> * </blockquote> * * <strong>example:</strong> * <p>DENY</p> */ @NameInMap("AclPermissionType") public String aclPermissionType; /** * <p>The resource name.</p> * <ul> * <li>The value can be a topic name, a group ID, a cluster name, or a transaction ID.</li> * <li>You can use an asterisk (\*) to specify the names of all resources of the specified type.</li> * </ul> * <blockquote> * <p>You can use an asterisk (\*) to query the resources on which permissions are granted only after you grant the user the required permissions on all resources.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>X****</p> */ @NameInMap("AclResourceName") public String aclResourceName; /** * <p>The matching mode. Valid values:</p> * <ul> * <li><strong>LITERAL</strong>: exact match</li> * <li><strong>PREFIXED</strong>: prefix match</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>LITERAL</p> */ @NameInMap("AclResourcePatternType") public String aclResourcePatternType; /** * <p>The resource type. Valid values:</p> * <ul> * <li><strong>Topic</strong></li> * <li><strong>Group</strong></li> * <li><strong>Cluster</strong></li> * <li><strong>TransactionalId</strong>: transactional ID</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Group</p> */ @NameInMap("AclResourceType") public String aclResourceType; /** * <p>The IP address of the source.</p> * <blockquote> * </blockquote> * <ul> * <li><p>You can specify a specific IP address or use the asterisk (\*) wildcard character to specify all IP addresses. CIDR blocks are not supported.</p> * </li> * <li><p>This parameter is available only for serverless ApsaraMQ for Kafka instances.</p> * </li> * </ul> * * <strong>example:</strong> * <ul> * <li></li> * </ul> */ @NameInMap("Host") public String host; /** * <p>The instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_pre-cn-v0h1cng0****</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; /** * <p>The username.</p> * <ul> * <li>You can use an asterisk (\*) to specify all usernames.</li> * </ul> * <blockquote> * <p>You can use an asterisk (\*) to query the authorized users only after you grant the required permissions to all users.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test***</p> */ @NameInMap("Username") public String username; public static CreateAclRequest build(java.util.Map<String, ?> map) throws Exception { CreateAclRequest self = new CreateAclRequest(); return TeaModel.build(map, self); } public CreateAclRequest setAclOperationType(String aclOperationType) { this.aclOperationType = aclOperationType; return this; } public String getAclOperationType() { return this.aclOperationType; } public CreateAclRequest setAclOperationTypes(String aclOperationTypes) { this.aclOperationTypes = aclOperationTypes; return this; } public String getAclOperationTypes() { return this.aclOperationTypes; } public CreateAclRequest setAclPermissionType(String aclPermissionType) { this.aclPermissionType = aclPermissionType; return this; } public String getAclPermissionType() { return this.aclPermissionType; } public CreateAclRequest setAclResourceName(String aclResourceName) { this.aclResourceName = aclResourceName; return this; } public String getAclResourceName() { return this.aclResourceName; } public CreateAclRequest setAclResourcePatternType(String aclResourcePatternType) { this.aclResourcePatternType = aclResourcePatternType; return this; } public String getAclResourcePatternType() { return this.aclResourcePatternType; } public CreateAclRequest setAclResourceType(String aclResourceType) { this.aclResourceType = aclResourceType; return this; } public String getAclResourceType() { return this.aclResourceType; } public CreateAclRequest setHost(String host) { this.host = host; return this; } public String getHost() { return this.host; } public CreateAclRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public CreateAclRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public CreateAclRequest setUsername(String username) { this.username = username; return this; } public String getUsername() { return this.username; } }
0
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateAclResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20190916.models; import com.aliyun.tea.*; public class CreateAclResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CreateAclResponseBody body; public static CreateAclResponse build(java.util.Map<String, ?> map) throws Exception { CreateAclResponse self = new CreateAclResponse(); return TeaModel.build(map, self); } public CreateAclResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CreateAclResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CreateAclResponse setBody(CreateAclResponseBody body) { this.body = body; return this; } public CreateAclResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateAclResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20190916.models; import com.aliyun.tea.*; public class CreateAclResponseBody extends TeaModel { /** * <p>The HTTP status code returned. The HTTP status code 200 indicates that the request is successful.</p> * * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <p>The message returned.</p> * * <strong>example:</strong> * <p>operation success</p> */ @NameInMap("Message") public String message; /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>56729737-C428-4E1B-AC68-7A8C2D5****</p> */ @NameInMap("RequestId") public String requestId; /** * <p>Indicates whether the request is successful.</p> * * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static CreateAclResponseBody build(java.util.Map<String, ?> map) throws Exception { CreateAclResponseBody self = new CreateAclResponseBody(); return TeaModel.build(map, self); } public CreateAclResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public CreateAclResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public CreateAclResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public CreateAclResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } }
0
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916
java-sources/com/aliyun/alikafka20190916/1.13.0/com/aliyun/alikafka20190916/models/CreateConsumerGroupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alikafka20190916.models; import com.aliyun.tea.*; public class CreateConsumerGroupRequest extends TeaModel { /** * <p>The name of the consumer group.</p> * <ul> * <li>The value can contain only letters, digits, hyphens (-), and underscores (_), and the value must contain at least one letter or digit.</li> * <li>The value must be 3 to 128 characters in length. If the value that you specify contains more than 128 characters, the system automatically truncates the value to 128 characters.</li> * <li>After a consumer group is created, you cannot change the name of the consumer group.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test</p> */ @NameInMap("ConsumerId") public String consumerId; /** * <p>The instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>alikafka_post-cn-0pp1l9z8****</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>The region ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ @NameInMap("RegionId") public String regionId; /** * <p>The description of the consumer group.</p> * * <strong>example:</strong> * <p>test</p> */ @NameInMap("Remark") public String remark; /** * <p>The tags.</p> */ @NameInMap("Tag") public java.util.List<CreateConsumerGroupRequestTag> tag; public static CreateConsumerGroupRequest build(java.util.Map<String, ?> map) throws Exception { CreateConsumerGroupRequest self = new CreateConsumerGroupRequest(); return TeaModel.build(map, self); } public CreateConsumerGroupRequest setConsumerId(String consumerId) { this.consumerId = consumerId; return this; } public String getConsumerId() { return this.consumerId; } public CreateConsumerGroupRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public CreateConsumerGroupRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public CreateConsumerGroupRequest setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } public CreateConsumerGroupRequest setTag(java.util.List<CreateConsumerGroupRequestTag> tag) { this.tag = tag; return this; } public java.util.List<CreateConsumerGroupRequestTag> getTag() { return this.tag; } public static class CreateConsumerGroupRequestTag extends TeaModel { /** * <p>The tag key.</p> * <ul> * <li>You must specify this parameter.</li> * <li>The tag key can be up to 128 characters in length and cannot start with acs: or aliyun. It cannot contain <code>http://</code> or <code>https://</code>.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>FinanceDept</p> */ @NameInMap("Key") public String key; /** * <p>The tag value.</p> * <ul> * <li>You can leave this parameter empty.</li> * <li>The tag value can be up to 128 characters in length and cannot start with acs: or aliyun. It cannot contain <code>http://</code> or <code>https://</code>.</li> * </ul> * * <strong>example:</strong> * <p>FinanceJoshua</p> */ @NameInMap("Value") public String value; public static CreateConsumerGroupRequestTag build(java.util.Map<String, ?> map) throws Exception { CreateConsumerGroupRequestTag self = new CreateConsumerGroupRequestTag(); return TeaModel.build(map, self); } public CreateConsumerGroupRequestTag setKey(String key) { this.key = key; return this; } public String getKey() { return this.key; } public CreateConsumerGroupRequestTag setValue(String value) { this.value = value; return this; } public String getValue() { return this.value; } } }