index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/SendNotificationsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class SendNotificationsRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("DeviceInfo") public SendNotificationsRequestDeviceInfo deviceInfo; /** * <p>This parameter is required.</p> */ @NameInMap("NotificationUnicastRequest") public SendNotificationsRequestNotificationUnicastRequest notificationUnicastRequest; @NameInMap("TenantInfo") public SendNotificationsRequestTenantInfo tenantInfo; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public SendNotificationsRequestUserInfo userInfo; public static SendNotificationsRequest build(java.util.Map<String, ?> map) throws Exception { SendNotificationsRequest self = new SendNotificationsRequest(); return TeaModel.build(map, self); } public SendNotificationsRequest setDeviceInfo(SendNotificationsRequestDeviceInfo deviceInfo) { this.deviceInfo = deviceInfo; return this; } public SendNotificationsRequestDeviceInfo getDeviceInfo() { return this.deviceInfo; } public SendNotificationsRequest setNotificationUnicastRequest(SendNotificationsRequestNotificationUnicastRequest notificationUnicastRequest) { this.notificationUnicastRequest = notificationUnicastRequest; return this; } public SendNotificationsRequestNotificationUnicastRequest getNotificationUnicastRequest() { return this.notificationUnicastRequest; } public SendNotificationsRequest setTenantInfo(SendNotificationsRequestTenantInfo tenantInfo) { this.tenantInfo = tenantInfo; return this; } public SendNotificationsRequestTenantInfo getTenantInfo() { return this.tenantInfo; } public SendNotificationsRequest setUserInfo(SendNotificationsRequestUserInfo userInfo) { this.userInfo = userInfo; return this; } public SendNotificationsRequestUserInfo getUserInfo() { return this.userInfo; } public static class SendNotificationsRequestDeviceInfo 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 SendNotificationsRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception { SendNotificationsRequestDeviceInfo self = new SendNotificationsRequestDeviceInfo(); return TeaModel.build(map, self); } public SendNotificationsRequestDeviceInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public SendNotificationsRequestDeviceInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public SendNotificationsRequestDeviceInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public SendNotificationsRequestDeviceInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public SendNotificationsRequestDeviceInfo setOrganizationId(String organizationId) { this.organizationId = organizationId; return this; } public String getOrganizationId() { return this.organizationId; } } public static class SendNotificationsRequestNotificationUnicastRequestSendTarget extends TeaModel { public static SendNotificationsRequestNotificationUnicastRequestSendTarget build(java.util.Map<String, ?> map) throws Exception { SendNotificationsRequestNotificationUnicastRequestSendTarget self = new SendNotificationsRequestNotificationUnicastRequestSendTarget(); return TeaModel.build(map, self); } } public static class SendNotificationsRequestNotificationUnicastRequest extends TeaModel { /** * <strong>example:</strong> * <p>false</p> */ @NameInMap("IsDebug") public Boolean isDebug; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2iU81*****G9elJ</p> */ @NameInMap("MessageTemplateId") public String messageTemplateId; /** * <strong>example:</strong> * <p>{&quot;nick&quot;:&quot;张三&quot;}</p> */ @NameInMap("PlaceHolder") public java.util.Map<String, String> placeHolder; /** * <p>This parameter is required.</p> */ @NameInMap("SendTarget") public SendNotificationsRequestNotificationUnicastRequestSendTarget sendTarget; public static SendNotificationsRequestNotificationUnicastRequest build(java.util.Map<String, ?> map) throws Exception { SendNotificationsRequestNotificationUnicastRequest self = new SendNotificationsRequestNotificationUnicastRequest(); return TeaModel.build(map, self); } public SendNotificationsRequestNotificationUnicastRequest setIsDebug(Boolean isDebug) { this.isDebug = isDebug; return this; } public Boolean getIsDebug() { return this.isDebug; } public SendNotificationsRequestNotificationUnicastRequest setMessageTemplateId(String messageTemplateId) { this.messageTemplateId = messageTemplateId; return this; } public String getMessageTemplateId() { return this.messageTemplateId; } public SendNotificationsRequestNotificationUnicastRequest setPlaceHolder(java.util.Map<String, String> placeHolder) { this.placeHolder = placeHolder; return this; } public java.util.Map<String, String> getPlaceHolder() { return this.placeHolder; } public SendNotificationsRequestNotificationUnicastRequest setSendTarget(SendNotificationsRequestNotificationUnicastRequestSendTarget sendTarget) { this.sendTarget = sendTarget; return this; } public SendNotificationsRequestNotificationUnicastRequestSendTarget getSendTarget() { return this.sendTarget; } } public static class SendNotificationsRequestTenantInfo extends TeaModel { public static SendNotificationsRequestTenantInfo build(java.util.Map<String, ?> map) throws Exception { SendNotificationsRequestTenantInfo self = new SendNotificationsRequestTenantInfo(); return TeaModel.build(map, self); } } public static class SendNotificationsRequestUserInfo 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 SendNotificationsRequestUserInfo build(java.util.Map<String, ?> map) throws Exception { SendNotificationsRequestUserInfo self = new SendNotificationsRequestUserInfo(); return TeaModel.build(map, self); } public SendNotificationsRequestUserInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public SendNotificationsRequestUserInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public SendNotificationsRequestUserInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public SendNotificationsRequestUserInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public SendNotificationsRequestUserInfo setOrganizationId(String organizationId) { this.organizationId = organizationId; return this; } public String getOrganizationId() { return this.organizationId; } } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/SendNotificationsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class SendNotificationsResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; public static SendNotificationsResponse build(java.util.Map<String, ?> map) throws Exception { SendNotificationsResponse self = new SendNotificationsResponse(); return TeaModel.build(map, self); } public SendNotificationsResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public SendNotificationsResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/SendNotificationsShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class SendNotificationsShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("DeviceInfo") public String deviceInfoShrink; /** * <p>This parameter is required.</p> */ @NameInMap("NotificationUnicastRequest") public String notificationUnicastRequestShrink; @NameInMap("TenantInfo") public String tenantInfoShrink; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public String userInfoShrink; public static SendNotificationsShrinkRequest build(java.util.Map<String, ?> map) throws Exception { SendNotificationsShrinkRequest self = new SendNotificationsShrinkRequest(); return TeaModel.build(map, self); } public SendNotificationsShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) { this.deviceInfoShrink = deviceInfoShrink; return this; } public String getDeviceInfoShrink() { return this.deviceInfoShrink; } public SendNotificationsShrinkRequest setNotificationUnicastRequestShrink(String notificationUnicastRequestShrink) { this.notificationUnicastRequestShrink = notificationUnicastRequestShrink; return this; } public String getNotificationUnicastRequestShrink() { return this.notificationUnicastRequestShrink; } public SendNotificationsShrinkRequest setTenantInfoShrink(String tenantInfoShrink) { this.tenantInfoShrink = tenantInfoShrink; return this; } public String getTenantInfoShrink() { return this.tenantInfoShrink; } public SendNotificationsShrinkRequest setUserInfoShrink(String userInfoShrink) { this.userInfoShrink = userInfoShrink; return this; } public String getUserInfoShrink() { return this.userInfoShrink; } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/ThirdImmediateMsgPushHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_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/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/ThirdImmediateMsgPushRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_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>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 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/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/ThirdImmediateMsgPushResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_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/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/ThirdImmediateMsgPushResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_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/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/UpdateReminderHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class UpdateReminderHeaders 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 UpdateReminderHeaders build(java.util.Map<String, ?> map) throws Exception { UpdateReminderHeaders self = new UpdateReminderHeaders(); return TeaModel.build(map, self); } public UpdateReminderHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public UpdateReminderHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public UpdateReminderHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/UpdateReminderRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class UpdateReminderRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("DeviceInfo") public UpdateReminderRequestDeviceInfo deviceInfo; /** * <p>This parameter is required.</p> */ @NameInMap("Payload") public UpdateReminderRequestPayload payload; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public UpdateReminderRequestUserInfo userInfo; public static UpdateReminderRequest build(java.util.Map<String, ?> map) throws Exception { UpdateReminderRequest self = new UpdateReminderRequest(); return TeaModel.build(map, self); } public UpdateReminderRequest setDeviceInfo(UpdateReminderRequestDeviceInfo deviceInfo) { this.deviceInfo = deviceInfo; return this; } public UpdateReminderRequestDeviceInfo getDeviceInfo() { return this.deviceInfo; } public UpdateReminderRequest setPayload(UpdateReminderRequestPayload payload) { this.payload = payload; return this; } public UpdateReminderRequestPayload getPayload() { return this.payload; } public UpdateReminderRequest setUserInfo(UpdateReminderRequestUserInfo userInfo) { this.userInfo = userInfo; return this; } public UpdateReminderRequestUserInfo getUserInfo() { return this.userInfo; } public static class UpdateReminderRequestDeviceInfo 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 UpdateReminderRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception { UpdateReminderRequestDeviceInfo self = new UpdateReminderRequestDeviceInfo(); return TeaModel.build(map, self); } public UpdateReminderRequestDeviceInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public UpdateReminderRequestDeviceInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public UpdateReminderRequestDeviceInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public UpdateReminderRequestDeviceInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public UpdateReminderRequestDeviceInfo setOrganizationId(String organizationId) { this.organizationId = organizationId; return this; } public String getOrganizationId() { return this.organizationId; } } public static class UpdateReminderRequestPayloadRecurrenceRule extends TeaModel { /** * <strong>example:</strong> * <p>25</p> */ @NameInMap("Day") public Integer day; @NameInMap("DaysOfMonth") public java.util.List<Integer> daysOfMonth; @NameInMap("DaysOfWeek") public java.util.List<Integer> daysOfWeek; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1635134700000</p> */ @NameInMap("EndDateTime") public Long endDateTime; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ONCE</p> */ @NameInMap("Freq") public String freq; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>12</p> */ @NameInMap("Hour") public Integer hour; /** * <strong>example:</strong> * <p>3</p> */ @NameInMap("Minute") public Integer minute; /** * <strong>example:</strong> * <p>10</p> */ @NameInMap("Month") public Integer month; /** * <strong>example:</strong> * <p>3</p> */ @NameInMap("Second") public Integer second; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1635134400000</p> */ @NameInMap("StartDateTime") public Long startDateTime; /** * <strong>example:</strong> * <p>2021</p> */ @NameInMap("Year") public Integer year; public static UpdateReminderRequestPayloadRecurrenceRule build(java.util.Map<String, ?> map) throws Exception { UpdateReminderRequestPayloadRecurrenceRule self = new UpdateReminderRequestPayloadRecurrenceRule(); return TeaModel.build(map, self); } public UpdateReminderRequestPayloadRecurrenceRule setDay(Integer day) { this.day = day; return this; } public Integer getDay() { return this.day; } public UpdateReminderRequestPayloadRecurrenceRule setDaysOfMonth(java.util.List<Integer> daysOfMonth) { this.daysOfMonth = daysOfMonth; return this; } public java.util.List<Integer> getDaysOfMonth() { return this.daysOfMonth; } public UpdateReminderRequestPayloadRecurrenceRule setDaysOfWeek(java.util.List<Integer> daysOfWeek) { this.daysOfWeek = daysOfWeek; return this; } public java.util.List<Integer> getDaysOfWeek() { return this.daysOfWeek; } public UpdateReminderRequestPayloadRecurrenceRule setEndDateTime(Long endDateTime) { this.endDateTime = endDateTime; return this; } public Long getEndDateTime() { return this.endDateTime; } public UpdateReminderRequestPayloadRecurrenceRule setFreq(String freq) { this.freq = freq; return this; } public String getFreq() { return this.freq; } public UpdateReminderRequestPayloadRecurrenceRule setHour(Integer hour) { this.hour = hour; return this; } public Integer getHour() { return this.hour; } public UpdateReminderRequestPayloadRecurrenceRule setMinute(Integer minute) { this.minute = minute; return this; } public Integer getMinute() { return this.minute; } public UpdateReminderRequestPayloadRecurrenceRule setMonth(Integer month) { this.month = month; return this; } public Integer getMonth() { return this.month; } public UpdateReminderRequestPayloadRecurrenceRule setSecond(Integer second) { this.second = second; return this; } public Integer getSecond() { return this.second; } public UpdateReminderRequestPayloadRecurrenceRule setStartDateTime(Long startDateTime) { this.startDateTime = startDateTime; return this; } public Long getStartDateTime() { return this.startDateTime; } public UpdateReminderRequestPayloadRecurrenceRule setYear(Integer year) { this.year = year; return this; } public Integer getYear() { return this.year; } } public static class UpdateReminderRequestPayload extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>更新提醒内容</p> */ @NameInMap("Content") public String content; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20***34</p> */ @NameInMap("Id") public Long id; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>true</p> */ @NameInMap("IsDebug") public Boolean isDebug; /** * <p>This parameter is required.</p> */ @NameInMap("RecurrenceRule") public UpdateReminderRequestPayloadRecurrenceRule recurrenceRule; public static UpdateReminderRequestPayload build(java.util.Map<String, ?> map) throws Exception { UpdateReminderRequestPayload self = new UpdateReminderRequestPayload(); return TeaModel.build(map, self); } public UpdateReminderRequestPayload setContent(String content) { this.content = content; return this; } public String getContent() { return this.content; } public UpdateReminderRequestPayload setId(Long id) { this.id = id; return this; } public Long getId() { return this.id; } public UpdateReminderRequestPayload setIsDebug(Boolean isDebug) { this.isDebug = isDebug; return this; } public Boolean getIsDebug() { return this.isDebug; } public UpdateReminderRequestPayload setRecurrenceRule(UpdateReminderRequestPayloadRecurrenceRule recurrenceRule) { this.recurrenceRule = recurrenceRule; return this; } public UpdateReminderRequestPayloadRecurrenceRule getRecurrenceRule() { return this.recurrenceRule; } } public static class UpdateReminderRequestUserInfo 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 UpdateReminderRequestUserInfo build(java.util.Map<String, ?> map) throws Exception { UpdateReminderRequestUserInfo self = new UpdateReminderRequestUserInfo(); return TeaModel.build(map, self); } public UpdateReminderRequestUserInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public UpdateReminderRequestUserInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public UpdateReminderRequestUserInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public UpdateReminderRequestUserInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public UpdateReminderRequestUserInfo setOrganizationId(String organizationId) { this.organizationId = organizationId; return this; } public String getOrganizationId() { return this.organizationId; } } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/UpdateReminderResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class UpdateReminderResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public UpdateReminderResponseBody body; public static UpdateReminderResponse build(java.util.Map<String, ?> map) throws Exception { UpdateReminderResponse self = new UpdateReminderResponse(); return TeaModel.build(map, self); } public UpdateReminderResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public UpdateReminderResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public UpdateReminderResponse setBody(UpdateReminderResponseBody body) { this.body = body; return this; } public UpdateReminderResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/UpdateReminderResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class UpdateReminderResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>400</p> */ @NameInMap("ErrorCode") public Integer errorCode; /** * <strong>example:</strong> * <p>不能设置过去的时间。</p> */ @NameInMap("ErrorMsg") public String errorMsg; /** * <strong>example:</strong> * <p>20****1</p> */ @NameInMap("Model") public Long model; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static UpdateReminderResponseBody build(java.util.Map<String, ?> map) throws Exception { UpdateReminderResponseBody self = new UpdateReminderResponseBody(); return TeaModel.build(map, self); } public UpdateReminderResponseBody setErrorCode(Integer errorCode) { this.errorCode = errorCode; return this; } public Integer getErrorCode() { return this.errorCode; } public UpdateReminderResponseBody setErrorMsg(String errorMsg) { this.errorMsg = errorMsg; return this; } public String getErrorMsg() { return this.errorMsg; } public UpdateReminderResponseBody setModel(Long model) { this.model = model; return this; } public Long getModel() { return this.model; } public UpdateReminderResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/UpdateReminderShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class UpdateReminderShrinkRequest 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 UpdateReminderShrinkRequest build(java.util.Map<String, ?> map) throws Exception { UpdateReminderShrinkRequest self = new UpdateReminderShrinkRequest(); return TeaModel.build(map, self); } public UpdateReminderShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) { this.deviceInfoShrink = deviceInfoShrink; return this; } public String getDeviceInfoShrink() { return this.deviceInfoShrink; } public UpdateReminderShrinkRequest setPayloadShrink(String payloadShrink) { this.payloadShrink = payloadShrink; return this; } public String getPayloadShrink() { return this.payloadShrink; } public UpdateReminderShrinkRequest setUserInfoShrink(String userInfoShrink) { this.userInfoShrink = userInfoShrink; return this; } public String getUserInfoShrink() { return this.userInfoShrink; } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/VideoAppReportHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class VideoAppReportHeaders 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 VideoAppReportHeaders build(java.util.Map<String, ?> map) throws Exception { VideoAppReportHeaders self = new VideoAppReportHeaders(); return TeaModel.build(map, self); } public VideoAppReportHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public VideoAppReportHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public VideoAppReportHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/VideoAppReportRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class VideoAppReportRequest extends TeaModel { @NameInMap("DeviceInfo") public VideoAppReportRequestDeviceInfo deviceInfo; @NameInMap("Payload") public VideoAppReportRequestPayload payload; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public VideoAppReportRequestUserInfo userInfo; public static VideoAppReportRequest build(java.util.Map<String, ?> map) throws Exception { VideoAppReportRequest self = new VideoAppReportRequest(); return TeaModel.build(map, self); } public VideoAppReportRequest setDeviceInfo(VideoAppReportRequestDeviceInfo deviceInfo) { this.deviceInfo = deviceInfo; return this; } public VideoAppReportRequestDeviceInfo getDeviceInfo() { return this.deviceInfo; } public VideoAppReportRequest setPayload(VideoAppReportRequestPayload payload) { this.payload = payload; return this; } public VideoAppReportRequestPayload getPayload() { return this.payload; } public VideoAppReportRequest setUserInfo(VideoAppReportRequestUserInfo userInfo) { this.userInfo = userInfo; return this; } public VideoAppReportRequestUserInfo getUserInfo() { return this.userInfo; } public static class VideoAppReportRequestDeviceInfo extends TeaModel { /** * <strong>example:</strong> * <p>12**45</p> */ @NameInMap("EncodeKey") public String encodeKey; /** * <strong>example:</strong> * <p>PACKAGE_NAME</p> */ @NameInMap("EncodeType") public String encodeType; /** * <strong>example:</strong> * <p>DAFE****ce3ej=</p> */ @NameInMap("Id") public String id; /** * <strong>example:</strong> * <p>OPEN_ID</p> */ @NameInMap("IdType") public String idType; /** * <strong>example:</strong> * <p>1**2</p> */ @NameInMap("OrganizationId") public String organizationId; public static VideoAppReportRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception { VideoAppReportRequestDeviceInfo self = new VideoAppReportRequestDeviceInfo(); return TeaModel.build(map, self); } public VideoAppReportRequestDeviceInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public VideoAppReportRequestDeviceInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public VideoAppReportRequestDeviceInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public VideoAppReportRequestDeviceInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public VideoAppReportRequestDeviceInfo setOrganizationId(String organizationId) { this.organizationId = organizationId; return this; } public String getOrganizationId() { return this.organizationId; } } public static class VideoAppReportRequestPayload extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1652337963097</p> */ @NameInMap("endTime") public Long endTime; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>true</p> */ @NameInMap("isLogin") public Boolean isLogin; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>true</p> */ @NameInMap("isVip") public Boolean isVip; /** * <strong>example:</strong> * <p>test</p> */ @NameInMap("loginNick") public String loginNick; /** * <strong>example:</strong> * <p>731D5F********DC3B</p> */ @NameInMap("originUuid") public String originUuid; /** * <strong>example:</strong> * <p>188*777</p> */ @NameInMap("phone") public String phone; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>com.***.test</p> */ @NameInMap("pkgName") public String pkgName; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1652337963097</p> */ @NameInMap("startTime") public Long startTime; public static VideoAppReportRequestPayload build(java.util.Map<String, ?> map) throws Exception { VideoAppReportRequestPayload self = new VideoAppReportRequestPayload(); return TeaModel.build(map, self); } public VideoAppReportRequestPayload setEndTime(Long endTime) { this.endTime = endTime; return this; } public Long getEndTime() { return this.endTime; } public VideoAppReportRequestPayload setIsLogin(Boolean isLogin) { this.isLogin = isLogin; return this; } public Boolean getIsLogin() { return this.isLogin; } public VideoAppReportRequestPayload setIsVip(Boolean isVip) { this.isVip = isVip; return this; } public Boolean getIsVip() { return this.isVip; } public VideoAppReportRequestPayload setLoginNick(String loginNick) { this.loginNick = loginNick; return this; } public String getLoginNick() { return this.loginNick; } public VideoAppReportRequestPayload setOriginUuid(String originUuid) { this.originUuid = originUuid; return this; } public String getOriginUuid() { return this.originUuid; } public VideoAppReportRequestPayload setPhone(String phone) { this.phone = phone; return this; } public String getPhone() { return this.phone; } public VideoAppReportRequestPayload setPkgName(String pkgName) { this.pkgName = pkgName; return this; } public String getPkgName() { return this.pkgName; } public VideoAppReportRequestPayload setStartTime(Long startTime) { this.startTime = startTime; return this; } public Long getStartTime() { return this.startTime; } } public static class VideoAppReportRequestUserInfo 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 VideoAppReportRequestUserInfo build(java.util.Map<String, ?> map) throws Exception { VideoAppReportRequestUserInfo self = new VideoAppReportRequestUserInfo(); return TeaModel.build(map, self); } public VideoAppReportRequestUserInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public VideoAppReportRequestUserInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public VideoAppReportRequestUserInfo setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public VideoAppReportRequestUserInfo setIdType(String idType) { this.idType = idType; return this; } public String getIdType() { return this.idType; } public VideoAppReportRequestUserInfo setOrganizationId(String organizationId) { this.organizationId = organizationId; return this; } public String getOrganizationId() { return this.organizationId; } } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/VideoAppReportResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class VideoAppReportResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public VideoAppReportResponseBody body; public static VideoAppReportResponse build(java.util.Map<String, ?> map) throws Exception { VideoAppReportResponse self = new VideoAppReportResponse(); return TeaModel.build(map, self); } public VideoAppReportResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public VideoAppReportResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public VideoAppReportResponse setBody(VideoAppReportResponseBody body) { this.body = body; return this; } public VideoAppReportResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/VideoAppReportResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class VideoAppReportResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>0</p> */ @NameInMap("RetCode") public Integer retCode; @NameInMap("RetMsg") public String retMsg; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("RetValue") public Boolean retValue; public static VideoAppReportResponseBody build(java.util.Map<String, ?> map) throws Exception { VideoAppReportResponseBody self = new VideoAppReportResponseBody(); return TeaModel.build(map, self); } public VideoAppReportResponseBody setRetCode(Integer retCode) { this.retCode = retCode; return this; } public Integer getRetCode() { return this.retCode; } public VideoAppReportResponseBody setRetMsg(String retMsg) { this.retMsg = retMsg; return this; } public String getRetMsg() { return this.retMsg; } public VideoAppReportResponseBody setRetValue(Boolean retValue) { this.retValue = retValue; return this; } public Boolean getRetValue() { return this.retValue; } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/VideoAppReportShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class VideoAppReportShrinkRequest extends TeaModel { @NameInMap("DeviceInfo") public String deviceInfoShrink; @NameInMap("Payload") public String payloadShrink; /** * <p>This parameter is required.</p> */ @NameInMap("UserInfo") public String userInfoShrink; public static VideoAppReportShrinkRequest build(java.util.Map<String, ?> map) throws Exception { VideoAppReportShrinkRequest self = new VideoAppReportShrinkRequest(); return TeaModel.build(map, self); } public VideoAppReportShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) { this.deviceInfoShrink = deviceInfoShrink; return this; } public String getDeviceInfoShrink() { return this.deviceInfoShrink; } public VideoAppReportShrinkRequest setPayloadShrink(String payloadShrink) { this.payloadShrink = payloadShrink; return this; } public String getPayloadShrink() { return this.payloadShrink; } public VideoAppReportShrinkRequest setUserInfoShrink(String userInfoShrink) { this.userInfoShrink = userInfoShrink; return this; } public String getUserInfoShrink() { return this.userInfoShrink; } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/WakeUpAppRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class WakeUpAppRequest extends TeaModel { /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("IsDebug") public Boolean isDebug; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>应用拉起路径</p> */ @NameInMap("Path") public String path; /** * <p>This parameter is required.</p> */ @NameInMap("TargetInfo") public WakeUpAppRequestTargetInfo targetInfo; public static WakeUpAppRequest build(java.util.Map<String, ?> map) throws Exception { WakeUpAppRequest self = new WakeUpAppRequest(); return TeaModel.build(map, self); } public WakeUpAppRequest setIsDebug(Boolean isDebug) { this.isDebug = isDebug; return this; } public Boolean getIsDebug() { return this.isDebug; } public WakeUpAppRequest setPath(String path) { this.path = path; return this; } public String getPath() { return this.path; } public WakeUpAppRequest setTargetInfo(WakeUpAppRequestTargetInfo targetInfo) { this.targetInfo = targetInfo; return this; } public WakeUpAppRequestTargetInfo getTargetInfo() { return this.targetInfo; } public static class WakeUpAppRequestTargetInfo extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>apk包名</p> */ @NameInMap("EncodeKey") public String encodeKey; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>PACKAGE_NAME</p> */ @NameInMap("EncodeType") public String encodeType; /** * <strong>example:</strong> * <p>11</p> */ @NameInMap("OrganizationId") public String organizationId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2VpiDQ6aMjxz******Eo7r6e08oIVZ3fKrm5TyEfY=</p> */ @NameInMap("TargetIdentity") public String targetIdentity; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>DEVICE_OPEN_ID</p> */ @NameInMap("TargetType") public String targetType; public static WakeUpAppRequestTargetInfo build(java.util.Map<String, ?> map) throws Exception { WakeUpAppRequestTargetInfo self = new WakeUpAppRequestTargetInfo(); return TeaModel.build(map, self); } public WakeUpAppRequestTargetInfo setEncodeKey(String encodeKey) { this.encodeKey = encodeKey; return this; } public String getEncodeKey() { return this.encodeKey; } public WakeUpAppRequestTargetInfo setEncodeType(String encodeType) { this.encodeType = encodeType; return this; } public String getEncodeType() { return this.encodeType; } public WakeUpAppRequestTargetInfo setOrganizationId(String organizationId) { this.organizationId = organizationId; return this; } public String getOrganizationId() { return this.organizationId; } public WakeUpAppRequestTargetInfo setTargetIdentity(String targetIdentity) { this.targetIdentity = targetIdentity; return this; } public String getTargetIdentity() { return this.targetIdentity; } public WakeUpAppRequestTargetInfo setTargetType(String targetType) { this.targetType = targetType; return this; } public String getTargetType() { return this.targetType; } } }
0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0
java-sources/com/aliyun/aligenieiap_1_0/2.0.0/com/aliyun/aligenieiap_1_0/models/WakeUpAppResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieiap_1_0.models; import com.aliyun.tea.*; public class WakeUpAppResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; public static WakeUpAppResponse build(java.util.Map<String, ?> map) throws Exception { WakeUpAppResponse self = new WakeUpAppResponse(); return TeaModel.build(map, self); } public WakeUpAppResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public WakeUpAppResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/Client.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0; import com.aliyun.tea.*; import com.aliyun.aligenieip_1_0.models.*; public class Client extends com.aliyun.teaopenapi.Client { public Client(com.aliyun.teaopenapi.models.Config config) throws Exception { super(config); this._endpointRule = ""; this.checkConfig(config); this._endpoint = this.getEndpoint("aligenie", _regionId, _endpointRule, _network, _suffix, _endpointMap, _endpoint); } public String getEndpoint(String productId, String regionId, String endpointRule, String network, String suffix, java.util.Map<String, String> endpointMap, String endpoint) throws Exception { if (!com.aliyun.teautil.Common.empty(endpoint)) { return endpoint; } if (!com.aliyun.teautil.Common.isUnset(endpointMap) && !com.aliyun.teautil.Common.empty(endpointMap.get(regionId))) { return endpointMap.get(regionId); } return com.aliyun.endpointutil.Client.getEndpointRules(productId, regionId, endpointRule, network, suffix); } /** * <b>summary</b> : * <p>添加动画</p> * * @param request AddCartoonRequest * @param headers AddCartoonHeaders * @param runtime runtime options for this request RuntimeOptions * @return AddCartoonResponse */ public AddCartoonResponse addCartoonWithOptions(AddCartoonRequest request, AddCartoonHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.startVideoMd5)) { body.put("StartVideoMd5", request.startVideoMd5); } if (!com.aliyun.teautil.Common.isUnset(request.startVideoUrl)) { body.put("StartVideoUrl", request.startVideoUrl); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddCartoon"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/addCartoon"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new AddCartoonResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new AddCartoonResponse()); } } /** * <b>summary</b> : * <p>添加动画</p> * * @param request AddCartoonRequest * @return AddCartoonResponse */ public AddCartoonResponse addCartoon(AddCartoonRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); AddCartoonHeaders headers = new AddCartoonHeaders(); return this.addCartoonWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>新增自定义问答</p> * * @param tmpReq AddCustomQARequest * @param headers AddCustomQAHeaders * @param runtime runtime options for this request RuntimeOptions * @return AddCustomQAResponse */ public AddCustomQAResponse addCustomQAWithOptions(AddCustomQARequest tmpReq, AddCustomQAHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); AddCustomQAShrinkRequest request = new AddCustomQAShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.answers)) { request.answersShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.answers, "Answers", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.keyWords)) { request.keyWordsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.keyWords, "KeyWords", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.supplementaryQuestions)) { request.supplementaryQuestionsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.supplementaryQuestions, "SupplementaryQuestions", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.answersShrink)) { body.put("Answers", request.answersShrink); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.keyWordsShrink)) { body.put("KeyWords", request.keyWordsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.majorQuestion)) { body.put("MajorQuestion", request.majorQuestion); } if (!com.aliyun.teautil.Common.isUnset(request.supplementaryQuestionsShrink)) { body.put("SupplementaryQuestions", request.supplementaryQuestionsShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddCustomQA"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/addCustomQA"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new AddCustomQAResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new AddCustomQAResponse()); } } /** * <b>summary</b> : * <p>新增自定义问答</p> * * @param request AddCustomQARequest * @return AddCustomQAResponse */ public AddCustomQAResponse addCustomQA(AddCustomQARequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); AddCustomQAHeaders headers = new AddCustomQAHeaders(); return this.addCustomQAWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>添加问答V2</p> * * @param tmpReq AddCustomQAV2Request * @param headers AddCustomQAV2Headers * @param runtime runtime options for this request RuntimeOptions * @return AddCustomQAV2Response */ public AddCustomQAV2Response addCustomQAV2WithOptions(AddCustomQAV2Request tmpReq, AddCustomQAV2Headers headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); AddCustomQAV2ShrinkRequest request = new AddCustomQAV2ShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.answers)) { request.answersShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.answers, "Answers", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.keyWords)) { request.keyWordsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.keyWords, "KeyWords", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.supplementaryQuestions)) { request.supplementaryQuestionsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.supplementaryQuestions, "SupplementaryQuestions", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.answersShrink)) { body.put("Answers", request.answersShrink); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.keyWordsShrink)) { body.put("KeyWords", request.keyWordsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.majorQuestion)) { body.put("MajorQuestion", request.majorQuestion); } if (!com.aliyun.teautil.Common.isUnset(request.supplementaryQuestionsShrink)) { body.put("SupplementaryQuestions", request.supplementaryQuestionsShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddCustomQAV2"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/addQAV2"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new AddCustomQAV2Response()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new AddCustomQAV2Response()); } } /** * <b>summary</b> : * <p>添加问答V2</p> * * @param request AddCustomQAV2Request * @return AddCustomQAV2Response */ public AddCustomQAV2Response addCustomQAV2(AddCustomQAV2Request request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); AddCustomQAV2Headers headers = new AddCustomQAV2Headers(); return this.addCustomQAV2WithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>添加消息模板</p> * * @param request AddMessageTemplateRequest * @param headers AddMessageTemplateHeaders * @param runtime runtime options for this request RuntimeOptions * @return AddMessageTemplateResponse */ public AddMessageTemplateResponse addMessageTemplateWithOptions(AddMessageTemplateRequest request, AddMessageTemplateHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.templateDetail)) { body.put("TemplateDetail", request.templateDetail); } if (!com.aliyun.teautil.Common.isUnset(request.templateName)) { body.put("TemplateName", request.templateName); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddMessageTemplate"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/addMessageTemplate"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new AddMessageTemplateResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new AddMessageTemplateResponse()); } } /** * <b>summary</b> : * <p>添加消息模板</p> * * @param request AddMessageTemplateRequest * @return AddMessageTemplateResponse */ public AddMessageTemplateResponse addMessageTemplate(AddMessageTemplateRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); AddMessageTemplateHeaders headers = new AddMessageTemplateHeaders(); return this.addMessageTemplateWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>新增或者编辑带屏展示模式</p> * * @param tmpReq AddOrUpdateDisPlayModesRequest * @param headers AddOrUpdateDisPlayModesHeaders * @param runtime runtime options for this request RuntimeOptions * @return AddOrUpdateDisPlayModesResponse */ public AddOrUpdateDisPlayModesResponse addOrUpdateDisPlayModesWithOptions(AddOrUpdateDisPlayModesRequest tmpReq, AddOrUpdateDisPlayModesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); AddOrUpdateDisPlayModesShrinkRequest request = new AddOrUpdateDisPlayModesShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.hotelDeviceModeList)) { request.hotelDeviceModeListShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.hotelDeviceModeList, "HotelDeviceModeList", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelDeviceModeListShrink)) { body.put("HotelDeviceModeList", request.hotelDeviceModeListShrink); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddOrUpdateDisPlayModes"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/addOrUpdateDisPlayModes"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new AddOrUpdateDisPlayModesResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new AddOrUpdateDisPlayModesResponse()); } } /** * <b>summary</b> : * <p>新增或者编辑带屏展示模式</p> * * @param request AddOrUpdateDisPlayModesRequest * @return AddOrUpdateDisPlayModesResponse */ public AddOrUpdateDisPlayModesResponse addOrUpdateDisPlayModes(AddOrUpdateDisPlayModesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); AddOrUpdateDisPlayModesHeaders headers = new AddOrUpdateDisPlayModesHeaders(); return this.addOrUpdateDisPlayModesWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>新增或者编辑定制配置</p> * * @param tmpReq AddOrUpdateHotelSettingRequest * @param headers AddOrUpdateHotelSettingHeaders * @param runtime runtime options for this request RuntimeOptions * @return AddOrUpdateHotelSettingResponse */ public AddOrUpdateHotelSettingResponse addOrUpdateHotelSettingWithOptions(AddOrUpdateHotelSettingRequest tmpReq, AddOrUpdateHotelSettingHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); AddOrUpdateHotelSettingShrinkRequest request = new AddOrUpdateHotelSettingShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.hotelDeviceModeList)) { request.hotelDeviceModeListShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.hotelDeviceModeList, "HotelDeviceModeList", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.hotelScreenSaver)) { request.hotelScreenSaverShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.hotelScreenSaver, "HotelScreenSaver", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.nightMode)) { request.nightModeShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.nightMode, "NightMode", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelDeviceModeListShrink)) { body.put("HotelDeviceModeList", request.hotelDeviceModeListShrink); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.hotelScreenSaverShrink)) { body.put("HotelScreenSaver", request.hotelScreenSaverShrink); } if (!com.aliyun.teautil.Common.isUnset(request.nightModeShrink)) { body.put("NightMode", request.nightModeShrink); } if (!com.aliyun.teautil.Common.isUnset(request.settingType)) { body.put("SettingType", request.settingType); } if (!com.aliyun.teautil.Common.isUnset(request.value)) { body.put("Value", request.value); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddOrUpdateHotelSetting"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/addOrUpdateHotelSetting"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new AddOrUpdateHotelSettingResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new AddOrUpdateHotelSettingResponse()); } } /** * <b>summary</b> : * <p>新增或者编辑定制配置</p> * * @param request AddOrUpdateHotelSettingRequest * @return AddOrUpdateHotelSettingResponse */ public AddOrUpdateHotelSettingResponse addOrUpdateHotelSetting(AddOrUpdateHotelSettingRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); AddOrUpdateHotelSettingHeaders headers = new AddOrUpdateHotelSettingHeaders(); return this.addOrUpdateHotelSettingWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>新增或者编辑带屏屏保</p> * * @param tmpReq AddOrUpdateScreenSaverRequest * @param headers AddOrUpdateScreenSaverHeaders * @param runtime runtime options for this request RuntimeOptions * @return AddOrUpdateScreenSaverResponse */ public AddOrUpdateScreenSaverResponse addOrUpdateScreenSaverWithOptions(AddOrUpdateScreenSaverRequest tmpReq, AddOrUpdateScreenSaverHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); AddOrUpdateScreenSaverShrinkRequest request = new AddOrUpdateScreenSaverShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.hotelScreenSaver)) { request.hotelScreenSaverShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.hotelScreenSaver, "HotelScreenSaver", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.hotelScreenSaverShrink)) { body.put("HotelScreenSaver", request.hotelScreenSaverShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddOrUpdateScreenSaver"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/addOrUpdateScreenSaver"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new AddOrUpdateScreenSaverResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new AddOrUpdateScreenSaverResponse()); } } /** * <b>summary</b> : * <p>新增或者编辑带屏屏保</p> * * @param request AddOrUpdateScreenSaverRequest * @return AddOrUpdateScreenSaverResponse */ public AddOrUpdateScreenSaverResponse addOrUpdateScreenSaver(AddOrUpdateScreenSaverRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); AddOrUpdateScreenSaverHeaders headers = new AddOrUpdateScreenSaverHeaders(); return this.addOrUpdateScreenSaverWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>添加/更新欢迎语信息</p> * * @param request AddOrUpdateWelcomeTextRequest * @param headers AddOrUpdateWelcomeTextHeaders * @param runtime runtime options for this request RuntimeOptions * @return AddOrUpdateWelcomeTextResponse */ public AddOrUpdateWelcomeTextResponse addOrUpdateWelcomeTextWithOptions(AddOrUpdateWelcomeTextRequest request, AddOrUpdateWelcomeTextHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.musicUrl)) { body.put("MusicUrl", request.musicUrl); } if (!com.aliyun.teautil.Common.isUnset(request.welcomeText)) { body.put("WelcomeText", request.welcomeText); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddOrUpdateWelcomeText"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/addOrUpdateWelcomeText"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new AddOrUpdateWelcomeTextResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new AddOrUpdateWelcomeTextResponse()); } } /** * <b>summary</b> : * <p>添加/更新欢迎语信息</p> * * @param request AddOrUpdateWelcomeTextRequest * @return AddOrUpdateWelcomeTextResponse */ public AddOrUpdateWelcomeTextResponse addOrUpdateWelcomeText(AddOrUpdateWelcomeTextRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); AddOrUpdateWelcomeTextHeaders headers = new AddOrUpdateWelcomeTextHeaders(); return this.addOrUpdateWelcomeTextWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>审批酒店</p> * * @param tmpReq AuditHotelRequest * @param headers AuditHotelHeaders * @param runtime runtime options for this request RuntimeOptions * @return AuditHotelResponse */ public AuditHotelResponse auditHotelWithOptions(AuditHotelRequest tmpReq, AuditHotelHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); AuditHotelShrinkRequest request = new AuditHotelShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.auditHotelReq)) { request.auditHotelReqShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.auditHotelReq, "AuditHotelReq", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.auditHotelReqShrink)) { query.put("AuditHotelReq", request.auditHotelReqShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AuditHotel"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/auditHotel"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new AuditHotelResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new AuditHotelResponse()); } } /** * <b>summary</b> : * <p>审批酒店</p> * * @param request AuditHotelRequest * @return AuditHotelResponse */ public AuditHotelResponse auditHotel(AuditHotelRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); AuditHotelHeaders headers = new AuditHotelHeaders(); return this.auditHotelWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>批量创建房间</p> * * @param tmpReq BatchAddHotelRoomRequest * @param headers BatchAddHotelRoomHeaders * @param runtime runtime options for this request RuntimeOptions * @return BatchAddHotelRoomResponse */ public BatchAddHotelRoomResponse batchAddHotelRoomWithOptions(BatchAddHotelRoomRequest tmpReq, BatchAddHotelRoomHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); BatchAddHotelRoomShrinkRequest request = new BatchAddHotelRoomShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.roomNoList)) { request.roomNoListShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.roomNoList, "RoomNoList", "simple"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomNoListShrink)) { body.put("RoomNoList", request.roomNoListShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "BatchAddHotelRoom"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/batchAddHotelRoom"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new BatchAddHotelRoomResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new BatchAddHotelRoomResponse()); } } /** * <b>summary</b> : * <p>批量创建房间</p> * * @param request BatchAddHotelRoomRequest * @return BatchAddHotelRoomResponse */ public BatchAddHotelRoomResponse batchAddHotelRoom(BatchAddHotelRoomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); BatchAddHotelRoomHeaders headers = new BatchAddHotelRoomHeaders(); return this.batchAddHotelRoomWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>批量删除房间</p> * * @param tmpReq BatchDeleteHotelRoomRequest * @param headers BatchDeleteHotelRoomHeaders * @param runtime runtime options for this request RuntimeOptions * @return BatchDeleteHotelRoomResponse */ public BatchDeleteHotelRoomResponse batchDeleteHotelRoomWithOptions(BatchDeleteHotelRoomRequest tmpReq, BatchDeleteHotelRoomHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); BatchDeleteHotelRoomShrinkRequest request = new BatchDeleteHotelRoomShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.roomNoList)) { request.roomNoListShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.roomNoList, "RoomNoList", "simple"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomNoListShrink)) { body.put("RoomNoList", request.roomNoListShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "BatchDeleteHotelRoom"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/batchDeleteHotelRoom"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new BatchDeleteHotelRoomResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new BatchDeleteHotelRoomResponse()); } } /** * <b>summary</b> : * <p>批量删除房间</p> * * @param request BatchDeleteHotelRoomRequest * @return BatchDeleteHotelRoomResponse */ public BatchDeleteHotelRoomResponse batchDeleteHotelRoom(BatchDeleteHotelRoomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); BatchDeleteHotelRoomHeaders headers = new BatchDeleteHotelRoomHeaders(); return this.batchDeleteHotelRoomWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店退房,清楚例如闹钟等定时信息</p> * * @param request CheckoutWithAKRequest * @param headers CheckoutWithAKHeaders * @param runtime runtime options for this request RuntimeOptions * @return CheckoutWithAKResponse */ public CheckoutWithAKResponse checkoutWithAKWithOptions(CheckoutWithAKRequest request, CheckoutWithAKHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "CheckoutWithAK"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/checkoutWithAK"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new CheckoutWithAKResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new CheckoutWithAKResponse()); } } /** * <b>summary</b> : * <p>酒店退房,清楚例如闹钟等定时信息</p> * * @param request CheckoutWithAKRequest * @return CheckoutWithAKResponse */ public CheckoutWithAKResponse checkoutWithAK(CheckoutWithAKRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); CheckoutWithAKHeaders headers = new CheckoutWithAKHeaders(); return this.checkoutWithAKWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>子账号授权</p> * * @param request ChildAccountAuthRequest * @param headers ChildAccountAuthHeaders * @param runtime runtime options for this request RuntimeOptions * @return ChildAccountAuthResponse */ public ChildAccountAuthResponse childAccountAuthWithOptions(ChildAccountAuthRequest request, ChildAccountAuthHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.account)) { body.put("Account", request.account); } if (!com.aliyun.teautil.Common.isUnset(request.appKey)) { body.put("AppKey", request.appKey); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.tbOpenId)) { body.put("TbOpenId", request.tbOpenId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ChildAccountAuth"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/childAccountAuth"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ChildAccountAuthResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ChildAccountAuthResponse()); } } /** * <b>summary</b> : * <p>子账号授权</p> * * @param request ChildAccountAuthRequest * @return ChildAccountAuthResponse */ public ChildAccountAuthResponse childAccountAuth(ChildAccountAuthRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ChildAccountAuthHeaders headers = new ChildAccountAuthHeaders(); return this.childAccountAuthWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>控制房间内设备</p> * * @param tmpReq ControlRoomDeviceRequest * @param headers ControlRoomDeviceHeaders * @param runtime runtime options for this request RuntimeOptions * @return ControlRoomDeviceResponse */ public ControlRoomDeviceResponse controlRoomDeviceWithOptions(ControlRoomDeviceRequest tmpReq, ControlRoomDeviceHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ControlRoomDeviceShrinkRequest request = new ControlRoomDeviceShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.properties)) { request.propertiesShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.properties, "Properties", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.cmd)) { body.put("Cmd", request.cmd); } if (!com.aliyun.teautil.Common.isUnset(request.deviceIndex)) { body.put("DeviceIndex", request.deviceIndex); } if (!com.aliyun.teautil.Common.isUnset(request.deviceNumber)) { body.put("DeviceNumber", request.deviceNumber); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.propertiesShrink)) { body.put("Properties", request.propertiesShrink); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ControlRoomDevice"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/controlRoomDevice"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ControlRoomDeviceResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ControlRoomDeviceResponse()); } } /** * <b>summary</b> : * <p>控制房间内设备</p> * * @param request ControlRoomDeviceRequest * @return ControlRoomDeviceResponse */ public ControlRoomDeviceResponse controlRoomDevice(ControlRoomDeviceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ControlRoomDeviceHeaders headers = new ControlRoomDeviceHeaders(); return this.controlRoomDeviceWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>创建酒店项目</p> * * @param tmpReq CreateHotelRequest * @param headers CreateHotelHeaders * @param runtime runtime options for this request RuntimeOptions * @return CreateHotelResponse */ public CreateHotelResponse createHotelWithOptions(CreateHotelRequest tmpReq, CreateHotelHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); CreateHotelShrinkRequest request = new CreateHotelShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.relatedPks)) { request.relatedPksShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.relatedPks, "RelatedPks", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.appKey)) { body.put("AppKey", request.appKey); } if (!com.aliyun.teautil.Common.isUnset(request.estOpenTime)) { body.put("EstOpenTime", request.estOpenTime); } if (!com.aliyun.teautil.Common.isUnset(request.hotelAddress)) { body.put("HotelAddress", request.hotelAddress); } if (!com.aliyun.teautil.Common.isUnset(request.hotelEmail)) { body.put("HotelEmail", request.hotelEmail); } if (!com.aliyun.teautil.Common.isUnset(request.hotelName)) { body.put("HotelName", request.hotelName); } if (!com.aliyun.teautil.Common.isUnset(request.phoneNumber)) { body.put("PhoneNumber", request.phoneNumber); } if (!com.aliyun.teautil.Common.isUnset(request.relatedPk)) { body.put("RelatedPk", request.relatedPk); } if (!com.aliyun.teautil.Common.isUnset(request.relatedPksShrink)) { body.put("RelatedPks", request.relatedPksShrink); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { body.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.roomNum)) { body.put("RoomNum", request.roomNum); } if (!com.aliyun.teautil.Common.isUnset(request.tbOpenId)) { body.put("TbOpenId", request.tbOpenId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "CreateHotel"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/createHotel"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new CreateHotelResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new CreateHotelResponse()); } } /** * <b>summary</b> : * <p>创建酒店项目</p> * * @param request CreateHotelRequest * @return CreateHotelResponse */ public CreateHotelResponse createHotel(CreateHotelRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); CreateHotelHeaders headers = new CreateHotelHeaders(); return this.createHotelWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>批量创建闹钟</p> * * @param tmpReq CreateHotelAlarmRequest * @param headers CreateHotelAlarmHeaders * @param runtime runtime options for this request RuntimeOptions * @return CreateHotelAlarmResponse */ public CreateHotelAlarmResponse createHotelAlarmWithOptions(CreateHotelAlarmRequest tmpReq, CreateHotelAlarmHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); CreateHotelAlarmShrinkRequest request = new CreateHotelAlarmShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.rooms)) { request.roomsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.rooms, "Rooms", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.scheduleInfo)) { request.scheduleInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.scheduleInfo, "ScheduleInfo", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.musicType)) { body.put("MusicType", request.musicType); } if (!com.aliyun.teautil.Common.isUnset(request.roomsShrink)) { body.put("Rooms", request.roomsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.scheduleInfoShrink)) { body.put("ScheduleInfo", request.scheduleInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "CreateHotelAlarm"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/createHotelAlarm"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new CreateHotelAlarmResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new CreateHotelAlarmResponse()); } } /** * <b>summary</b> : * <p>批量创建闹钟</p> * * @param request CreateHotelAlarmRequest * @return CreateHotelAlarmResponse */ public CreateHotelAlarmResponse createHotelAlarm(CreateHotelAlarmRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); CreateHotelAlarmHeaders headers = new CreateHotelAlarmHeaders(); return this.createHotelAlarmWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店rcu自定义场景创建</p> * * @param tmpReq CreateRcuSceneRequest * @param headers CreateRcuSceneHeaders * @param runtime runtime options for this request RuntimeOptions * @return CreateRcuSceneResponse */ public CreateRcuSceneResponse createRcuSceneWithOptions(CreateRcuSceneRequest tmpReq, CreateRcuSceneHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); CreateRcuSceneShrinkRequest request = new CreateRcuSceneShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.sceneRelationExtDTO)) { request.sceneRelationExtDTOShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.sceneRelationExtDTO, "SceneRelationExtDTO", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.sceneId)) { body.put("SceneId", request.sceneId); } if (!com.aliyun.teautil.Common.isUnset(request.sceneRelationExtDTOShrink)) { body.put("SceneRelationExtDTO", request.sceneRelationExtDTOShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "CreateRcuScene"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/createRcuScene"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new CreateRcuSceneResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new CreateRcuSceneResponse()); } } /** * <b>summary</b> : * <p>酒店rcu自定义场景创建</p> * * @param request CreateRcuSceneRequest * @return CreateRcuSceneResponse */ public CreateRcuSceneResponse createRcuScene(CreateRcuSceneRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); CreateRcuSceneHeaders headers = new CreateRcuSceneHeaders(); return this.createRcuSceneWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>删除动画</p> * * @param request DeleteCartoonRequest * @param headers DeleteCartoonHeaders * @param runtime runtime options for this request RuntimeOptions * @return DeleteCartoonResponse */ public DeleteCartoonResponse deleteCartoonWithOptions(DeleteCartoonRequest request, DeleteCartoonHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteCartoon"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/deleteCartoon"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteCartoonResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new DeleteCartoonResponse()); } } /** * <b>summary</b> : * <p>删除动画</p> * * @param request DeleteCartoonRequest * @return DeleteCartoonResponse */ public DeleteCartoonResponse deleteCartoon(DeleteCartoonRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); DeleteCartoonHeaders headers = new DeleteCartoonHeaders(); return this.deleteCartoonWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>删除自定义问答</p> * * @param tmpReq DeleteCustomQARequest * @param headers DeleteCustomQAHeaders * @param runtime runtime options for this request RuntimeOptions * @return DeleteCustomQAResponse */ public DeleteCustomQAResponse deleteCustomQAWithOptions(DeleteCustomQARequest tmpReq, DeleteCustomQAHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); DeleteCustomQAShrinkRequest request = new DeleteCustomQAShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.customQAIds)) { request.customQAIdsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.customQAIds, "CustomQAIds", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.customQAIdsShrink)) { body.put("CustomQAIds", request.customQAIdsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteCustomQA"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/deleteCustomQA"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteCustomQAResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new DeleteCustomQAResponse()); } } /** * <b>summary</b> : * <p>删除自定义问答</p> * * @param request DeleteCustomQARequest * @return DeleteCustomQAResponse */ public DeleteCustomQAResponse deleteCustomQA(DeleteCustomQARequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); DeleteCustomQAHeaders headers = new DeleteCustomQAHeaders(); return this.deleteCustomQAWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>删除酒店闹钟</p> * * @param tmpReq DeleteHotelAlarmRequest * @param headers DeleteHotelAlarmHeaders * @param runtime runtime options for this request RuntimeOptions * @return DeleteHotelAlarmResponse */ public DeleteHotelAlarmResponse deleteHotelAlarmWithOptions(DeleteHotelAlarmRequest tmpReq, DeleteHotelAlarmHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); DeleteHotelAlarmShrinkRequest request = new DeleteHotelAlarmShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.alarms)) { request.alarmsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.alarms, "Alarms", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.alarmsShrink)) { body.put("Alarms", request.alarmsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteHotelAlarm"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/deleteHotelAlarm"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteHotelAlarmResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new DeleteHotelAlarmResponse()); } } /** * <b>summary</b> : * <p>删除酒店闹钟</p> * * @param request DeleteHotelAlarmRequest * @return DeleteHotelAlarmResponse */ public DeleteHotelAlarmResponse deleteHotelAlarm(DeleteHotelAlarmRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); DeleteHotelAlarmHeaders headers = new DeleteHotelAlarmHeaders(); return this.deleteHotelAlarmWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店场景预订删除</p> * * @param request DeleteHotelSceneBookItemRequest * @param headers DeleteHotelSceneBookItemHeaders * @param runtime runtime options for this request RuntimeOptions * @return DeleteHotelSceneBookItemResponse */ public DeleteHotelSceneBookItemResponse deleteHotelSceneBookItemWithOptions(DeleteHotelSceneBookItemRequest request, DeleteHotelSceneBookItemHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.id)) { body.put("Id", request.id); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { body.put("Name", request.name); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteHotelSceneBookItem"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/deleteHotelSceneBookItem"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteHotelSceneBookItemResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new DeleteHotelSceneBookItemResponse()); } } /** * <b>summary</b> : * <p>酒店场景预订删除</p> * * @param request DeleteHotelSceneBookItemRequest * @return DeleteHotelSceneBookItemResponse */ public DeleteHotelSceneBookItemResponse deleteHotelSceneBookItem(DeleteHotelSceneBookItemRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); DeleteHotelSceneBookItemHeaders headers = new DeleteHotelSceneBookItemHeaders(); return this.deleteHotelSceneBookItemWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>删除定制配置</p> * * @param request DeleteHotelSettingRequest * @param headers DeleteHotelSettingHeaders * @param runtime runtime options for this request RuntimeOptions * @return DeleteHotelSettingResponse */ public DeleteHotelSettingResponse deleteHotelSettingWithOptions(DeleteHotelSettingRequest request, DeleteHotelSettingHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.settingType)) { body.put("SettingType", request.settingType); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteHotelSetting"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/deleteHotelSetting"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteHotelSettingResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new DeleteHotelSettingResponse()); } } /** * <b>summary</b> : * <p>删除定制配置</p> * * @param request DeleteHotelSettingRequest * @return DeleteHotelSettingResponse */ public DeleteHotelSettingResponse deleteHotelSetting(DeleteHotelSettingRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); DeleteHotelSettingHeaders headers = new DeleteHotelSettingHeaders(); return this.deleteHotelSettingWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>删除消息通知模板</p> * * @param request DeleteMessageTemplateRequest * @param headers DeleteMessageTemplateHeaders * @param runtime runtime options for this request RuntimeOptions * @return DeleteMessageTemplateResponse */ public DeleteMessageTemplateResponse deleteMessageTemplateWithOptions(DeleteMessageTemplateRequest request, DeleteMessageTemplateHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.templateId)) { body.put("TemplateId", request.templateId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteMessageTemplate"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/deleteMessageTemplate"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteMessageTemplateResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new DeleteMessageTemplateResponse()); } } /** * <b>summary</b> : * <p>删除消息通知模板</p> * * @param request DeleteMessageTemplateRequest * @return DeleteMessageTemplateResponse */ public DeleteMessageTemplateResponse deleteMessageTemplate(DeleteMessageTemplateRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); DeleteMessageTemplateHeaders headers = new DeleteMessageTemplateHeaders(); return this.deleteMessageTemplateWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>删除酒店自定义rcu场景</p> * * @param request DeleteRcuSceneRequest * @param headers DeleteRcuSceneHeaders * @param runtime runtime options for this request RuntimeOptions * @return DeleteRcuSceneResponse */ public DeleteRcuSceneResponse deleteRcuSceneWithOptions(DeleteRcuSceneRequest request, DeleteRcuSceneHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.sceneId)) { body.put("SceneId", request.sceneId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteRcuScene"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/deleteRcuScene"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteRcuSceneResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new DeleteRcuSceneResponse()); } } /** * <b>summary</b> : * <p>删除酒店自定义rcu场景</p> * * @param request DeleteRcuSceneRequest * @return DeleteRcuSceneResponse */ public DeleteRcuSceneResponse deleteRcuScene(DeleteRcuSceneRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); DeleteRcuSceneHeaders headers = new DeleteRcuSceneHeaders(); return this.deleteRcuSceneWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>设备控制</p> * * @param tmpReq DeviceControlRequest * @param headers DeviceControlHeaders * @param runtime runtime options for this request RuntimeOptions * @return DeviceControlResponse */ public DeviceControlResponse deviceControlWithOptions(DeviceControlRequest tmpReq, DeviceControlHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); DeviceControlShrinkRequest request = new DeviceControlShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) { request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) { query.put("Payload", request.payloadShrink); } if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeviceControl"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/deviceControl"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new DeviceControlResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new DeviceControlResponse()); } } /** * <b>summary</b> : * <p>设备控制</p> * * @param request DeviceControlRequest * @return DeviceControlResponse */ public DeviceControlResponse deviceControl(DeviceControlRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); DeviceControlHeaders headers = new DeviceControlHeaders(); return this.deviceControlWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>控制房间场景</p> * * @param request ExecuteSceneRequest * @param headers ExecuteSceneHeaders * @param runtime runtime options for this request RuntimeOptions * @return ExecuteSceneResponse */ public ExecuteSceneResponse executeSceneWithOptions(ExecuteSceneRequest request, ExecuteSceneHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } if (!com.aliyun.teautil.Common.isUnset(request.sceneName)) { body.put("SceneName", request.sceneName); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ExecuteScene"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/executeScene"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ExecuteSceneResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ExecuteSceneResponse()); } } /** * <b>summary</b> : * <p>控制房间场景</p> * * @param request ExecuteSceneRequest * @return ExecuteSceneResponse */ public ExecuteSceneResponse executeScene(ExecuteSceneRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ExecuteSceneHeaders headers = new ExecuteSceneHeaders(); return this.executeSceneWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>获取基础信息问答</p> * * @param request GetBasicInfoQARequest * @param headers GetBasicInfoQAHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetBasicInfoQAResponse */ public GetBasicInfoQAResponse getBasicInfoQAWithOptions(GetBasicInfoQARequest request, GetBasicInfoQAHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetBasicInfoQA"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getBasicInfoQA"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetBasicInfoQAResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetBasicInfoQAResponse()); } } /** * <b>summary</b> : * <p>获取基础信息问答</p> * * @param request GetBasicInfoQARequest * @return GetBasicInfoQAResponse */ public GetBasicInfoQAResponse getBasicInfoQA(GetBasicInfoQARequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetBasicInfoQAHeaders headers = new GetBasicInfoQAHeaders(); return this.getBasicInfoQAWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询动画</p> * * @param request GetCartoonRequest * @param headers GetCartoonHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetCartoonResponse */ public GetCartoonResponse getCartoonWithOptions(GetCartoonRequest request, GetCartoonHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetCartoon"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getCartoon"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetCartoonResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetCartoonResponse()); } } /** * <b>summary</b> : * <p>查询动画</p> * * @param request GetCartoonRequest * @return GetCartoonResponse */ public GetCartoonResponse getCartoon(GetCartoonRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetCartoonHeaders headers = new GetCartoonHeaders(); return this.getCartoonWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>获取当前设备的通话信息</p> * * @param tmpReq GetHotelContactByGenieDeviceRequest * @param headers GetHotelContactByGenieDeviceHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetHotelContactByGenieDeviceResponse */ public GetHotelContactByGenieDeviceResponse getHotelContactByGenieDeviceWithOptions(GetHotelContactByGenieDeviceRequest tmpReq, GetHotelContactByGenieDeviceHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); GetHotelContactByGenieDeviceShrinkRequest request = new GetHotelContactByGenieDeviceShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) { request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) { query.put("DeviceInfo", request.deviceInfoShrink); } if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetHotelContactByGenieDevice"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelContactByGenieDevice"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetHotelContactByGenieDeviceResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetHotelContactByGenieDeviceResponse()); } } /** * <b>summary</b> : * <p>获取当前设备的通话信息</p> * * @param request GetHotelContactByGenieDeviceRequest * @return GetHotelContactByGenieDeviceResponse */ public GetHotelContactByGenieDeviceResponse getHotelContactByGenieDevice(GetHotelContactByGenieDeviceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetHotelContactByGenieDeviceHeaders headers = new GetHotelContactByGenieDeviceHeaders(); return this.getHotelContactByGenieDeviceWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>根据号码获取酒店联系人</p> * * @param tmpReq GetHotelContactByNumberRequest * @param headers GetHotelContactByNumberHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetHotelContactByNumberResponse */ public GetHotelContactByNumberResponse getHotelContactByNumberWithOptions(GetHotelContactByNumberRequest tmpReq, GetHotelContactByNumberHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); GetHotelContactByNumberShrinkRequest request = new GetHotelContactByNumberShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.number)) { body.put("Number", request.number); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetHotelContactByNumber"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelContactByNumber"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetHotelContactByNumberResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetHotelContactByNumberResponse()); } } /** * <b>summary</b> : * <p>根据号码获取酒店联系人</p> * * @param request GetHotelContactByNumberRequest * @return GetHotelContactByNumberResponse */ public GetHotelContactByNumberResponse getHotelContactByNumber(GetHotelContactByNumberRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetHotelContactByNumberHeaders headers = new GetHotelContactByNumberHeaders(); return this.getHotelContactByNumberWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>获取酒店联系人</p> * * @param tmpReq GetHotelContactsRequest * @param headers GetHotelContactsHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetHotelContactsResponse */ public GetHotelContactsResponse getHotelContactsWithOptions(GetHotelContactsRequest tmpReq, GetHotelContactsHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); GetHotelContactsShrinkRequest request = new GetHotelContactsShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetHotelContacts"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelContacts"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetHotelContactsResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetHotelContactsResponse()); } } /** * <b>summary</b> : * <p>获取酒店联系人</p> * * @param request GetHotelContactsRequest * @return GetHotelContactsResponse */ public GetHotelContactsResponse getHotelContacts(GetHotelContactsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetHotelContactsHeaders headers = new GetHotelContactsHeaders(); return this.getHotelContactsWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>获取首页背景图和场景模式</p> * * @param tmpReq GetHotelHomeBackImageAndModesRequest * @param headers GetHotelHomeBackImageAndModesHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetHotelHomeBackImageAndModesResponse */ public GetHotelHomeBackImageAndModesResponse getHotelHomeBackImageAndModesWithOptions(GetHotelHomeBackImageAndModesRequest tmpReq, GetHotelHomeBackImageAndModesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); GetHotelHomeBackImageAndModesShrinkRequest request = new GetHotelHomeBackImageAndModesShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetHotelHomeBackImageAndModes"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelHomeBackImageAndModes"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetHotelHomeBackImageAndModesResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetHotelHomeBackImageAndModesResponse()); } } /** * <b>summary</b> : * <p>获取首页背景图和场景模式</p> * * @param request GetHotelHomeBackImageAndModesRequest * @return GetHotelHomeBackImageAndModesResponse */ public GetHotelHomeBackImageAndModesResponse getHotelHomeBackImageAndModes(GetHotelHomeBackImageAndModesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetHotelHomeBackImageAndModesHeaders headers = new GetHotelHomeBackImageAndModesHeaders(); return this.getHotelHomeBackImageAndModesWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>获取酒店通知</p> * * @param tmpReq GetHotelNoticeRequest * @param headers GetHotelNoticeHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetHotelNoticeResponse */ public GetHotelNoticeResponse getHotelNoticeWithOptions(GetHotelNoticeRequest tmpReq, GetHotelNoticeHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); GetHotelNoticeShrinkRequest request = new GetHotelNoticeShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetHotelNotice"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelNotice"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetHotelNoticeResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetHotelNoticeResponse()); } } /** * <b>summary</b> : * <p>获取酒店通知</p> * * @param request GetHotelNoticeRequest * @return GetHotelNoticeResponse */ public GetHotelNoticeResponse getHotelNotice(GetHotelNoticeRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetHotelNoticeHeaders headers = new GetHotelNoticeHeaders(); return this.getHotelNoticeWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>获取酒店通知</p> * * @param tmpReq GetHotelNoticeV2Request * @param headers GetHotelNoticeV2Headers * @param runtime runtime options for this request RuntimeOptions * @return GetHotelNoticeV2Response */ public GetHotelNoticeV2Response getHotelNoticeV2WithOptions(GetHotelNoticeV2Request tmpReq, GetHotelNoticeV2Headers headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); GetHotelNoticeV2ShrinkRequest request = new GetHotelNoticeV2ShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetHotelNoticeV2"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelNoticeV2"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetHotelNoticeV2Response()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetHotelNoticeV2Response()); } } /** * <b>summary</b> : * <p>获取酒店通知</p> * * @param request GetHotelNoticeV2Request * @return GetHotelNoticeV2Response */ public GetHotelNoticeV2Response getHotelNoticeV2(GetHotelNoticeV2Request request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetHotelNoticeV2Headers headers = new GetHotelNoticeV2Headers(); return this.getHotelNoticeV2WithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>获取酒店订单详情</p> * * @param tmpReq GetHotelOrderDetailRequest * @param headers GetHotelOrderDetailHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetHotelOrderDetailResponse */ public GetHotelOrderDetailResponse getHotelOrderDetailWithOptions(GetHotelOrderDetailRequest tmpReq, GetHotelOrderDetailHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); GetHotelOrderDetailShrinkRequest request = new GetHotelOrderDetailShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) { request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) { query.put("Payload", request.payloadShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetHotelOrderDetail"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelOrderDetail"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetHotelOrderDetailResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetHotelOrderDetailResponse()); } } /** * <b>summary</b> : * <p>获取酒店订单详情</p> * * @param request GetHotelOrderDetailRequest * @return GetHotelOrderDetailResponse */ public GetHotelOrderDetailResponse getHotelOrderDetail(GetHotelOrderDetailRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetHotelOrderDetailHeaders headers = new GetHotelOrderDetailHeaders(); return this.getHotelOrderDetailWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>获取酒店房间猫精设备信息</p> * * @param request GetHotelRoomDeviceRequest * @param headers GetHotelRoomDeviceHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetHotelRoomDeviceResponse */ public GetHotelRoomDeviceResponse getHotelRoomDeviceWithOptions(GetHotelRoomDeviceRequest request, GetHotelRoomDeviceHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { query.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { query.put("RoomNo", request.roomNo); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetHotelRoomDevice"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelRoomDevice"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetHotelRoomDeviceResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetHotelRoomDeviceResponse()); } } /** * <b>summary</b> : * <p>获取酒店房间猫精设备信息</p> * * @param request GetHotelRoomDeviceRequest * @return GetHotelRoomDeviceResponse */ public GetHotelRoomDeviceResponse getHotelRoomDevice(GetHotelRoomDeviceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetHotelRoomDeviceHeaders headers = new GetHotelRoomDeviceHeaders(); return this.getHotelRoomDeviceWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>获取推荐语料</p> * * @param tmpReq GetHotelSampleUtterancesRequest * @param headers GetHotelSampleUtterancesHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetHotelSampleUtterancesResponse */ public GetHotelSampleUtterancesResponse getHotelSampleUtterancesWithOptions(GetHotelSampleUtterancesRequest tmpReq, GetHotelSampleUtterancesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); GetHotelSampleUtterancesShrinkRequest request = new GetHotelSampleUtterancesShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetHotelSampleUtterances"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelSampleUtterances"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetHotelSampleUtterancesResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetHotelSampleUtterancesResponse()); } } /** * <b>summary</b> : * <p>获取推荐语料</p> * * @param request GetHotelSampleUtterancesRequest * @return GetHotelSampleUtterancesResponse */ public GetHotelSampleUtterancesResponse getHotelSampleUtterances(GetHotelSampleUtterancesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetHotelSampleUtterancesHeaders headers = new GetHotelSampleUtterancesHeaders(); return this.getHotelSampleUtterancesWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店场景详情</p> * * @param request GetHotelSceneItemDetailRequest * @param headers GetHotelSceneItemDetailHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetHotelSceneItemDetailResponse */ public GetHotelSceneItemDetailResponse getHotelSceneItemDetailWithOptions(GetHotelSceneItemDetailRequest request, GetHotelSceneItemDetailHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.itemId)) { body.put("ItemId", request.itemId); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { body.put("Name", request.name); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetHotelSceneItemDetail"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelSceneItemDetail"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetHotelSceneItemDetailResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetHotelSceneItemDetailResponse()); } } /** * <b>summary</b> : * <p>酒店场景详情</p> * * @param request GetHotelSceneItemDetailRequest * @return GetHotelSceneItemDetailResponse */ public GetHotelSceneItemDetailResponse getHotelSceneItemDetail(GetHotelSceneItemDetailRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetHotelSceneItemDetailHeaders headers = new GetHotelSceneItemDetailHeaders(); return this.getHotelSceneItemDetailWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>获取酒店屏保</p> * * @param tmpReq GetHotelScreenSaverRequest * @param headers GetHotelScreenSaverHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetHotelScreenSaverResponse */ public GetHotelScreenSaverResponse getHotelScreenSaverWithOptions(GetHotelScreenSaverRequest tmpReq, GetHotelScreenSaverHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); GetHotelScreenSaverShrinkRequest request = new GetHotelScreenSaverShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetHotelScreenSaver"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelScreenSaver"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetHotelScreenSaverResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetHotelScreenSaverResponse()); } } /** * <b>summary</b> : * <p>获取酒店屏保</p> * * @param request GetHotelScreenSaverRequest * @return GetHotelScreenSaverResponse */ public GetHotelScreenSaverResponse getHotelScreenSaver(GetHotelScreenSaverRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetHotelScreenSaverHeaders headers = new GetHotelScreenSaverHeaders(); return this.getHotelScreenSaverWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>获取屏保列表</p> * * @param request GetHotelScreenSaverStyleRequest * @param headers GetHotelScreenSaverStyleHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetHotelScreenSaverStyleResponse */ public GetHotelScreenSaverStyleResponse getHotelScreenSaverStyleWithOptions(GetHotelScreenSaverStyleRequest request, GetHotelScreenSaverStyleHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetHotelScreenSaverStyle"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelScreenSaverStyle"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetHotelScreenSaverStyleResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetHotelScreenSaverStyleResponse()); } } /** * <b>summary</b> : * <p>获取屏保列表</p> * * @param request GetHotelScreenSaverStyleRequest * @return GetHotelScreenSaverStyleResponse */ public GetHotelScreenSaverStyleResponse getHotelScreenSaverStyle(GetHotelScreenSaverStyleRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetHotelScreenSaverStyleHeaders headers = new GetHotelScreenSaverStyleHeaders(); return this.getHotelScreenSaverStyleWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询定制配置</p> * * @param request GetHotelSettingRequest * @param headers GetHotelSettingHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetHotelSettingResponse */ public GetHotelSettingResponse getHotelSettingWithOptions(GetHotelSettingRequest request, GetHotelSettingHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.settingType)) { body.put("SettingType", request.settingType); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetHotelSetting"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelSetting"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetHotelSettingResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetHotelSettingResponse()); } } /** * <b>summary</b> : * <p>查询定制配置</p> * * @param request GetHotelSettingRequest * @return GetHotelSettingResponse */ public GetHotelSettingResponse getHotelSetting(GetHotelSettingRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetHotelSettingHeaders headers = new GetHotelSettingHeaders(); return this.getHotelSettingWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>关联产品列表查看</p> * * @param headers GetRelationProductListHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetRelationProductListResponse */ public GetRelationProductListResponse getRelationProductListWithOptions(GetRelationProductListHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetRelationProductList"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getRelationProductList"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetRelationProductListResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetRelationProductListResponse()); } } /** * <b>summary</b> : * <p>关联产品列表查看</p> * @return GetRelationProductListResponse */ public GetRelationProductListResponse getRelationProductList() throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetRelationProductListHeaders headers = new GetRelationProductListHeaders(); return this.getRelationProductListWithOptions(headers, runtime); } /** * <b>summary</b> : * <p>获取组织下unionId列表</p> * * @param request GetUnionIdRequest * @param headers GetUnionIdHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetUnionIdResponse */ public GetUnionIdResponse getUnionIdWithOptions(GetUnionIdRequest request, GetUnionIdHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.encodeKey)) { body.put("EncodeKey", request.encodeKey); } if (!com.aliyun.teautil.Common.isUnset(request.encodeType)) { body.put("EncodeType", request.encodeType); } if (!com.aliyun.teautil.Common.isUnset(request.id)) { body.put("Id", request.id); } if (!com.aliyun.teautil.Common.isUnset(request.idType)) { body.put("IdType", request.idType); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetUnionId"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getUnionId"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetUnionIdResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetUnionIdResponse()); } } /** * <b>summary</b> : * <p>获取组织下unionId列表</p> * * @param request GetUnionIdRequest * @return GetUnionIdResponse */ public GetUnionIdResponse getUnionId(GetUnionIdRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetUnionIdHeaders headers = new GetUnionIdHeaders(); return this.getUnionIdWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询欢迎语信息</p> * * @param request GetWelcomeTextAndMusicRequest * @param headers GetWelcomeTextAndMusicHeaders * @param runtime runtime options for this request RuntimeOptions * @return GetWelcomeTextAndMusicResponse */ public GetWelcomeTextAndMusicResponse getWelcomeTextAndMusicWithOptions(GetWelcomeTextAndMusicRequest request, GetWelcomeTextAndMusicHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWelcomeTextAndMusic"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getWelcomeTextAndMusic"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new GetWelcomeTextAndMusicResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new GetWelcomeTextAndMusicResponse()); } } /** * <b>summary</b> : * <p>查询欢迎语信息</p> * * @param request GetWelcomeTextAndMusicRequest * @return GetWelcomeTextAndMusicResponse */ public GetWelcomeTextAndMusicResponse getWelcomeTextAndMusic(GetWelcomeTextAndMusicRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); GetWelcomeTextAndMusicHeaders headers = new GetWelcomeTextAndMusicHeaders(); return this.getWelcomeTextAndMusicWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店带屏设备扫码绑定</p> * * @param request HotelQrBindRequest * @param headers HotelQrBindHeaders * @param runtime runtime options for this request RuntimeOptions * @return HotelQrBindResponse */ public HotelQrBindResponse hotelQrBindWithOptions(HotelQrBindRequest request, HotelQrBindHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientId)) { body.put("ClientId", request.clientId); } if (!com.aliyun.teautil.Common.isUnset(request.code)) { body.put("Code", request.code); } if (!com.aliyun.teautil.Common.isUnset(request.extInfo)) { body.put("ExtInfo", request.extInfo); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "HotelQrBind"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/hotelQrBind"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new HotelQrBindResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new HotelQrBindResponse()); } } /** * <b>summary</b> : * <p>酒店带屏设备扫码绑定</p> * * @param request HotelQrBindRequest * @return HotelQrBindResponse */ public HotelQrBindResponse hotelQrBind(HotelQrBindRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); HotelQrBindHeaders headers = new HotelQrBindHeaders(); return this.hotelQrBindWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>批量导入酒店配置</p> * * @param tmpReq ImportHotelConfigRequest * @param headers ImportHotelConfigHeaders * @param runtime runtime options for this request RuntimeOptions * @return ImportHotelConfigResponse */ public ImportHotelConfigResponse importHotelConfigWithOptions(ImportHotelConfigRequest tmpReq, ImportHotelConfigHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ImportHotelConfigShrinkRequest request = new ImportHotelConfigShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.importHotelConfig)) { request.importHotelConfigShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.importHotelConfig, "ImportHotelConfig", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.importHotelConfigShrink)) { body.put("ImportHotelConfig", request.importHotelConfigShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ImportHotelConfig"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/importHotelConfig"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ImportHotelConfigResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ImportHotelConfigResponse()); } } /** * <b>summary</b> : * <p>批量导入酒店配置</p> * * @param request ImportHotelConfigRequest * @return ImportHotelConfigResponse */ public ImportHotelConfigResponse importHotelConfig(ImportHotelConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ImportHotelConfigHeaders headers = new ImportHotelConfigHeaders(); return this.importHotelConfigWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>批量导入设备(同时补充房型)</p> * * @param tmpReq ImportRoomControlDevicesRequest * @param headers ImportRoomControlDevicesHeaders * @param runtime runtime options for this request RuntimeOptions * @return ImportRoomControlDevicesResponse */ public ImportRoomControlDevicesResponse importRoomControlDevicesWithOptions(ImportRoomControlDevicesRequest tmpReq, ImportRoomControlDevicesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ImportRoomControlDevicesShrinkRequest request = new ImportRoomControlDevicesShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.locationDevices)) { request.locationDevicesShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.locationDevices, "LocationDevices", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.enableInfraredDeviceImport)) { body.put("EnableInfraredDeviceImport", request.enableInfraredDeviceImport); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.locationDevicesShrink)) { body.put("LocationDevices", request.locationDevicesShrink); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ImportRoomControlDevices"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/importRoomControlDevices"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ImportRoomControlDevicesResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ImportRoomControlDevicesResponse()); } } /** * <b>summary</b> : * <p>批量导入设备(同时补充房型)</p> * * @param request ImportRoomControlDevicesRequest * @return ImportRoomControlDevicesResponse */ public ImportRoomControlDevicesResponse importRoomControlDevices(ImportRoomControlDevicesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ImportRoomControlDevicesHeaders headers = new ImportRoomControlDevicesHeaders(); return this.importRoomControlDevicesWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>导入房间内精灵场景</p> * * @param tmpReq ImportRoomGenieScenesRequest * @param headers ImportRoomGenieScenesHeaders * @param runtime runtime options for this request RuntimeOptions * @return ImportRoomGenieScenesResponse */ public ImportRoomGenieScenesResponse importRoomGenieScenesWithOptions(ImportRoomGenieScenesRequest tmpReq, ImportRoomGenieScenesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ImportRoomGenieScenesShrinkRequest request = new ImportRoomGenieScenesShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.sceneList)) { request.sceneListShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.sceneList, "SceneList", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } if (!com.aliyun.teautil.Common.isUnset(request.sceneListShrink)) { body.put("SceneList", request.sceneListShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ImportRoomGenieScenes"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/importRoomGenieScenes"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ImportRoomGenieScenesResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ImportRoomGenieScenesResponse()); } } /** * <b>summary</b> : * <p>导入房间内精灵场景</p> * * @param request ImportRoomGenieScenesRequest * @return ImportRoomGenieScenesResponse */ public ImportRoomGenieScenesResponse importRoomGenieScenes(ImportRoomGenieScenesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ImportRoomGenieScenesHeaders headers = new ImportRoomGenieScenesHeaders(); return this.importRoomGenieScenesWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店场景预订新增</p> * * @param tmpReq InsertHotelSceneBookItemRequest * @param headers InsertHotelSceneBookItemHeaders * @param runtime runtime options for this request RuntimeOptions * @return InsertHotelSceneBookItemResponse */ public InsertHotelSceneBookItemResponse insertHotelSceneBookItemWithOptions(InsertHotelSceneBookItemRequest tmpReq, InsertHotelSceneBookItemHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); InsertHotelSceneBookItemShrinkRequest request = new InsertHotelSceneBookItemShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.addHotelSceneItemReq)) { request.addHotelSceneItemReqShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.addHotelSceneItemReq, "AddHotelSceneItemReq", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.addHotelSceneItemReqShrink)) { query.put("AddHotelSceneItemReq", request.addHotelSceneItemReqShrink); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "InsertHotelSceneBookItem"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/insertHotelSceneBookItem"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new InsertHotelSceneBookItemResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new InsertHotelSceneBookItemResponse()); } } /** * <b>summary</b> : * <p>酒店场景预订新增</p> * * @param request InsertHotelSceneBookItemRequest * @return InsertHotelSceneBookItemResponse */ public InsertHotelSceneBookItemResponse insertHotelSceneBookItem(InsertHotelSceneBookItemRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); InsertHotelSceneBookItemHeaders headers = new InsertHotelSceneBookItemHeaders(); return this.insertHotelSceneBookItemWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>机器人服务,消息推送</p> * * @param request InvokeRobotPushRequest * @param headers InvokeRobotPushHeaders * @param runtime runtime options for this request RuntimeOptions * @return InvokeRobotPushResponse */ public InvokeRobotPushResponse invokeRobotPushWithOptions(InvokeRobotPushRequest request, InvokeRobotPushHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.pushType)) { body.put("PushType", request.pushType); } if (!com.aliyun.teautil.Common.isUnset(request.roomName)) { body.put("RoomName", request.roomName); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "InvokeRobotPush"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/invokeRobotPush"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new InvokeRobotPushResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new InvokeRobotPushResponse()); } } /** * <b>summary</b> : * <p>机器人服务,消息推送</p> * * @param request InvokeRobotPushRequest * @return InvokeRobotPushResponse */ public InvokeRobotPushResponse invokeRobotPush(InvokeRobotPushRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); InvokeRobotPushHeaders headers = new InvokeRobotPushHeaders(); return this.invokeRobotPushWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询省份</p> * * @param headers ListAllProvincesHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListAllProvincesResponse */ public ListAllProvincesResponse listAllProvincesWithOptions(ListAllProvincesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListAllProvinces"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listAllProvinces"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListAllProvincesResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListAllProvincesResponse()); } } /** * <b>summary</b> : * <p>查询省份</p> * @return ListAllProvincesResponse */ public ListAllProvincesResponse listAllProvinces() throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListAllProvincesHeaders headers = new ListAllProvincesHeaders(); return this.listAllProvincesWithOptions(headers, runtime); } /** * <b>summary</b> : * <p>查询城市</p> * * @param request ListCitiesByProvinceRequest * @param headers ListCitiesByProvinceHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListCitiesByProvinceResponse */ public ListCitiesByProvinceResponse listCitiesByProvinceWithOptions(ListCitiesByProvinceRequest request, ListCitiesByProvinceHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.province)) { body.put("Province", request.province); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListCitiesByProvince"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listCitiesByProvince"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListCitiesByProvinceResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListCitiesByProvinceResponse()); } } /** * <b>summary</b> : * <p>查询城市</p> * * @param request ListCitiesByProvinceRequest * @return ListCitiesByProvinceResponse */ public ListCitiesByProvinceResponse listCitiesByProvince(ListCitiesByProvinceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListCitiesByProvinceHeaders headers = new ListCitiesByProvinceHeaders(); return this.listCitiesByProvinceWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询自定义问答列表</p> * * @param tmpReq ListCustomQARequest * @param headers ListCustomQAHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListCustomQAResponse */ public ListCustomQAResponse listCustomQAWithOptions(ListCustomQARequest tmpReq, ListCustomQAHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ListCustomQAShrinkRequest request = new ListCustomQAShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.page)) { request.pageShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { body.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.pageShrink)) { body.put("Page", request.pageShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListCustomQA"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listCustomQA"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListCustomQAResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListCustomQAResponse()); } } /** * <b>summary</b> : * <p>查询自定义问答列表</p> * * @param request ListCustomQARequest * @return ListCustomQAResponse */ public ListCustomQAResponse listCustomQA(ListCustomQARequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListCustomQAHeaders headers = new ListCustomQAHeaders(); return this.listCustomQAWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店场景对话模板</p> * * @param request ListDialogueTemplateRequest * @param headers ListDialogueTemplateHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListDialogueTemplateResponse */ public ListDialogueTemplateResponse listDialogueTemplateWithOptions(ListDialogueTemplateRequest request, ListDialogueTemplateHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListDialogueTemplate"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listDialogueTemplate"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListDialogueTemplateResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListDialogueTemplateResponse()); } } /** * <b>summary</b> : * <p>酒店场景对话模板</p> * * @param request ListDialogueTemplateRequest * @return ListDialogueTemplateResponse */ public ListDialogueTemplateResponse listDialogueTemplate(ListDialogueTemplateRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListDialogueTemplateHeaders headers = new ListDialogueTemplateHeaders(); return this.listDialogueTemplateWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询酒店闹钟</p> * * @param tmpReq ListHotelAlarmRequest * @param headers ListHotelAlarmHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListHotelAlarmResponse */ public ListHotelAlarmResponse listHotelAlarmWithOptions(ListHotelAlarmRequest tmpReq, ListHotelAlarmHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ListHotelAlarmShrinkRequest request = new ListHotelAlarmShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.rooms)) { request.roomsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.rooms, "Rooms", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomsShrink)) { body.put("Rooms", request.roomsShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListHotelAlarm"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/getHotelAlarmList"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListHotelAlarmResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListHotelAlarmResponse()); } } /** * <b>summary</b> : * <p>查询酒店闹钟</p> * * @param request ListHotelAlarmRequest * @return ListHotelAlarmResponse */ public ListHotelAlarmResponse listHotelAlarm(ListHotelAlarmRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListHotelAlarmHeaders headers = new ListHotelAlarmHeaders(); return this.listHotelAlarmWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店设备列表</p> * * @param tmpReq ListHotelControlDeviceRequest * @param headers ListHotelControlDeviceHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListHotelControlDeviceResponse */ public ListHotelControlDeviceResponse listHotelControlDeviceWithOptions(ListHotelControlDeviceRequest tmpReq, ListHotelControlDeviceHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ListHotelControlDeviceShrinkRequest request = new ListHotelControlDeviceShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListHotelControlDevice"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listHotelControlDevice"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListHotelControlDeviceResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListHotelControlDeviceResponse()); } } /** * <b>summary</b> : * <p>酒店设备列表</p> * * @param request ListHotelControlDeviceRequest * @return ListHotelControlDeviceResponse */ public ListHotelControlDeviceResponse listHotelControlDevice(ListHotelControlDeviceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListHotelControlDeviceHeaders headers = new ListHotelControlDeviceHeaders(); return this.listHotelControlDeviceWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>获取酒店列表</p> * * @param headers ListHotelInfoHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListHotelInfoResponse */ public ListHotelInfoResponse listHotelInfoWithOptions(ListHotelInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListHotelInfo"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listHotelInfo"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListHotelInfoResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListHotelInfoResponse()); } } /** * <b>summary</b> : * <p>获取酒店列表</p> * @return ListHotelInfoResponse */ public ListHotelInfoResponse listHotelInfo() throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListHotelInfoHeaders headers = new ListHotelInfoHeaders(); return this.listHotelInfoWithOptions(headers, runtime); } /** * <b>summary</b> : * <p>获取消息模板</p> * * @param headers ListHotelMessageTemplateHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListHotelMessageTemplateResponse */ public ListHotelMessageTemplateResponse listHotelMessageTemplateWithOptions(ListHotelMessageTemplateHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListHotelMessageTemplate"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listHotelMessageTemplate"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListHotelMessageTemplateResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListHotelMessageTemplateResponse()); } } /** * <b>summary</b> : * <p>获取消息模板</p> * @return ListHotelMessageTemplateResponse */ public ListHotelMessageTemplateResponse listHotelMessageTemplate() throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListHotelMessageTemplateHeaders headers = new ListHotelMessageTemplateHeaders(); return this.listHotelMessageTemplateWithOptions(headers, runtime); } /** * <b>summary</b> : * <p>酒店订单列表</p> * * @param tmpReq ListHotelOrderRequest * @param headers ListHotelOrderHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListHotelOrderResponse */ public ListHotelOrderResponse listHotelOrderWithOptions(ListHotelOrderRequest tmpReq, ListHotelOrderHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ListHotelOrderShrinkRequest request = new ListHotelOrderShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) { request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) { query.put("Payload", request.payloadShrink); } if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListHotelOrder"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listHotelOrder"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListHotelOrderResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListHotelOrderResponse()); } } /** * <b>summary</b> : * <p>酒店订单列表</p> * * @param request ListHotelOrderRequest * @return ListHotelOrderResponse */ public ListHotelOrderResponse listHotelOrder(ListHotelOrderRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListHotelOrderHeaders headers = new ListHotelOrderHeaders(); return this.listHotelOrderWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>获取酒店的所有房间</p> * * @param tmpReq ListHotelRoomsRequest * @param headers ListHotelRoomsHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListHotelRoomsResponse */ public ListHotelRoomsResponse listHotelRoomsWithOptions(ListHotelRoomsRequest tmpReq, ListHotelRoomsHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ListHotelRoomsShrinkRequest request = new ListHotelRoomsShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.hotelAdminRoom)) { request.hotelAdminRoomShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.hotelAdminRoom, "HotelAdminRoom", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelAdminRoomShrink)) { body.put("HotelAdminRoom", request.hotelAdminRoomShrink); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListHotelRooms"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listHotelRooms"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListHotelRoomsResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListHotelRoomsResponse()); } } /** * <b>summary</b> : * <p>获取酒店的所有房间</p> * * @param request ListHotelRoomsRequest * @return ListHotelRoomsResponse */ public ListHotelRoomsResponse listHotelRooms(ListHotelRoomsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListHotelRoomsHeaders headers = new ListHotelRoomsHeaders(); return this.listHotelRoomsWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店场景预订列表(餐饮/SPA休闲/打车)</p> * * @param tmpReq ListHotelSceneBookItemsRequest * @param headers ListHotelSceneBookItemsHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListHotelSceneBookItemsResponse */ public ListHotelSceneBookItemsResponse listHotelSceneBookItemsWithOptions(ListHotelSceneBookItemsRequest tmpReq, ListHotelSceneBookItemsHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ListHotelSceneBookItemsShrinkRequest request = new ListHotelSceneBookItemsShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.page)) { request.pageShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.pageShrink)) { query.put("Page", request.pageShrink); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { body.put("Type", request.type); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListHotelSceneBookItems"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listHotelSceneBookItems"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListHotelSceneBookItemsResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListHotelSceneBookItemsResponse()); } } /** * <b>summary</b> : * <p>酒店场景预订列表(餐饮/SPA休闲/打车)</p> * * @param request ListHotelSceneBookItemsRequest * @return ListHotelSceneBookItemsResponse */ public ListHotelSceneBookItemsResponse listHotelSceneBookItems(ListHotelSceneBookItemsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListHotelSceneBookItemsHeaders headers = new ListHotelSceneBookItemsHeaders(); return this.listHotelSceneBookItemsWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>服务项目</p> * * @param tmpReq ListHotelSceneItemRequest * @param headers ListHotelSceneItemHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListHotelSceneItemResponse */ public ListHotelSceneItemResponse listHotelSceneItemWithOptions(ListHotelSceneItemRequest tmpReq, ListHotelSceneItemHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ListHotelSceneItemShrinkRequest request = new ListHotelSceneItemShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) { request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) { query.put("Payload", request.payloadShrink); } if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListHotelSceneItem"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listHotelSceneItem"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListHotelSceneItemResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListHotelSceneItemResponse()); } } /** * <b>summary</b> : * <p>服务项目</p> * * @param request ListHotelSceneItemRequest * @return ListHotelSceneItemResponse */ public ListHotelSceneItemResponse listHotelSceneItem(ListHotelSceneItemRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListHotelSceneItemHeaders headers = new ListHotelSceneItemHeaders(); return this.listHotelSceneItemWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店场景列表(物品/服务/维修)</p> * * @param tmpReq ListHotelSceneItemsRequest * @param headers ListHotelSceneItemsHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListHotelSceneItemsResponse */ public ListHotelSceneItemsResponse listHotelSceneItemsWithOptions(ListHotelSceneItemsRequest tmpReq, ListHotelSceneItemsHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ListHotelSceneItemsShrinkRequest request = new ListHotelSceneItemsShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.listHotelSceneReq)) { request.listHotelSceneReqShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.listHotelSceneReq, "ListHotelSceneReq", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.listHotelSceneReqShrink)) { query.put("ListHotelSceneReq", request.listHotelSceneReqShrink); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListHotelSceneItems"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listHotelSceneItems"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListHotelSceneItemsResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListHotelSceneItemsResponse()); } } /** * <b>summary</b> : * <p>酒店场景列表(物品/服务/维修)</p> * * @param request ListHotelSceneItemsRequest * @return ListHotelSceneItemsResponse */ public ListHotelSceneItemsResponse listHotelSceneItems(ListHotelSceneItemsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListHotelSceneItemsHeaders headers = new ListHotelSceneItemsHeaders(); return this.listHotelSceneItemsWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>服务分类列表</p> * * @param tmpReq ListHotelServiceCategoryRequest * @param headers ListHotelServiceCategoryHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListHotelServiceCategoryResponse */ public ListHotelServiceCategoryResponse listHotelServiceCategoryWithOptions(ListHotelServiceCategoryRequest tmpReq, ListHotelServiceCategoryHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ListHotelServiceCategoryShrinkRequest request = new ListHotelServiceCategoryShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) { request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) { query.put("Payload", request.payloadShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListHotelServiceCategory"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listHotelServiceCategory"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListHotelServiceCategoryResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListHotelServiceCategoryResponse()); } } /** * <b>summary</b> : * <p>服务分类列表</p> * * @param request ListHotelServiceCategoryRequest * @return ListHotelServiceCategoryResponse */ public ListHotelServiceCategoryResponse listHotelServiceCategory(ListHotelServiceCategoryRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListHotelServiceCategoryHeaders headers = new ListHotelServiceCategoryHeaders(); return this.listHotelServiceCategoryWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店列表(待审批/已拒绝/已通过)</p> * * @param tmpReq ListHotelsRequest * @param headers ListHotelsHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListHotelsResponse */ public ListHotelsResponse listHotelsWithOptions(ListHotelsRequest tmpReq, ListHotelsHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ListHotelsShrinkRequest request = new ListHotelsShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.hotelRequest)) { request.hotelRequestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.hotelRequest, "HotelRequest", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.page)) { request.pageShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelRequestShrink)) { query.put("HotelRequest", request.hotelRequestShrink); } if (!com.aliyun.teautil.Common.isUnset(request.pageShrink)) { query.put("Page", request.pageShrink); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.status)) { body.put("Status", request.status); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListHotels"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listHotels"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListHotelsResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListHotelsResponse()); } } /** * <b>summary</b> : * <p>酒店列表(待审批/已拒绝/已通过)</p> * * @param request ListHotelsRequest * @return ListHotelsResponse */ public ListHotelsResponse listHotels(ListHotelsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListHotelsHeaders headers = new ListHotelsHeaders(); return this.listHotelsWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询红外品牌列表</p> * * @param request ListInfraredDeviceBrandsRequest * @param headers ListInfraredDeviceBrandsHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListInfraredDeviceBrandsResponse */ public ListInfraredDeviceBrandsResponse listInfraredDeviceBrandsWithOptions(ListInfraredDeviceBrandsRequest request, ListInfraredDeviceBrandsHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.category)) { body.put("Category", request.category); } if (!com.aliyun.teautil.Common.isUnset(request.serviceProvider)) { body.put("ServiceProvider", request.serviceProvider); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListInfraredDeviceBrands"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listInfraredDeviceBrands"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListInfraredDeviceBrandsResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListInfraredDeviceBrandsResponse()); } } /** * <b>summary</b> : * <p>查询红外品牌列表</p> * * @param request ListInfraredDeviceBrandsRequest * @return ListInfraredDeviceBrandsResponse */ public ListInfraredDeviceBrandsResponse listInfraredDeviceBrands(ListInfraredDeviceBrandsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListInfraredDeviceBrandsHeaders headers = new ListInfraredDeviceBrandsHeaders(); return this.listInfraredDeviceBrandsWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询红外码库列表</p> * * @param request ListInfraredRemoteControllersRequest * @param headers ListInfraredRemoteControllersHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListInfraredRemoteControllersResponse */ public ListInfraredRemoteControllersResponse listInfraredRemoteControllersWithOptions(ListInfraredRemoteControllersRequest request, ListInfraredRemoteControllersHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.brand)) { body.put("Brand", request.brand); } if (!com.aliyun.teautil.Common.isUnset(request.category)) { body.put("Category", request.category); } if (!com.aliyun.teautil.Common.isUnset(request.city)) { body.put("City", request.city); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.province)) { body.put("Province", request.province); } if (!com.aliyun.teautil.Common.isUnset(request.serviceProvider)) { body.put("ServiceProvider", request.serviceProvider); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListInfraredRemoteControllers"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listInfraredRemoteControllers"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListInfraredRemoteControllersResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListInfraredRemoteControllersResponse()); } } /** * <b>summary</b> : * <p>查询红外码库列表</p> * * @param request ListInfraredRemoteControllersRequest * @return ListInfraredRemoteControllersResponse */ public ListInfraredRemoteControllersResponse listInfraredRemoteControllers(ListInfraredRemoteControllersRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListInfraredRemoteControllersHeaders headers = new ListInfraredRemoteControllersHeaders(); return this.listInfraredRemoteControllersWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询服务提供商</p> * * @param request ListSTBServiceProvidersRequest * @param headers ListSTBServiceProvidersHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListSTBServiceProvidersResponse */ public ListSTBServiceProvidersResponse listSTBServiceProvidersWithOptions(ListSTBServiceProvidersRequest request, ListSTBServiceProvidersHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.city)) { body.put("City", request.city); } if (!com.aliyun.teautil.Common.isUnset(request.province)) { body.put("Province", request.province); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListSTBServiceProviders"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listSTBServiceProviders"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListSTBServiceProvidersResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListSTBServiceProvidersResponse()); } } /** * <b>summary</b> : * <p>查询服务提供商</p> * * @param request ListSTBServiceProvidersRequest * @return ListSTBServiceProvidersResponse */ public ListSTBServiceProvidersResponse listSTBServiceProviders(ListSTBServiceProvidersRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListSTBServiceProvidersHeaders headers = new ListSTBServiceProvidersHeaders(); return this.listSTBServiceProvidersWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店场景分类</p> * * @param request ListSceneCategoryRequest * @param headers ListSceneCategoryHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListSceneCategoryResponse */ public ListSceneCategoryResponse listSceneCategoryWithOptions(ListSceneCategoryRequest request, ListSceneCategoryHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { body.put("Type", request.type); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListSceneCategory"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listSceneCategory"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListSceneCategoryResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListSceneCategoryResponse()); } } /** * <b>summary</b> : * <p>酒店场景分类</p> * * @param request ListSceneCategoryRequest * @return ListSceneCategoryResponse */ public ListSceneCategoryResponse listSceneCategory(ListSceneCategoryRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListSceneCategoryHeaders headers = new ListSceneCategoryHeaders(); return this.listSceneCategoryWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询服务设施问答列表</p> * * @param tmpReq ListServiceQARequest * @param headers ListServiceQAHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListServiceQAResponse */ public ListServiceQAResponse listServiceQAWithOptions(ListServiceQARequest tmpReq, ListServiceQAHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ListServiceQAShrinkRequest request = new ListServiceQAShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.page)) { request.pageShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.active)) { body.put("Active", request.active); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { body.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.pageShrink)) { body.put("Page", request.pageShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListServiceQA"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listServiceQA"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListServiceQAResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListServiceQAResponse()); } } /** * <b>summary</b> : * <p>查询服务设施问答列表</p> * * @param request ListServiceQARequest * @return ListServiceQAResponse */ public ListServiceQAResponse listServiceQA(ListServiceQARequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListServiceQAHeaders headers = new ListServiceQAHeaders(); return this.listServiceQAWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询工单列表</p> * * @param tmpReq ListTicketsRequest * @param headers ListTicketsHeaders * @param runtime runtime options for this request RuntimeOptions * @return ListTicketsResponse */ public ListTicketsResponse listTicketsWithOptions(ListTicketsRequest tmpReq, ListTicketsHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ListTicketsShrinkRequest request = new ListTicketsShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.page)) { request.pageShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.endTime)) { body.put("EndTime", request.endTime); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.isDesc)) { body.put("IsDesc", request.isDesc); } if (!com.aliyun.teautil.Common.isUnset(request.isNeedCallback)) { body.put("IsNeedCallback", request.isNeedCallback); } if (!com.aliyun.teautil.Common.isUnset(request.isNeedCharges)) { body.put("IsNeedCharges", request.isNeedCharges); } if (!com.aliyun.teautil.Common.isUnset(request.pageShrink)) { body.put("Page", request.pageShrink); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } if (!com.aliyun.teautil.Common.isUnset(request.sortField)) { body.put("SortField", request.sortField); } if (!com.aliyun.teautil.Common.isUnset(request.startTime)) { body.put("StartTime", request.startTime); } if (!com.aliyun.teautil.Common.isUnset(request.status)) { body.put("Status", request.status); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { body.put("Type", request.type); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListTickets"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/listTickets"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ListTicketsResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ListTicketsResponse()); } } /** * <b>summary</b> : * <p>查询工单列表</p> * * @param request ListTicketsRequest * @return ListTicketsResponse */ public ListTicketsResponse listTickets(ListTicketsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ListTicketsHeaders headers = new ListTicketsHeaders(); return this.listTicketsWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>分页查询酒店房间主控设备</p> * * @param request PageGetHotelRoomDevicesRequest * @param headers PageGetHotelRoomDevicesHeaders * @param runtime runtime options for this request RuntimeOptions * @return PageGetHotelRoomDevicesResponse */ public PageGetHotelRoomDevicesResponse pageGetHotelRoomDevicesWithOptions(PageGetHotelRoomDevicesRequest request, PageGetHotelRoomDevicesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { body.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { body.put("PageSize", request.pageSize); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PageGetHotelRoomDevices"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/pageGetHotelRoomDevices"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new PageGetHotelRoomDevicesResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new PageGetHotelRoomDevicesResponse()); } } /** * <b>summary</b> : * <p>分页查询酒店房间主控设备</p> * * @param request PageGetHotelRoomDevicesRequest * @return PageGetHotelRoomDevicesResponse */ public PageGetHotelRoomDevicesResponse pageGetHotelRoomDevices(PageGetHotelRoomDevicesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); PageGetHotelRoomDevicesHeaders headers = new PageGetHotelRoomDevicesHeaders(); return this.pageGetHotelRoomDevicesWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>pms事件上报</p> * * @param request PmsEventReportRequest * @param headers PmsEventReportHeaders * @param runtime runtime options for this request RuntimeOptions * @return PmsEventReportResponse */ public PmsEventReportResponse pmsEventReportWithOptions(PmsEventReportRequest request, PmsEventReportHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.payload)) { body.put("Payload", request.payload); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PmsEventReport"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/pmsEventReport"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new PmsEventReportResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new PmsEventReportResponse()); } } /** * <b>summary</b> : * <p>pms事件上报</p> * * @param request PmsEventReportRequest * @return PmsEventReportResponse */ public PmsEventReportResponse pmsEventReport(PmsEventReportRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); PmsEventReportHeaders headers = new PmsEventReportHeaders(); return this.pmsEventReportWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>推送酒店消息</p> * * @param tmpReq PushHotelMessageRequest * @param headers PushHotelMessageHeaders * @param runtime runtime options for this request RuntimeOptions * @return PushHotelMessageResponse */ public PushHotelMessageResponse pushHotelMessageWithOptions(PushHotelMessageRequest tmpReq, PushHotelMessageHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); PushHotelMessageShrinkRequest request = new PushHotelMessageShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.pushHotelMessageReq)) { request.pushHotelMessageReqShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.pushHotelMessageReq, "PushHotelMessageReq", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.pushHotelMessageReqShrink)) { query.put("PushHotelMessageReq", request.pushHotelMessageReqShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PushHotelMessage"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/pushHotelMessage"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new PushHotelMessageResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new PushHotelMessageResponse()); } } /** * <b>summary</b> : * <p>推送酒店消息</p> * * @param request PushHotelMessageRequest * @return PushHotelMessageResponse */ public PushHotelMessageResponse pushHotelMessage(PushHotelMessageRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); PushHotelMessageHeaders headers = new PushHotelMessageHeaders(); return this.pushHotelMessageWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>推送音箱指令</p> * * @param tmpReq PushVoiceBoxCommandsRequest * @param headers PushVoiceBoxCommandsHeaders * @param runtime runtime options for this request RuntimeOptions * @return PushVoiceBoxCommandsResponse */ public PushVoiceBoxCommandsResponse pushVoiceBoxCommandsWithOptions(PushVoiceBoxCommandsRequest tmpReq, PushVoiceBoxCommandsHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); PushVoiceBoxCommandsShrinkRequest request = new PushVoiceBoxCommandsShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.commands)) { request.commandsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.commands, "Commands", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.commandsShrink)) { body.put("Commands", request.commandsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PushVoiceBoxCommands"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/pushVoiceBoxCommands"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new PushVoiceBoxCommandsResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new PushVoiceBoxCommandsResponse()); } } /** * <b>summary</b> : * <p>推送音箱指令</p> * * @param request PushVoiceBoxCommandsRequest * @return PushVoiceBoxCommandsResponse */ public PushVoiceBoxCommandsResponse pushVoiceBoxCommands(PushVoiceBoxCommandsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); PushVoiceBoxCommandsHeaders headers = new PushVoiceBoxCommandsHeaders(); return this.pushVoiceBoxCommandsWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>直接推送欢迎语</p> * * @param request PushWelcomeRequest * @param headers PushWelcomeHeaders * @param runtime runtime options for this request RuntimeOptions * @return PushWelcomeResponse */ public PushWelcomeResponse pushWelcomeWithOptions(PushWelcomeRequest request, PushWelcomeHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomName)) { body.put("RoomName", request.roomName); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } if (!com.aliyun.teautil.Common.isUnset(request.welcomeMusicUrl)) { body.put("WelcomeMusicUrl", request.welcomeMusicUrl); } if (!com.aliyun.teautil.Common.isUnset(request.welcomeText)) { body.put("WelcomeText", request.welcomeText); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PushWelcome"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/pushWelcome"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new PushWelcomeResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new PushWelcomeResponse()); } } /** * <b>summary</b> : * <p>直接推送欢迎语</p> * * @param request PushWelcomeRequest * @return PushWelcomeResponse */ public PushWelcomeResponse pushWelcome(PushWelcomeRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); PushWelcomeHeaders headers = new PushWelcomeHeaders(); return this.pushWelcomeWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>推送欢迎语</p> * * @param tmpReq PushWelcomeTextAndMusicRequest * @param headers PushWelcomeTextAndMusicHeaders * @param runtime runtime options for this request RuntimeOptions * @return PushWelcomeTextAndMusicResponse */ public PushWelcomeTextAndMusicResponse pushWelcomeTextAndMusicWithOptions(PushWelcomeTextAndMusicRequest tmpReq, PushWelcomeTextAndMusicHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); PushWelcomeTextAndMusicShrinkRequest request = new PushWelcomeTextAndMusicShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.templateVariable)) { request.templateVariableShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.templateVariable, "TemplateVariable", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomName)) { body.put("RoomName", request.roomName); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } if (!com.aliyun.teautil.Common.isUnset(request.templateVariableShrink)) { body.put("TemplateVariable", request.templateVariableShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PushWelcomeTextAndMusic"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/pushWelcomeTextAndMusic"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new PushWelcomeTextAndMusicResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new PushWelcomeTextAndMusicResponse()); } } /** * <b>summary</b> : * <p>推送欢迎语</p> * * @param request PushWelcomeTextAndMusicRequest * @return PushWelcomeTextAndMusicResponse */ public PushWelcomeTextAndMusicResponse pushWelcomeTextAndMusic(PushWelcomeTextAndMusicRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); PushWelcomeTextAndMusicHeaders headers = new PushWelcomeTextAndMusicHeaders(); return this.pushWelcomeTextAndMusicWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询酒店设备状态/模式状态查询</p> * * @param tmpReq QueryDeviceStatusRequest * @param headers QueryDeviceStatusHeaders * @param runtime runtime options for this request RuntimeOptions * @return QueryDeviceStatusResponse */ public QueryDeviceStatusResponse queryDeviceStatusWithOptions(QueryDeviceStatusRequest tmpReq, QueryDeviceStatusHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); QueryDeviceStatusShrinkRequest request = new QueryDeviceStatusShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) { request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) { query.put("Payload", request.payloadShrink); } if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "QueryDeviceStatus"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/queryDeviceStatus"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new QueryDeviceStatusResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new QueryDeviceStatusResponse()); } } /** * <b>summary</b> : * <p>查询酒店设备状态/模式状态查询</p> * * @param request QueryDeviceStatusRequest * @return QueryDeviceStatusResponse */ public QueryDeviceStatusResponse queryDeviceStatus(QueryDeviceStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); QueryDeviceStatusHeaders headers = new QueryDeviceStatusHeaders(); return this.queryDeviceStatusWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询房间详细信息</p> * * @param request QueryHotelRoomDetailRequest * @param headers QueryHotelRoomDetailHeaders * @param runtime runtime options for this request RuntimeOptions * @return QueryHotelRoomDetailResponse */ public QueryHotelRoomDetailResponse queryHotelRoomDetailWithOptions(QueryHotelRoomDetailRequest request, QueryHotelRoomDetailHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.mac)) { body.put("Mac", request.mac); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } if (!com.aliyun.teautil.Common.isUnset(request.sn)) { body.put("Sn", request.sn); } if (!com.aliyun.teautil.Common.isUnset(request.uuid)) { body.put("Uuid", request.uuid); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "QueryHotelRoomDetail"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/queryHotelRoomDetail"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new QueryHotelRoomDetailResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new QueryHotelRoomDetailResponse()); } } /** * <b>summary</b> : * <p>查询房间详细信息</p> * * @param request QueryHotelRoomDetailRequest * @return QueryHotelRoomDetailResponse */ public QueryHotelRoomDetailResponse queryHotelRoomDetail(QueryHotelRoomDetailRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); QueryHotelRoomDetailHeaders headers = new QueryHotelRoomDetailHeaders(); return this.queryHotelRoomDetailWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询酒店房间客控设备</p> * * @param request QueryRoomControlDevicesRequest * @param headers QueryRoomControlDevicesHeaders * @param runtime runtime options for this request RuntimeOptions * @return QueryRoomControlDevicesResponse */ public QueryRoomControlDevicesResponse queryRoomControlDevicesWithOptions(QueryRoomControlDevicesRequest request, QueryRoomControlDevicesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { query.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { query.put("RoomNo", request.roomNo); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "QueryRoomControlDevices"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/queryRoomControlDevices"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new QueryRoomControlDevicesResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new QueryRoomControlDevicesResponse()); } } /** * <b>summary</b> : * <p>查询酒店房间客控设备</p> * * @param request QueryRoomControlDevicesRequest * @return QueryRoomControlDevicesResponse */ public QueryRoomControlDevicesResponse queryRoomControlDevices(QueryRoomControlDevicesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); QueryRoomControlDevicesHeaders headers = new QueryRoomControlDevicesHeaders(); return this.queryRoomControlDevicesWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询房间被控设备包含设备状态</p> * * @param request QueryRoomControlDevicesAndStatusRequest * @param headers QueryRoomControlDevicesAndStatusHeaders * @param runtime runtime options for this request RuntimeOptions * @return QueryRoomControlDevicesAndStatusResponse */ public QueryRoomControlDevicesAndStatusResponse queryRoomControlDevicesAndStatusWithOptions(QueryRoomControlDevicesAndStatusRequest request, QueryRoomControlDevicesAndStatusHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "QueryRoomControlDevicesAndStatus"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/queryRoomControlDevicesAndStatus"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new QueryRoomControlDevicesAndStatusResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new QueryRoomControlDevicesAndStatusResponse()); } } /** * <b>summary</b> : * <p>查询房间被控设备包含设备状态</p> * * @param request QueryRoomControlDevicesAndStatusRequest * @return QueryRoomControlDevicesAndStatusResponse */ public QueryRoomControlDevicesAndStatusResponse queryRoomControlDevicesAndStatus(QueryRoomControlDevicesAndStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); QueryRoomControlDevicesAndStatusHeaders headers = new QueryRoomControlDevicesAndStatusHeaders(); return this.queryRoomControlDevicesAndStatusWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询房态信息</p> * * @param request QueryRoomStatusRequest * @param headers QueryRoomStatusHeaders * @param runtime runtime options for this request RuntimeOptions * @return QueryRoomStatusResponse */ public QueryRoomStatusResponse queryRoomStatusWithOptions(QueryRoomStatusRequest request, QueryRoomStatusHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "QueryRoomStatus"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/queryRoomStatus"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new QueryRoomStatusResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new QueryRoomStatusResponse()); } } /** * <b>summary</b> : * <p>查询房态信息</p> * * @param request QueryRoomStatusRequest * @return QueryRoomStatusResponse */ public QueryRoomStatusResponse queryRoomStatus(QueryRoomStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); QueryRoomStatusHeaders headers = new QueryRoomStatusHeaders(); return this.queryRoomStatusWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>查询酒店场景列表</p> * * @param tmpReq QuerySceneListRequest * @param headers QuerySceneListHeaders * @param runtime runtime options for this request RuntimeOptions * @return QuerySceneListResponse */ public QuerySceneListResponse querySceneListWithOptions(QuerySceneListRequest tmpReq, QuerySceneListHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); QuerySceneListShrinkRequest request = new QuerySceneListShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.sceneStates)) { request.sceneStatesShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.sceneStates, "SceneStates", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.sceneTypes)) { request.sceneTypesShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.sceneTypes, "SceneTypes", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.templateInfoIds)) { request.templateInfoIdsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.templateInfoIds, "TemplateInfoIds", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.sceneStatesShrink)) { body.put("SceneStates", request.sceneStatesShrink); } if (!com.aliyun.teautil.Common.isUnset(request.sceneTypesShrink)) { body.put("SceneTypes", request.sceneTypesShrink); } if (!com.aliyun.teautil.Common.isUnset(request.templateInfoIdsShrink)) { body.put("TemplateInfoIds", request.templateInfoIdsShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "QuerySceneList"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/querySceneList"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new QuerySceneListResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new QuerySceneListResponse()); } } /** * <b>summary</b> : * <p>查询酒店场景列表</p> * * @param request QuerySceneListRequest * @return QuerySceneListResponse */ public QuerySceneListResponse querySceneList(QuerySceneListRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); QuerySceneListHeaders headers = new QuerySceneListHeaders(); return this.querySceneListWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>删除子账号授权</p> * * @param request RemoveChildAccountAuthRequest * @param headers RemoveChildAccountAuthHeaders * @param runtime runtime options for this request RuntimeOptions * @return RemoveChildAccountAuthResponse */ public RemoveChildAccountAuthResponse removeChildAccountAuthWithOptions(RemoveChildAccountAuthRequest request, RemoveChildAccountAuthHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.appKey)) { body.put("AppKey", request.appKey); } if (!com.aliyun.teautil.Common.isUnset(request.childAccountName)) { body.put("ChildAccountName", request.childAccountName); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.tbOpenId)) { body.put("TbOpenId", request.tbOpenId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "RemoveChildAccountAuth"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/removeChildAccountAuth"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new RemoveChildAccountAuthResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new RemoveChildAccountAuthResponse()); } } /** * <b>summary</b> : * <p>删除子账号授权</p> * * @param request RemoveChildAccountAuthRequest * @return RemoveChildAccountAuthResponse */ public RemoveChildAccountAuthResponse removeChildAccountAuth(RemoveChildAccountAuthRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); RemoveChildAccountAuthHeaders headers = new RemoveChildAccountAuthHeaders(); return this.removeChildAccountAuthWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>删除酒店项目</p> * * @param request RemoveHotelRequest * @param headers RemoveHotelHeaders * @param runtime runtime options for this request RuntimeOptions * @return RemoveHotelResponse */ public RemoveHotelResponse removeHotelWithOptions(RemoveHotelRequest request, RemoveHotelHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.appKey)) { body.put("AppKey", request.appKey); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.tbOpenId)) { body.put("TbOpenId", request.tbOpenId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "RemoveHotel"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/removeHotel"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new RemoveHotelResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new RemoveHotelResponse()); } } /** * <b>summary</b> : * <p>删除酒店项目</p> * * @param request RemoveHotelRequest * @return RemoveHotelResponse */ public RemoveHotelResponse removeHotel(RemoveHotelRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); RemoveHotelHeaders headers = new RemoveHotelHeaders(); return this.removeHotelWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>重置欢迎语信息</p> * * @param request ResetWelcomeTextAndMusicRequest * @param headers ResetWelcomeTextAndMusicHeaders * @param runtime runtime options for this request RuntimeOptions * @return ResetWelcomeTextAndMusicResponse */ public ResetWelcomeTextAndMusicResponse resetWelcomeTextAndMusicWithOptions(ResetWelcomeTextAndMusicRequest request, ResetWelcomeTextAndMusicHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ResetWelcomeTextAndMusic"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/resetWelcomeTextAndMusic"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new ResetWelcomeTextAndMusicResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new ResetWelcomeTextAndMusicResponse()); } } /** * <b>summary</b> : * <p>重置欢迎语信息</p> * * @param request ResetWelcomeTextAndMusicRequest * @return ResetWelcomeTextAndMusicResponse */ public ResetWelcomeTextAndMusicResponse resetWelcomeTextAndMusic(ResetWelcomeTextAndMusicRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); ResetWelcomeTextAndMusicHeaders headers = new ResetWelcomeTextAndMusicHeaders(); return this.resetWelcomeTextAndMusicWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>退房</p> * * @param tmpReq RoomCheckOutRequest * @param headers RoomCheckOutHeaders * @param runtime runtime options for this request RuntimeOptions * @return RoomCheckOutResponse */ public RoomCheckOutResponse roomCheckOutWithOptions(RoomCheckOutRequest tmpReq, RoomCheckOutHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); RoomCheckOutShrinkRequest request = new RoomCheckOutShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) { request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) { query.put("DeviceInfo", request.deviceInfoShrink); } if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "RoomCheckOut"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/roomCheckOut"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new RoomCheckOutResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new RoomCheckOutResponse()); } } /** * <b>summary</b> : * <p>退房</p> * * @param request RoomCheckOutRequest * @return RoomCheckOutResponse */ public RoomCheckOutResponse roomCheckOut(RoomCheckOutRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); RoomCheckOutHeaders headers = new RoomCheckOutHeaders(); return this.roomCheckOutWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>提交酒店订单</p> * * @param tmpReq SubmitHotelOrderRequest * @param headers SubmitHotelOrderHeaders * @param runtime runtime options for this request RuntimeOptions * @return SubmitHotelOrderResponse */ public SubmitHotelOrderResponse submitHotelOrderWithOptions(SubmitHotelOrderRequest tmpReq, SubmitHotelOrderHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); SubmitHotelOrderShrinkRequest request = new SubmitHotelOrderShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.payload)) { request.payloadShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.userInfo)) { request.userInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.payloadShrink)) { query.put("Payload", request.payloadShrink); } if (!com.aliyun.teautil.Common.isUnset(request.userInfoShrink)) { query.put("UserInfo", request.userInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SubmitHotelOrder"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/submitHotelOrder"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new SubmitHotelOrderResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new SubmitHotelOrderResponse()); } } /** * <b>summary</b> : * <p>提交酒店订单</p> * * @param request SubmitHotelOrderRequest * @return SubmitHotelOrderResponse */ public SubmitHotelOrderResponse submitHotelOrder(SubmitHotelOrderRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); SubmitHotelOrderHeaders headers = new SubmitHotelOrderHeaders(); return this.submitHotelOrderWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>同步客控设备状态到主控设备</p> * * @param request SyncDeviceStatusWithAkRequest * @param headers SyncDeviceStatusWithAkHeaders * @param runtime runtime options for this request RuntimeOptions * @return SyncDeviceStatusWithAkResponse */ public SyncDeviceStatusWithAkResponse syncDeviceStatusWithAkWithOptions(SyncDeviceStatusWithAkRequest request, SyncDeviceStatusWithAkHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.categoryCnName)) { body.put("CategoryCnName", request.categoryCnName); } if (!com.aliyun.teautil.Common.isUnset(request.categoryEnName)) { body.put("CategoryEnName", request.categoryEnName); } if (!com.aliyun.teautil.Common.isUnset(request.deviceName)) { body.put("DeviceName", request.deviceName); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.location)) { body.put("Location", request.location); } if (!com.aliyun.teautil.Common.isUnset(request.locationCnName)) { body.put("LocationCnName", request.locationCnName); } if (!com.aliyun.teautil.Common.isUnset(request.number)) { body.put("Number", request.number); } if (!com.aliyun.teautil.Common.isUnset(request.roomNo)) { body.put("RoomNo", request.roomNo); } if (!com.aliyun.teautil.Common.isUnset(request._switch)) { body.put("Switch", request._switch); } if (!com.aliyun.teautil.Common.isUnset(request.fanSpeed)) { body.put("fanSpeed", request.fanSpeed); } if (!com.aliyun.teautil.Common.isUnset(request.mode)) { body.put("mode", request.mode); } if (!com.aliyun.teautil.Common.isUnset(request.roomTemperature)) { body.put("roomTemperature", request.roomTemperature); } if (!com.aliyun.teautil.Common.isUnset(request.temperature)) { body.put("temperature", request.temperature); } if (!com.aliyun.teautil.Common.isUnset(request.value)) { body.put("value", request.value); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SyncDeviceStatusWithAk"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/syncDeviceStatusWithAk"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new SyncDeviceStatusWithAkResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new SyncDeviceStatusWithAkResponse()); } } /** * <b>summary</b> : * <p>同步客控设备状态到主控设备</p> * * @param request SyncDeviceStatusWithAkRequest * @return SyncDeviceStatusWithAkResponse */ public SyncDeviceStatusWithAkResponse syncDeviceStatusWithAk(SyncDeviceStatusWithAkRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); SyncDeviceStatusWithAkHeaders headers = new SyncDeviceStatusWithAkHeaders(); return this.syncDeviceStatusWithAkWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>修改基础信息问答</p> * * @param request UpdateBasicInfoQARequest * @param headers UpdateBasicInfoQAHeaders * @param runtime runtime options for this request RuntimeOptions * @return UpdateBasicInfoQAResponse */ public UpdateBasicInfoQAResponse updateBasicInfoQAWithOptions(UpdateBasicInfoQARequest request, UpdateBasicInfoQAHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.checkInTime)) { body.put("CheckInTime", request.checkInTime); } if (!com.aliyun.teautil.Common.isUnset(request.checkOutTime)) { body.put("CheckOutTime", request.checkOutTime); } if (!com.aliyun.teautil.Common.isUnset(request.hotelAddress)) { body.put("HotelAddress", request.hotelAddress); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.hotelIntroduction)) { body.put("HotelIntroduction", request.hotelIntroduction); } if (!com.aliyun.teautil.Common.isUnset(request.hotelMember)) { body.put("HotelMember", request.hotelMember); } if (!com.aliyun.teautil.Common.isUnset(request.hotelService)) { body.put("HotelService", request.hotelService); } if (!com.aliyun.teautil.Common.isUnset(request.parkingExpenses)) { body.put("ParkingExpenses", request.parkingExpenses); } if (!com.aliyun.teautil.Common.isUnset(request.parkingPosition)) { body.put("ParkingPosition", request.parkingPosition); } if (!com.aliyun.teautil.Common.isUnset(request.phoneNumber)) { body.put("PhoneNumber", request.phoneNumber); } if (!com.aliyun.teautil.Common.isUnset(request.wifiName)) { body.put("WifiName", request.wifiName); } if (!com.aliyun.teautil.Common.isUnset(request.wifiPassword)) { body.put("WifiPassword", request.wifiPassword); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateBasicInfoQA"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/updateBasicInfoQA"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateBasicInfoQAResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new UpdateBasicInfoQAResponse()); } } /** * <b>summary</b> : * <p>修改基础信息问答</p> * * @param request UpdateBasicInfoQARequest * @return UpdateBasicInfoQAResponse */ public UpdateBasicInfoQAResponse updateBasicInfoQA(UpdateBasicInfoQARequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); UpdateBasicInfoQAHeaders headers = new UpdateBasicInfoQAHeaders(); return this.updateBasicInfoQAWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>修改自定义问答</p> * * @param tmpReq UpdateCustomQARequest * @param headers UpdateCustomQAHeaders * @param runtime runtime options for this request RuntimeOptions * @return UpdateCustomQAResponse */ public UpdateCustomQAResponse updateCustomQAWithOptions(UpdateCustomQARequest tmpReq, UpdateCustomQAHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpdateCustomQAShrinkRequest request = new UpdateCustomQAShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.answers)) { request.answersShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.answers, "Answers", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.keyWords)) { request.keyWordsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.keyWords, "KeyWords", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.supplementaryQuestions)) { request.supplementaryQuestionsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.supplementaryQuestions, "SupplementaryQuestions", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.answersShrink)) { body.put("Answers", request.answersShrink); } if (!com.aliyun.teautil.Common.isUnset(request.customQAId)) { body.put("CustomQAId", request.customQAId); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.keyWordsShrink)) { body.put("KeyWords", request.keyWordsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.majorQuestion)) { body.put("MajorQuestion", request.majorQuestion); } if (!com.aliyun.teautil.Common.isUnset(request.supplementaryQuestionsShrink)) { body.put("SupplementaryQuestions", request.supplementaryQuestionsShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCustomQA"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/updateCustomQA"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCustomQAResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new UpdateCustomQAResponse()); } } /** * <b>summary</b> : * <p>修改自定义问答</p> * * @param request UpdateCustomQARequest * @return UpdateCustomQAResponse */ public UpdateCustomQAResponse updateCustomQA(UpdateCustomQARequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); UpdateCustomQAHeaders headers = new UpdateCustomQAHeaders(); return this.updateCustomQAWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>修改酒店项目</p> * * @param tmpReq UpdateHotelRequest * @param headers UpdateHotelHeaders * @param runtime runtime options for this request RuntimeOptions * @return UpdateHotelResponse */ public UpdateHotelResponse updateHotelWithOptions(UpdateHotelRequest tmpReq, UpdateHotelHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpdateHotelShrinkRequest request = new UpdateHotelShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.relatedPks)) { request.relatedPksShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.relatedPks, "RelatedPks", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.appKey)) { body.put("AppKey", request.appKey); } if (!com.aliyun.teautil.Common.isUnset(request.estOpenTime)) { body.put("EstOpenTime", request.estOpenTime); } if (!com.aliyun.teautil.Common.isUnset(request.hotelAddress)) { body.put("HotelAddress", request.hotelAddress); } if (!com.aliyun.teautil.Common.isUnset(request.hotelEmail)) { body.put("HotelEmail", request.hotelEmail); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.hotelName)) { body.put("HotelName", request.hotelName); } if (!com.aliyun.teautil.Common.isUnset(request.phoneNumber)) { body.put("PhoneNumber", request.phoneNumber); } if (!com.aliyun.teautil.Common.isUnset(request.relatedPksShrink)) { body.put("RelatedPks", request.relatedPksShrink); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { body.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.roomNum)) { body.put("RoomNum", request.roomNum); } if (!com.aliyun.teautil.Common.isUnset(request.tbOpenId)) { body.put("TbOpenId", request.tbOpenId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateHotel"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/updateHotel"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateHotelResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new UpdateHotelResponse()); } } /** * <b>summary</b> : * <p>修改酒店项目</p> * * @param request UpdateHotelRequest * @return UpdateHotelResponse */ public UpdateHotelResponse updateHotel(UpdateHotelRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); UpdateHotelHeaders headers = new UpdateHotelHeaders(); return this.updateHotelWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>修改酒店闹钟</p> * * @param tmpReq UpdateHotelAlarmRequest * @param headers UpdateHotelAlarmHeaders * @param runtime runtime options for this request RuntimeOptions * @return UpdateHotelAlarmResponse */ public UpdateHotelAlarmResponse updateHotelAlarmWithOptions(UpdateHotelAlarmRequest tmpReq, UpdateHotelAlarmHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpdateHotelAlarmShrinkRequest request = new UpdateHotelAlarmShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.alarms)) { request.alarmsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.alarms, "Alarms", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.scheduleInfo)) { request.scheduleInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.scheduleInfo, "ScheduleInfo", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.alarmsShrink)) { body.put("Alarms", request.alarmsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.scheduleInfoShrink)) { body.put("ScheduleInfo", request.scheduleInfoShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateHotelAlarm"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/updateHotelAlarm"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateHotelAlarmResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new UpdateHotelAlarmResponse()); } } /** * <b>summary</b> : * <p>修改酒店闹钟</p> * * @param request UpdateHotelAlarmRequest * @return UpdateHotelAlarmResponse */ public UpdateHotelAlarmResponse updateHotelAlarm(UpdateHotelAlarmRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); UpdateHotelAlarmHeaders headers = new UpdateHotelAlarmHeaders(); return this.updateHotelAlarmWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店场景预订编辑</p> * * @param tmpReq UpdateHotelSceneBookItemRequest * @param headers UpdateHotelSceneBookItemHeaders * @param runtime runtime options for this request RuntimeOptions * @return UpdateHotelSceneBookItemResponse */ public UpdateHotelSceneBookItemResponse updateHotelSceneBookItemWithOptions(UpdateHotelSceneBookItemRequest tmpReq, UpdateHotelSceneBookItemHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpdateHotelSceneBookItemShrinkRequest request = new UpdateHotelSceneBookItemShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.updateHotelSceneBookReq)) { request.updateHotelSceneBookReqShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.updateHotelSceneBookReq, "UpdateHotelSceneBookReq", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.updateHotelSceneBookReqShrink)) { query.put("UpdateHotelSceneBookReq", request.updateHotelSceneBookReqShrink); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateHotelSceneBookItem"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/updateHotelSceneBookItem"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateHotelSceneBookItemResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new UpdateHotelSceneBookItemResponse()); } } /** * <b>summary</b> : * <p>酒店场景预订编辑</p> * * @param request UpdateHotelSceneBookItemRequest * @return UpdateHotelSceneBookItemResponse */ public UpdateHotelSceneBookItemResponse updateHotelSceneBookItem(UpdateHotelSceneBookItemRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); UpdateHotelSceneBookItemHeaders headers = new UpdateHotelSceneBookItemHeaders(); return this.updateHotelSceneBookItemWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>酒店场景修改(开启/关闭/编辑)</p> * * @param tmpReq UpdateHotelSceneItemRequest * @param headers UpdateHotelSceneItemHeaders * @param runtime runtime options for this request RuntimeOptions * @return UpdateHotelSceneItemResponse */ public UpdateHotelSceneItemResponse updateHotelSceneItemWithOptions(UpdateHotelSceneItemRequest tmpReq, UpdateHotelSceneItemHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpdateHotelSceneItemShrinkRequest request = new UpdateHotelSceneItemShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.updateHotelSceneOperateReq)) { request.updateHotelSceneOperateReqShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.updateHotelSceneOperateReq, "UpdateHotelSceneOperateReq", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.updateHotelSceneReq)) { request.updateHotelSceneReqShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.updateHotelSceneReq, "UpdateHotelSceneReq", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.updateHotelSceneOperateReqShrink)) { query.put("UpdateHotelSceneOperateReq", request.updateHotelSceneOperateReqShrink); } if (!com.aliyun.teautil.Common.isUnset(request.updateHotelSceneReqShrink)) { query.put("UpdateHotelSceneReq", request.updateHotelSceneReqShrink); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateHotelSceneItem"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/updateHotelSceneItem"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateHotelSceneItemResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new UpdateHotelSceneItemResponse()); } } /** * <b>summary</b> : * <p>酒店场景修改(开启/关闭/编辑)</p> * * @param request UpdateHotelSceneItemRequest * @return UpdateHotelSceneItemResponse */ public UpdateHotelSceneItemResponse updateHotelSceneItem(UpdateHotelSceneItemRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); UpdateHotelSceneItemHeaders headers = new UpdateHotelSceneItemHeaders(); return this.updateHotelSceneItemWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>更新消息通知模板</p> * * @param request UpdateMessageTemplateRequest * @param headers UpdateMessageTemplateHeaders * @param runtime runtime options for this request RuntimeOptions * @return UpdateMessageTemplateResponse */ public UpdateMessageTemplateResponse updateMessageTemplateWithOptions(UpdateMessageTemplateRequest request, UpdateMessageTemplateHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.templateDetail)) { body.put("TemplateDetail", request.templateDetail); } if (!com.aliyun.teautil.Common.isUnset(request.templateId)) { body.put("TemplateId", request.templateId); } if (!com.aliyun.teautil.Common.isUnset(request.templateName)) { body.put("TemplateName", request.templateName); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateMessageTemplate"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/updateMessageTemplate"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateMessageTemplateResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new UpdateMessageTemplateResponse()); } } /** * <b>summary</b> : * <p>更新消息通知模板</p> * * @param request UpdateMessageTemplateRequest * @return UpdateMessageTemplateResponse */ public UpdateMessageTemplateResponse updateMessageTemplate(UpdateMessageTemplateRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); UpdateMessageTemplateHeaders headers = new UpdateMessageTemplateHeaders(); return this.updateMessageTemplateWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>修改酒店自定义rcu场景</p> * * @param tmpReq UpdateRcuSceneRequest * @param headers UpdateRcuSceneHeaders * @param runtime runtime options for this request RuntimeOptions * @return UpdateRcuSceneResponse */ public UpdateRcuSceneResponse updateRcuSceneWithOptions(UpdateRcuSceneRequest tmpReq, UpdateRcuSceneHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpdateRcuSceneShrinkRequest request = new UpdateRcuSceneShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.sceneRelationExtDTO)) { request.sceneRelationExtDTOShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.sceneRelationExtDTO, "SceneRelationExtDTO", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.sceneId)) { body.put("SceneId", request.sceneId); } if (!com.aliyun.teautil.Common.isUnset(request.sceneRelationExtDTOShrink)) { body.put("SceneRelationExtDTO", request.sceneRelationExtDTOShrink); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateRcuScene"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/updateRcuScene"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateRcuSceneResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new UpdateRcuSceneResponse()); } } /** * <b>summary</b> : * <p>修改酒店自定义rcu场景</p> * * @param request UpdateRcuSceneRequest * @return UpdateRcuSceneResponse */ public UpdateRcuSceneResponse updateRcuScene(UpdateRcuSceneRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); UpdateRcuSceneHeaders headers = new UpdateRcuSceneHeaders(); return this.updateRcuSceneWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>修改服务设施问答</p> * * @param request UpdateServiceQARequest * @param headers UpdateServiceQAHeaders * @param runtime runtime options for this request RuntimeOptions * @return UpdateServiceQAResponse */ public UpdateServiceQAResponse updateServiceQAWithOptions(UpdateServiceQARequest request, UpdateServiceQAHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.answer)) { body.put("Answer", request.answer); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.serviceQAId)) { body.put("ServiceQAId", request.serviceQAId); } if (!com.aliyun.teautil.Common.isUnset(request.isActive)) { body.put("isActive", request.isActive); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateServiceQA"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/updateServiceQA"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateServiceQAResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new UpdateServiceQAResponse()); } } /** * <b>summary</b> : * <p>修改服务设施问答</p> * * @param request UpdateServiceQARequest * @return UpdateServiceQAResponse */ public UpdateServiceQAResponse updateServiceQA(UpdateServiceQARequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); UpdateServiceQAHeaders headers = new UpdateServiceQAHeaders(); return this.updateServiceQAWithOptions(request, headers, runtime); } /** * <b>summary</b> : * <p>修改工单</p> * * @param request UpdateTicketRequest * @param headers UpdateTicketHeaders * @param runtime runtime options for this request RuntimeOptions * @return UpdateTicketResponse */ public UpdateTicketResponse updateTicketWithOptions(UpdateTicketRequest request, UpdateTicketHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.groupKey)) { body.put("GroupKey", request.groupKey); } if (!com.aliyun.teautil.Common.isUnset(request.hotelId)) { body.put("HotelId", request.hotelId); } if (!com.aliyun.teautil.Common.isUnset(request.status)) { body.put("Status", request.status); } java.util.Map<String, String> realHeaders = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(headers.commonHeaders)) { realHeaders = headers.commonHeaders; } if (!com.aliyun.teautil.Common.isUnset(headers.xAcsAligenieAccessToken)) { realHeaders.put("x-acs-aligenie-access-token", com.aliyun.teautil.Common.toJSONString(headers.xAcsAligenieAccessToken)); } if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) { realHeaders.put("Authorization", com.aliyun.teautil.Common.toJSONString(headers.authorization)); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", realHeaders), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateTicket"), new TeaPair("version", "ip_1.0"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/v1.0/ip/updateTicket"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); if (com.aliyun.teautil.Common.isUnset(_signatureVersion) || !com.aliyun.teautil.Common.equalString(_signatureVersion, "v4")) { return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateTicketResponse()); } else { return TeaModel.toModel(this.execute(params, req, runtime), new UpdateTicketResponse()); } } /** * <b>summary</b> : * <p>修改工单</p> * * @param request UpdateTicketRequest * @return UpdateTicketResponse */ public UpdateTicketResponse updateTicket(UpdateTicketRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); UpdateTicketHeaders headers = new UpdateTicketHeaders(); return this.updateTicketWithOptions(request, headers, runtime); } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCartoonHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCartoonHeaders 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 AddCartoonHeaders build(java.util.Map<String, ?> map) throws Exception { AddCartoonHeaders self = new AddCartoonHeaders(); return TeaModel.build(map, self); } public AddCartoonHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public AddCartoonHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public AddCartoonHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCartoonRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCartoonRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>520a0***eb</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>40c804***697</p> */ @NameInMap("StartVideoMd5") public String startVideoMd5; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>https://***.mp4</p> */ @NameInMap("StartVideoUrl") public String startVideoUrl; public static AddCartoonRequest build(java.util.Map<String, ?> map) throws Exception { AddCartoonRequest self = new AddCartoonRequest(); return TeaModel.build(map, self); } public AddCartoonRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public AddCartoonRequest setStartVideoMd5(String startVideoMd5) { this.startVideoMd5 = startVideoMd5; return this; } public String getStartVideoMd5() { return this.startVideoMd5; } public AddCartoonRequest setStartVideoUrl(String startVideoUrl) { this.startVideoUrl = startVideoUrl; return this; } public String getStartVideoUrl() { return this.startVideoUrl; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCartoonResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCartoonResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddCartoonResponseBody body; public static AddCartoonResponse build(java.util.Map<String, ?> map) throws Exception { AddCartoonResponse self = new AddCartoonResponse(); return TeaModel.build(map, self); } public AddCartoonResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddCartoonResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddCartoonResponse setBody(AddCartoonResponseBody body) { this.body = body; return this; } public AddCartoonResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCartoonResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCartoonResponseBody extends TeaModel { /** * <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; /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("StatusCode") public Integer statusCode; public static AddCartoonResponseBody build(java.util.Map<String, ?> map) throws Exception { AddCartoonResponseBody self = new AddCartoonResponseBody(); return TeaModel.build(map, self); } public AddCartoonResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public AddCartoonResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public AddCartoonResponseBody setResult(Boolean result) { this.result = result; return this; } public Boolean getResult() { return this.result; } public AddCartoonResponseBody setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCustomQAHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCustomQAHeaders 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 AddCustomQAHeaders build(java.util.Map<String, ?> map) throws Exception { AddCustomQAHeaders self = new AddCustomQAHeaders(); return TeaModel.build(map, self); } public AddCustomQAHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public AddCustomQAHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public AddCustomQAHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCustomQARequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCustomQARequest extends TeaModel { @NameInMap("Answers") public java.util.List<String> answers; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>a7a3***013</p> */ @NameInMap("HotelId") public String hotelId; @NameInMap("KeyWords") public java.util.List<String> keyWords; /** * <strong>example:</strong> * <hr> */ @NameInMap("MajorQuestion") public String majorQuestion; @NameInMap("SupplementaryQuestions") public java.util.List<String> supplementaryQuestions; public static AddCustomQARequest build(java.util.Map<String, ?> map) throws Exception { AddCustomQARequest self = new AddCustomQARequest(); return TeaModel.build(map, self); } public AddCustomQARequest setAnswers(java.util.List<String> answers) { this.answers = answers; return this; } public java.util.List<String> getAnswers() { return this.answers; } public AddCustomQARequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public AddCustomQARequest setKeyWords(java.util.List<String> keyWords) { this.keyWords = keyWords; return this; } public java.util.List<String> getKeyWords() { return this.keyWords; } public AddCustomQARequest setMajorQuestion(String majorQuestion) { this.majorQuestion = majorQuestion; return this; } public String getMajorQuestion() { return this.majorQuestion; } public AddCustomQARequest setSupplementaryQuestions(java.util.List<String> supplementaryQuestions) { this.supplementaryQuestions = supplementaryQuestions; return this; } public java.util.List<String> getSupplementaryQuestions() { return this.supplementaryQuestions; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCustomQAResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCustomQAResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddCustomQAResponseBody body; public static AddCustomQAResponse build(java.util.Map<String, ?> map) throws Exception { AddCustomQAResponse self = new AddCustomQAResponse(); return TeaModel.build(map, self); } public AddCustomQAResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddCustomQAResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddCustomQAResponse setBody(AddCustomQAResponseBody body) { this.body = body; return this; } public AddCustomQAResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCustomQAResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCustomQAResponseBody extends TeaModel { /** * <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; /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("StatusCode") public Integer statusCode; public static AddCustomQAResponseBody build(java.util.Map<String, ?> map) throws Exception { AddCustomQAResponseBody self = new AddCustomQAResponseBody(); return TeaModel.build(map, self); } public AddCustomQAResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public AddCustomQAResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public AddCustomQAResponseBody setResult(Boolean result) { this.result = result; return this; } public Boolean getResult() { return this.result; } public AddCustomQAResponseBody setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCustomQAShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCustomQAShrinkRequest extends TeaModel { @NameInMap("Answers") public String answersShrink; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>a7a3***013</p> */ @NameInMap("HotelId") public String hotelId; @NameInMap("KeyWords") public String keyWordsShrink; /** * <strong>example:</strong> * <hr> */ @NameInMap("MajorQuestion") public String majorQuestion; @NameInMap("SupplementaryQuestions") public String supplementaryQuestionsShrink; public static AddCustomQAShrinkRequest build(java.util.Map<String, ?> map) throws Exception { AddCustomQAShrinkRequest self = new AddCustomQAShrinkRequest(); return TeaModel.build(map, self); } public AddCustomQAShrinkRequest setAnswersShrink(String answersShrink) { this.answersShrink = answersShrink; return this; } public String getAnswersShrink() { return this.answersShrink; } public AddCustomQAShrinkRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public AddCustomQAShrinkRequest setKeyWordsShrink(String keyWordsShrink) { this.keyWordsShrink = keyWordsShrink; return this; } public String getKeyWordsShrink() { return this.keyWordsShrink; } public AddCustomQAShrinkRequest setMajorQuestion(String majorQuestion) { this.majorQuestion = majorQuestion; return this; } public String getMajorQuestion() { return this.majorQuestion; } public AddCustomQAShrinkRequest setSupplementaryQuestionsShrink(String supplementaryQuestionsShrink) { this.supplementaryQuestionsShrink = supplementaryQuestionsShrink; return this; } public String getSupplementaryQuestionsShrink() { return this.supplementaryQuestionsShrink; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCustomQAV2Headers.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCustomQAV2Headers 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 AddCustomQAV2Headers build(java.util.Map<String, ?> map) throws Exception { AddCustomQAV2Headers self = new AddCustomQAV2Headers(); return TeaModel.build(map, self); } public AddCustomQAV2Headers setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public AddCustomQAV2Headers setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public AddCustomQAV2Headers setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCustomQAV2Request.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCustomQAV2Request extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("Answers") public java.util.List<String> answers; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>520a0c0***5eb</p> */ @NameInMap("HotelId") public String hotelId; @NameInMap("KeyWords") public java.util.List<String> keyWords; @NameInMap("MajorQuestion") public String majorQuestion; @NameInMap("SupplementaryQuestions") public java.util.List<String> supplementaryQuestions; public static AddCustomQAV2Request build(java.util.Map<String, ?> map) throws Exception { AddCustomQAV2Request self = new AddCustomQAV2Request(); return TeaModel.build(map, self); } public AddCustomQAV2Request setAnswers(java.util.List<String> answers) { this.answers = answers; return this; } public java.util.List<String> getAnswers() { return this.answers; } public AddCustomQAV2Request setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public AddCustomQAV2Request setKeyWords(java.util.List<String> keyWords) { this.keyWords = keyWords; return this; } public java.util.List<String> getKeyWords() { return this.keyWords; } public AddCustomQAV2Request setMajorQuestion(String majorQuestion) { this.majorQuestion = majorQuestion; return this; } public String getMajorQuestion() { return this.majorQuestion; } public AddCustomQAV2Request setSupplementaryQuestions(java.util.List<String> supplementaryQuestions) { this.supplementaryQuestions = supplementaryQuestions; return this; } public java.util.List<String> getSupplementaryQuestions() { return this.supplementaryQuestions; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCustomQAV2Response.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCustomQAV2Response extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddCustomQAV2ResponseBody body; public static AddCustomQAV2Response build(java.util.Map<String, ?> map) throws Exception { AddCustomQAV2Response self = new AddCustomQAV2Response(); return TeaModel.build(map, self); } public AddCustomQAV2Response setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddCustomQAV2Response setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddCustomQAV2Response setBody(AddCustomQAV2ResponseBody body) { this.body = body; return this; } public AddCustomQAV2ResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCustomQAV2ResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCustomQAV2ResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>FAFCD152-4791-5F2F-B0BE-2DC06FD4F05B</p> */ @NameInMap("RequestId") public String requestId; @NameInMap("Result") public AddCustomQAV2ResponseBodyResult result; /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("StatusCode") public Integer statusCode; public static AddCustomQAV2ResponseBody build(java.util.Map<String, ?> map) throws Exception { AddCustomQAV2ResponseBody self = new AddCustomQAV2ResponseBody(); return TeaModel.build(map, self); } public AddCustomQAV2ResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public AddCustomQAV2ResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public AddCustomQAV2ResponseBody setResult(AddCustomQAV2ResponseBodyResult result) { this.result = result; return this; } public AddCustomQAV2ResponseBodyResult getResult() { return this.result; } public AddCustomQAV2ResponseBody setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public static class AddCustomQAV2ResponseBodyResult extends TeaModel { @NameInMap("Answers") public String answers; /** * <strong>example:</strong> * <p>2023-01-10 10:01:59</p> */ @NameInMap("CreateTime") public String createTime; /** * <strong>example:</strong> * <p>a7***83</p> */ @NameInMap("HotelId") public String hotelId; @NameInMap("KeyWords") public String keyWords; /** * <strong>example:</strong> * <p>8xxx9</p> */ @NameInMap("LastOperator") public String lastOperator; @NameInMap("MajorQuestion") public String majorQuestion; /** * <p>qaID</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("QaId") public String qaId; /** * <strong>example:</strong> * <p>0</p> */ @NameInMap("Status") public Integer status; @NameInMap("SupplementaryQuestion") public String supplementaryQuestion; /** * <strong>example:</strong> * <p>2023-01-10 10:01:59</p> */ @NameInMap("UpdateTime") public String updateTime; public static AddCustomQAV2ResponseBodyResult build(java.util.Map<String, ?> map) throws Exception { AddCustomQAV2ResponseBodyResult self = new AddCustomQAV2ResponseBodyResult(); return TeaModel.build(map, self); } public AddCustomQAV2ResponseBodyResult setAnswers(String answers) { this.answers = answers; return this; } public String getAnswers() { return this.answers; } public AddCustomQAV2ResponseBodyResult setCreateTime(String createTime) { this.createTime = createTime; return this; } public String getCreateTime() { return this.createTime; } public AddCustomQAV2ResponseBodyResult setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public AddCustomQAV2ResponseBodyResult setKeyWords(String keyWords) { this.keyWords = keyWords; return this; } public String getKeyWords() { return this.keyWords; } public AddCustomQAV2ResponseBodyResult setLastOperator(String lastOperator) { this.lastOperator = lastOperator; return this; } public String getLastOperator() { return this.lastOperator; } public AddCustomQAV2ResponseBodyResult setMajorQuestion(String majorQuestion) { this.majorQuestion = majorQuestion; return this; } public String getMajorQuestion() { return this.majorQuestion; } public AddCustomQAV2ResponseBodyResult setQaId(String qaId) { this.qaId = qaId; return this; } public String getQaId() { return this.qaId; } public AddCustomQAV2ResponseBodyResult setStatus(Integer status) { this.status = status; return this; } public Integer getStatus() { return this.status; } public AddCustomQAV2ResponseBodyResult setSupplementaryQuestion(String supplementaryQuestion) { this.supplementaryQuestion = supplementaryQuestion; return this; } public String getSupplementaryQuestion() { return this.supplementaryQuestion; } public AddCustomQAV2ResponseBodyResult setUpdateTime(String updateTime) { this.updateTime = updateTime; return this; } public String getUpdateTime() { return this.updateTime; } } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddCustomQAV2ShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddCustomQAV2ShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("Answers") public String answersShrink; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>520a0c0***5eb</p> */ @NameInMap("HotelId") public String hotelId; @NameInMap("KeyWords") public String keyWordsShrink; @NameInMap("MajorQuestion") public String majorQuestion; @NameInMap("SupplementaryQuestions") public String supplementaryQuestionsShrink; public static AddCustomQAV2ShrinkRequest build(java.util.Map<String, ?> map) throws Exception { AddCustomQAV2ShrinkRequest self = new AddCustomQAV2ShrinkRequest(); return TeaModel.build(map, self); } public AddCustomQAV2ShrinkRequest setAnswersShrink(String answersShrink) { this.answersShrink = answersShrink; return this; } public String getAnswersShrink() { return this.answersShrink; } public AddCustomQAV2ShrinkRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public AddCustomQAV2ShrinkRequest setKeyWordsShrink(String keyWordsShrink) { this.keyWordsShrink = keyWordsShrink; return this; } public String getKeyWordsShrink() { return this.keyWordsShrink; } public AddCustomQAV2ShrinkRequest setMajorQuestion(String majorQuestion) { this.majorQuestion = majorQuestion; return this; } public String getMajorQuestion() { return this.majorQuestion; } public AddCustomQAV2ShrinkRequest setSupplementaryQuestionsShrink(String supplementaryQuestionsShrink) { this.supplementaryQuestionsShrink = supplementaryQuestionsShrink; return this; } public String getSupplementaryQuestionsShrink() { return this.supplementaryQuestionsShrink; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddMessageTemplateHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddMessageTemplateHeaders 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 AddMessageTemplateHeaders build(java.util.Map<String, ?> map) throws Exception { AddMessageTemplateHeaders self = new AddMessageTemplateHeaders(); return TeaModel.build(map, self); } public AddMessageTemplateHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public AddMessageTemplateHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public AddMessageTemplateHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddMessageTemplateRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddMessageTemplateRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>这是${hotel}的一个测试模板</p> */ @NameInMap("TemplateDetail") public String templateDetail; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>测试模板</p> */ @NameInMap("TemplateName") public String templateName; public static AddMessageTemplateRequest build(java.util.Map<String, ?> map) throws Exception { AddMessageTemplateRequest self = new AddMessageTemplateRequest(); return TeaModel.build(map, self); } public AddMessageTemplateRequest setTemplateDetail(String templateDetail) { this.templateDetail = templateDetail; return this; } public String getTemplateDetail() { return this.templateDetail; } public AddMessageTemplateRequest setTemplateName(String templateName) { this.templateName = templateName; return this; } public String getTemplateName() { return this.templateName; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddMessageTemplateResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddMessageTemplateResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddMessageTemplateResponseBody body; public static AddMessageTemplateResponse build(java.util.Map<String, ?> map) throws Exception { AddMessageTemplateResponse self = new AddMessageTemplateResponse(); return TeaModel.build(map, self); } public AddMessageTemplateResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddMessageTemplateResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddMessageTemplateResponse setBody(AddMessageTemplateResponseBody body) { this.body = body; return this; } public AddMessageTemplateResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddMessageTemplateResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddMessageTemplateResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>11</p> */ @NameInMap("Result") public Long result; public static AddMessageTemplateResponseBody build(java.util.Map<String, ?> map) throws Exception { AddMessageTemplateResponseBody self = new AddMessageTemplateResponseBody(); return TeaModel.build(map, self); } public AddMessageTemplateResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public AddMessageTemplateResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public AddMessageTemplateResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public AddMessageTemplateResponseBody setResult(Long result) { this.result = result; return this; } public Long getResult() { return this.result; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateDisPlayModesHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateDisPlayModesHeaders 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 AddOrUpdateDisPlayModesHeaders build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateDisPlayModesHeaders self = new AddOrUpdateDisPlayModesHeaders(); return TeaModel.build(map, self); } public AddOrUpdateDisPlayModesHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public AddOrUpdateDisPlayModesHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public AddOrUpdateDisPlayModesHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateDisPlayModesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateDisPlayModesRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("HotelDeviceModeList") public java.util.List<String> hotelDeviceModeList; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>a7***83</p> */ @NameInMap("HotelId") public String hotelId; public static AddOrUpdateDisPlayModesRequest build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateDisPlayModesRequest self = new AddOrUpdateDisPlayModesRequest(); return TeaModel.build(map, self); } public AddOrUpdateDisPlayModesRequest setHotelDeviceModeList(java.util.List<String> hotelDeviceModeList) { this.hotelDeviceModeList = hotelDeviceModeList; return this; } public java.util.List<String> getHotelDeviceModeList() { return this.hotelDeviceModeList; } public AddOrUpdateDisPlayModesRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateDisPlayModesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateDisPlayModesResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddOrUpdateDisPlayModesResponseBody body; public static AddOrUpdateDisPlayModesResponse build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateDisPlayModesResponse self = new AddOrUpdateDisPlayModesResponse(); return TeaModel.build(map, self); } public AddOrUpdateDisPlayModesResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddOrUpdateDisPlayModesResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddOrUpdateDisPlayModesResponse setBody(AddOrUpdateDisPlayModesResponseBody body) { this.body = body; return this; } public AddOrUpdateDisPlayModesResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateDisPlayModesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateDisPlayModesResponseBody extends TeaModel { /** * <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; /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("StatusCode") public Integer statusCode; public static AddOrUpdateDisPlayModesResponseBody build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateDisPlayModesResponseBody self = new AddOrUpdateDisPlayModesResponseBody(); return TeaModel.build(map, self); } public AddOrUpdateDisPlayModesResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public AddOrUpdateDisPlayModesResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public AddOrUpdateDisPlayModesResponseBody setResult(Boolean result) { this.result = result; return this; } public Boolean getResult() { return this.result; } public AddOrUpdateDisPlayModesResponseBody setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateDisPlayModesShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateDisPlayModesShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("HotelDeviceModeList") public String hotelDeviceModeListShrink; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>a7***83</p> */ @NameInMap("HotelId") public String hotelId; public static AddOrUpdateDisPlayModesShrinkRequest build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateDisPlayModesShrinkRequest self = new AddOrUpdateDisPlayModesShrinkRequest(); return TeaModel.build(map, self); } public AddOrUpdateDisPlayModesShrinkRequest setHotelDeviceModeListShrink(String hotelDeviceModeListShrink) { this.hotelDeviceModeListShrink = hotelDeviceModeListShrink; return this; } public String getHotelDeviceModeListShrink() { return this.hotelDeviceModeListShrink; } public AddOrUpdateDisPlayModesShrinkRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateHotelSettingHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateHotelSettingHeaders 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 AddOrUpdateHotelSettingHeaders build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateHotelSettingHeaders self = new AddOrUpdateHotelSettingHeaders(); return TeaModel.build(map, self); } public AddOrUpdateHotelSettingHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public AddOrUpdateHotelSettingHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public AddOrUpdateHotelSettingHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateHotelSettingRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateHotelSettingRequest extends TeaModel { @NameInMap("HotelDeviceModeList") public java.util.List<String> hotelDeviceModeList; /** * <strong>example:</strong> * <p>a7a3***013</p> */ @NameInMap("HotelId") public String hotelId; @NameInMap("HotelScreenSaver") public AddOrUpdateHotelSettingRequestHotelScreenSaver hotelScreenSaver; @NameInMap("NightMode") public AddOrUpdateHotelSettingRequestNightMode nightMode; /** * <strong>example:</strong> * <p>SCREENSAVER</p> */ @NameInMap("SettingType") public String settingType; @NameInMap("Value") public String value; public static AddOrUpdateHotelSettingRequest build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateHotelSettingRequest self = new AddOrUpdateHotelSettingRequest(); return TeaModel.build(map, self); } public AddOrUpdateHotelSettingRequest setHotelDeviceModeList(java.util.List<String> hotelDeviceModeList) { this.hotelDeviceModeList = hotelDeviceModeList; return this; } public java.util.List<String> getHotelDeviceModeList() { return this.hotelDeviceModeList; } public AddOrUpdateHotelSettingRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public AddOrUpdateHotelSettingRequest setHotelScreenSaver(AddOrUpdateHotelSettingRequestHotelScreenSaver hotelScreenSaver) { this.hotelScreenSaver = hotelScreenSaver; return this; } public AddOrUpdateHotelSettingRequestHotelScreenSaver getHotelScreenSaver() { return this.hotelScreenSaver; } public AddOrUpdateHotelSettingRequest setNightMode(AddOrUpdateHotelSettingRequestNightMode nightMode) { this.nightMode = nightMode; return this; } public AddOrUpdateHotelSettingRequestNightMode getNightMode() { return this.nightMode; } public AddOrUpdateHotelSettingRequest setSettingType(String settingType) { this.settingType = settingType; return this; } public String getSettingType() { return this.settingType; } public AddOrUpdateHotelSettingRequest setValue(String value) { this.value = value; return this; } public String getValue() { return this.value; } public static class AddOrUpdateHotelSettingRequestHotelScreenSaver extends TeaModel { /** * <strong>example:</strong> * <p><a href="https://a****jpg">https://a****jpg</a></p> */ @NameInMap("ScreenSaverPicUrl") public String screenSaverPicUrl; /** * <strong>example:</strong> * <p>common-weather</p> */ @NameInMap("ScreenSaverStyle") public String screenSaverStyle; public static AddOrUpdateHotelSettingRequestHotelScreenSaver build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateHotelSettingRequestHotelScreenSaver self = new AddOrUpdateHotelSettingRequestHotelScreenSaver(); return TeaModel.build(map, self); } public AddOrUpdateHotelSettingRequestHotelScreenSaver setScreenSaverPicUrl(String screenSaverPicUrl) { this.screenSaverPicUrl = screenSaverPicUrl; return this; } public String getScreenSaverPicUrl() { return this.screenSaverPicUrl; } public AddOrUpdateHotelSettingRequestHotelScreenSaver setScreenSaverStyle(String screenSaverStyle) { this.screenSaverStyle = screenSaverStyle; return this; } public String getScreenSaverStyle() { return this.screenSaverStyle; } } public static class AddOrUpdateHotelSettingRequestNightMode extends TeaModel { @NameInMap("DefaultBright") public String defaultBright; @NameInMap("DefaultVolume") public String defaultVolume; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Enable") public Boolean enable; /** * <strong>example:</strong> * <p>22:00</p> */ @NameInMap("End") public String end; /** * <strong>example:</strong> * <p>screenoff</p> */ @NameInMap("StandbyAction") public String standbyAction; /** * <strong>example:</strong> * <p>7:00</p> */ @NameInMap("Start") public String start; public static AddOrUpdateHotelSettingRequestNightMode build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateHotelSettingRequestNightMode self = new AddOrUpdateHotelSettingRequestNightMode(); return TeaModel.build(map, self); } public AddOrUpdateHotelSettingRequestNightMode setDefaultBright(String defaultBright) { this.defaultBright = defaultBright; return this; } public String getDefaultBright() { return this.defaultBright; } public AddOrUpdateHotelSettingRequestNightMode setDefaultVolume(String defaultVolume) { this.defaultVolume = defaultVolume; return this; } public String getDefaultVolume() { return this.defaultVolume; } public AddOrUpdateHotelSettingRequestNightMode setEnable(Boolean enable) { this.enable = enable; return this; } public Boolean getEnable() { return this.enable; } public AddOrUpdateHotelSettingRequestNightMode setEnd(String end) { this.end = end; return this; } public String getEnd() { return this.end; } public AddOrUpdateHotelSettingRequestNightMode setStandbyAction(String standbyAction) { this.standbyAction = standbyAction; return this; } public String getStandbyAction() { return this.standbyAction; } public AddOrUpdateHotelSettingRequestNightMode setStart(String start) { this.start = start; return this; } public String getStart() { return this.start; } } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateHotelSettingResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateHotelSettingResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddOrUpdateHotelSettingResponseBody body; public static AddOrUpdateHotelSettingResponse build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateHotelSettingResponse self = new AddOrUpdateHotelSettingResponse(); return TeaModel.build(map, self); } public AddOrUpdateHotelSettingResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddOrUpdateHotelSettingResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddOrUpdateHotelSettingResponse setBody(AddOrUpdateHotelSettingResponseBody body) { this.body = body; return this; } public AddOrUpdateHotelSettingResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateHotelSettingResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateHotelSettingResponseBody extends TeaModel { /** * <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; /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("StatusCode") public Integer statusCode; public static AddOrUpdateHotelSettingResponseBody build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateHotelSettingResponseBody self = new AddOrUpdateHotelSettingResponseBody(); return TeaModel.build(map, self); } public AddOrUpdateHotelSettingResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public AddOrUpdateHotelSettingResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public AddOrUpdateHotelSettingResponseBody setResult(Boolean result) { this.result = result; return this; } public Boolean getResult() { return this.result; } public AddOrUpdateHotelSettingResponseBody setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateHotelSettingShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateHotelSettingShrinkRequest extends TeaModel { @NameInMap("HotelDeviceModeList") public String hotelDeviceModeListShrink; /** * <strong>example:</strong> * <p>a7a3***013</p> */ @NameInMap("HotelId") public String hotelId; @NameInMap("HotelScreenSaver") public String hotelScreenSaverShrink; @NameInMap("NightMode") public String nightModeShrink; /** * <strong>example:</strong> * <p>SCREENSAVER</p> */ @NameInMap("SettingType") public String settingType; @NameInMap("Value") public String value; public static AddOrUpdateHotelSettingShrinkRequest build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateHotelSettingShrinkRequest self = new AddOrUpdateHotelSettingShrinkRequest(); return TeaModel.build(map, self); } public AddOrUpdateHotelSettingShrinkRequest setHotelDeviceModeListShrink(String hotelDeviceModeListShrink) { this.hotelDeviceModeListShrink = hotelDeviceModeListShrink; return this; } public String getHotelDeviceModeListShrink() { return this.hotelDeviceModeListShrink; } public AddOrUpdateHotelSettingShrinkRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public AddOrUpdateHotelSettingShrinkRequest setHotelScreenSaverShrink(String hotelScreenSaverShrink) { this.hotelScreenSaverShrink = hotelScreenSaverShrink; return this; } public String getHotelScreenSaverShrink() { return this.hotelScreenSaverShrink; } public AddOrUpdateHotelSettingShrinkRequest setNightModeShrink(String nightModeShrink) { this.nightModeShrink = nightModeShrink; return this; } public String getNightModeShrink() { return this.nightModeShrink; } public AddOrUpdateHotelSettingShrinkRequest setSettingType(String settingType) { this.settingType = settingType; return this; } public String getSettingType() { return this.settingType; } public AddOrUpdateHotelSettingShrinkRequest setValue(String value) { this.value = value; return this; } public String getValue() { return this.value; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateScreenSaverHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateScreenSaverHeaders 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 AddOrUpdateScreenSaverHeaders build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateScreenSaverHeaders self = new AddOrUpdateScreenSaverHeaders(); return TeaModel.build(map, self); } public AddOrUpdateScreenSaverHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public AddOrUpdateScreenSaverHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public AddOrUpdateScreenSaverHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateScreenSaverRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateScreenSaverRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>a7a3***013</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> */ @NameInMap("HotelScreenSaver") public AddOrUpdateScreenSaverRequestHotelScreenSaver hotelScreenSaver; public static AddOrUpdateScreenSaverRequest build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateScreenSaverRequest self = new AddOrUpdateScreenSaverRequest(); return TeaModel.build(map, self); } public AddOrUpdateScreenSaverRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public AddOrUpdateScreenSaverRequest setHotelScreenSaver(AddOrUpdateScreenSaverRequestHotelScreenSaver hotelScreenSaver) { this.hotelScreenSaver = hotelScreenSaver; return this; } public AddOrUpdateScreenSaverRequestHotelScreenSaver getHotelScreenSaver() { return this.hotelScreenSaver; } public static class AddOrUpdateScreenSaverRequestHotelScreenSaver extends TeaModel { /** * <strong>example:</strong> * <p>xxx.png</p> */ @NameInMap("ScreenSaverPicUrl") public String screenSaverPicUrl; /** * <strong>example:</strong> * <p>common-weather</p> */ @NameInMap("ScreenSaverStyle") public String screenSaverStyle; public static AddOrUpdateScreenSaverRequestHotelScreenSaver build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateScreenSaverRequestHotelScreenSaver self = new AddOrUpdateScreenSaverRequestHotelScreenSaver(); return TeaModel.build(map, self); } public AddOrUpdateScreenSaverRequestHotelScreenSaver setScreenSaverPicUrl(String screenSaverPicUrl) { this.screenSaverPicUrl = screenSaverPicUrl; return this; } public String getScreenSaverPicUrl() { return this.screenSaverPicUrl; } public AddOrUpdateScreenSaverRequestHotelScreenSaver setScreenSaverStyle(String screenSaverStyle) { this.screenSaverStyle = screenSaverStyle; return this; } public String getScreenSaverStyle() { return this.screenSaverStyle; } } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateScreenSaverResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateScreenSaverResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddOrUpdateScreenSaverResponseBody body; public static AddOrUpdateScreenSaverResponse build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateScreenSaverResponse self = new AddOrUpdateScreenSaverResponse(); return TeaModel.build(map, self); } public AddOrUpdateScreenSaverResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddOrUpdateScreenSaverResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddOrUpdateScreenSaverResponse setBody(AddOrUpdateScreenSaverResponseBody body) { this.body = body; return this; } public AddOrUpdateScreenSaverResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateScreenSaverResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateScreenSaverResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>4EED***9661</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>True</p> */ @NameInMap("Result") public Boolean result; /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("StatusCode") public Integer statusCode; public static AddOrUpdateScreenSaverResponseBody build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateScreenSaverResponseBody self = new AddOrUpdateScreenSaverResponseBody(); return TeaModel.build(map, self); } public AddOrUpdateScreenSaverResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public AddOrUpdateScreenSaverResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public AddOrUpdateScreenSaverResponseBody setResult(Boolean result) { this.result = result; return this; } public Boolean getResult() { return this.result; } public AddOrUpdateScreenSaverResponseBody setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateScreenSaverShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateScreenSaverShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>a7a3***013</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> */ @NameInMap("HotelScreenSaver") public String hotelScreenSaverShrink; public static AddOrUpdateScreenSaverShrinkRequest build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateScreenSaverShrinkRequest self = new AddOrUpdateScreenSaverShrinkRequest(); return TeaModel.build(map, self); } public AddOrUpdateScreenSaverShrinkRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public AddOrUpdateScreenSaverShrinkRequest setHotelScreenSaverShrink(String hotelScreenSaverShrink) { this.hotelScreenSaverShrink = hotelScreenSaverShrink; return this; } public String getHotelScreenSaverShrink() { return this.hotelScreenSaverShrink; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateWelcomeTextHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateWelcomeTextHeaders 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 AddOrUpdateWelcomeTextHeaders build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateWelcomeTextHeaders self = new AddOrUpdateWelcomeTextHeaders(); return TeaModel.build(map, self); } public AddOrUpdateWelcomeTextHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public AddOrUpdateWelcomeTextHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public AddOrUpdateWelcomeTextHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateWelcomeTextRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateWelcomeTextRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>af7***536</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="http://ailabsaicloudservice.alicdn.com/tmp/a.wav">http://ailabsaicloudservice.alicdn.com/tmp/a.wav</a></p> */ @NameInMap("MusicUrl") public String musicUrl; /** * <p>This parameter is required.</p> */ @NameInMap("WelcomeText") public String welcomeText; public static AddOrUpdateWelcomeTextRequest build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateWelcomeTextRequest self = new AddOrUpdateWelcomeTextRequest(); return TeaModel.build(map, self); } public AddOrUpdateWelcomeTextRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public AddOrUpdateWelcomeTextRequest setMusicUrl(String musicUrl) { this.musicUrl = musicUrl; return this; } public String getMusicUrl() { return this.musicUrl; } public AddOrUpdateWelcomeTextRequest setWelcomeText(String welcomeText) { this.welcomeText = welcomeText; return this; } public String getWelcomeText() { return this.welcomeText; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateWelcomeTextResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateWelcomeTextResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddOrUpdateWelcomeTextResponseBody body; public static AddOrUpdateWelcomeTextResponse build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateWelcomeTextResponse self = new AddOrUpdateWelcomeTextResponse(); return TeaModel.build(map, self); } public AddOrUpdateWelcomeTextResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddOrUpdateWelcomeTextResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddOrUpdateWelcomeTextResponse setBody(AddOrUpdateWelcomeTextResponseBody body) { this.body = body; return this; } public AddOrUpdateWelcomeTextResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AddOrUpdateWelcomeTextResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AddOrUpdateWelcomeTextResponseBody extends TeaModel { @NameInMap("Extentions") public java.util.Map<String, ?> extentions; /** * <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; /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("StatusCode") public Integer statusCode; public static AddOrUpdateWelcomeTextResponseBody build(java.util.Map<String, ?> map) throws Exception { AddOrUpdateWelcomeTextResponseBody self = new AddOrUpdateWelcomeTextResponseBody(); return TeaModel.build(map, self); } public AddOrUpdateWelcomeTextResponseBody setExtentions(java.util.Map<String, ?> extentions) { this.extentions = extentions; return this; } public java.util.Map<String, ?> getExtentions() { return this.extentions; } public AddOrUpdateWelcomeTextResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public AddOrUpdateWelcomeTextResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public AddOrUpdateWelcomeTextResponseBody setResult(Boolean result) { this.result = result; return this; } public Boolean getResult() { return this.result; } public AddOrUpdateWelcomeTextResponseBody setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AuditHotelHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AuditHotelHeaders 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 AuditHotelHeaders build(java.util.Map<String, ?> map) throws Exception { AuditHotelHeaders self = new AuditHotelHeaders(); return TeaModel.build(map, self); } public AuditHotelHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public AuditHotelHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public AuditHotelHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AuditHotelRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AuditHotelRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("AuditHotelReq") public AuditHotelRequestAuditHotelReq auditHotelReq; public static AuditHotelRequest build(java.util.Map<String, ?> map) throws Exception { AuditHotelRequest self = new AuditHotelRequest(); return TeaModel.build(map, self); } public AuditHotelRequest setAuditHotelReq(AuditHotelRequestAuditHotelReq auditHotelReq) { this.auditHotelReq = auditHotelReq; return this; } public AuditHotelRequestAuditHotelReq getAuditHotelReq() { return this.auditHotelReq; } public static class AuditHotelRequestAuditHotelReq extends TeaModel { /** * <strong>example:</strong> * <p>同意</p> */ @NameInMap("AuditOpinion") public String auditOpinion; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>80d84ea8ed9e422fbad52715c8fc56f1</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("Status") public Integer status; public static AuditHotelRequestAuditHotelReq build(java.util.Map<String, ?> map) throws Exception { AuditHotelRequestAuditHotelReq self = new AuditHotelRequestAuditHotelReq(); return TeaModel.build(map, self); } public AuditHotelRequestAuditHotelReq setAuditOpinion(String auditOpinion) { this.auditOpinion = auditOpinion; return this; } public String getAuditOpinion() { return this.auditOpinion; } public AuditHotelRequestAuditHotelReq setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public AuditHotelRequestAuditHotelReq setStatus(Integer status) { this.status = status; return this; } public Integer getStatus() { return this.status; } } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AuditHotelResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AuditHotelResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AuditHotelResponseBody body; public static AuditHotelResponse build(java.util.Map<String, ?> map) throws Exception { AuditHotelResponse self = new AuditHotelResponse(); return TeaModel.build(map, self); } public AuditHotelResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AuditHotelResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AuditHotelResponse setBody(AuditHotelResponseBody body) { this.body = body; return this; } public AuditHotelResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AuditHotelResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AuditHotelResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Message") public String message; /** * <p>RequestId</p> */ @NameInMap("RequestId") public String requestId; @NameInMap("Result") public Boolean result; public static AuditHotelResponseBody build(java.util.Map<String, ?> map) throws Exception { AuditHotelResponseBody self = new AuditHotelResponseBody(); return TeaModel.build(map, self); } public AuditHotelResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public AuditHotelResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public AuditHotelResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public AuditHotelResponseBody setResult(Boolean result) { this.result = result; return this; } public Boolean getResult() { return this.result; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/AuditHotelShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class AuditHotelShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("AuditHotelReq") public String auditHotelReqShrink; public static AuditHotelShrinkRequest build(java.util.Map<String, ?> map) throws Exception { AuditHotelShrinkRequest self = new AuditHotelShrinkRequest(); return TeaModel.build(map, self); } public AuditHotelShrinkRequest setAuditHotelReqShrink(String auditHotelReqShrink) { this.auditHotelReqShrink = auditHotelReqShrink; return this; } public String getAuditHotelReqShrink() { return this.auditHotelReqShrink; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/BatchAddHotelRoomHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class BatchAddHotelRoomHeaders 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 BatchAddHotelRoomHeaders build(java.util.Map<String, ?> map) throws Exception { BatchAddHotelRoomHeaders self = new BatchAddHotelRoomHeaders(); return TeaModel.build(map, self); } public BatchAddHotelRoomHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public BatchAddHotelRoomHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public BatchAddHotelRoomHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/BatchAddHotelRoomRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class BatchAddHotelRoomRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>e6dd44fd16084db8a60d69fd625d9f0f</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> */ @NameInMap("RoomNoList") public java.util.List<String> roomNoList; public static BatchAddHotelRoomRequest build(java.util.Map<String, ?> map) throws Exception { BatchAddHotelRoomRequest self = new BatchAddHotelRoomRequest(); return TeaModel.build(map, self); } public BatchAddHotelRoomRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public BatchAddHotelRoomRequest setRoomNoList(java.util.List<String> roomNoList) { this.roomNoList = roomNoList; return this; } public java.util.List<String> getRoomNoList() { return this.roomNoList; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/BatchAddHotelRoomResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class BatchAddHotelRoomResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public BatchAddHotelRoomResponseBody body; public static BatchAddHotelRoomResponse build(java.util.Map<String, ?> map) throws Exception { BatchAddHotelRoomResponse self = new BatchAddHotelRoomResponse(); return TeaModel.build(map, self); } public BatchAddHotelRoomResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public BatchAddHotelRoomResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public BatchAddHotelRoomResponse setBody(BatchAddHotelRoomResponseBody body) { this.body = body; return this; } public BatchAddHotelRoomResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/BatchAddHotelRoomResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class BatchAddHotelRoomResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; @NameInMap("RequestId") public String requestId; @NameInMap("Result") public Boolean result; public static BatchAddHotelRoomResponseBody build(java.util.Map<String, ?> map) throws Exception { BatchAddHotelRoomResponseBody self = new BatchAddHotelRoomResponseBody(); return TeaModel.build(map, self); } public BatchAddHotelRoomResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public BatchAddHotelRoomResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public BatchAddHotelRoomResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public BatchAddHotelRoomResponseBody setResult(Boolean result) { this.result = result; return this; } public Boolean getResult() { return this.result; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/BatchAddHotelRoomShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class BatchAddHotelRoomShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>e6dd44fd16084db8a60d69fd625d9f0f</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> */ @NameInMap("RoomNoList") public String roomNoListShrink; public static BatchAddHotelRoomShrinkRequest build(java.util.Map<String, ?> map) throws Exception { BatchAddHotelRoomShrinkRequest self = new BatchAddHotelRoomShrinkRequest(); return TeaModel.build(map, self); } public BatchAddHotelRoomShrinkRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public BatchAddHotelRoomShrinkRequest setRoomNoListShrink(String roomNoListShrink) { this.roomNoListShrink = roomNoListShrink; return this; } public String getRoomNoListShrink() { return this.roomNoListShrink; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/BatchDeleteHotelRoomHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class BatchDeleteHotelRoomHeaders 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 BatchDeleteHotelRoomHeaders build(java.util.Map<String, ?> map) throws Exception { BatchDeleteHotelRoomHeaders self = new BatchDeleteHotelRoomHeaders(); return TeaModel.build(map, self); } public BatchDeleteHotelRoomHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public BatchDeleteHotelRoomHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public BatchDeleteHotelRoomHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/BatchDeleteHotelRoomRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class BatchDeleteHotelRoomRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>e6dd44fd16084db8a60d69fd625d9f0f</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> */ @NameInMap("RoomNoList") public java.util.List<String> roomNoList; public static BatchDeleteHotelRoomRequest build(java.util.Map<String, ?> map) throws Exception { BatchDeleteHotelRoomRequest self = new BatchDeleteHotelRoomRequest(); return TeaModel.build(map, self); } public BatchDeleteHotelRoomRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public BatchDeleteHotelRoomRequest setRoomNoList(java.util.List<String> roomNoList) { this.roomNoList = roomNoList; return this; } public java.util.List<String> getRoomNoList() { return this.roomNoList; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/BatchDeleteHotelRoomResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class BatchDeleteHotelRoomResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public BatchDeleteHotelRoomResponseBody body; public static BatchDeleteHotelRoomResponse build(java.util.Map<String, ?> map) throws Exception { BatchDeleteHotelRoomResponse self = new BatchDeleteHotelRoomResponse(); return TeaModel.build(map, self); } public BatchDeleteHotelRoomResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public BatchDeleteHotelRoomResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public BatchDeleteHotelRoomResponse setBody(BatchDeleteHotelRoomResponseBody body) { this.body = body; return this; } public BatchDeleteHotelRoomResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/BatchDeleteHotelRoomResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class BatchDeleteHotelRoomResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; @NameInMap("RequestId") public String requestId; @NameInMap("Result") public Boolean result; public static BatchDeleteHotelRoomResponseBody build(java.util.Map<String, ?> map) throws Exception { BatchDeleteHotelRoomResponseBody self = new BatchDeleteHotelRoomResponseBody(); return TeaModel.build(map, self); } public BatchDeleteHotelRoomResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public BatchDeleteHotelRoomResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public BatchDeleteHotelRoomResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public BatchDeleteHotelRoomResponseBody setResult(Boolean result) { this.result = result; return this; } public Boolean getResult() { return this.result; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/BatchDeleteHotelRoomShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class BatchDeleteHotelRoomShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>e6dd44fd16084db8a60d69fd625d9f0f</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> */ @NameInMap("RoomNoList") public String roomNoListShrink; public static BatchDeleteHotelRoomShrinkRequest build(java.util.Map<String, ?> map) throws Exception { BatchDeleteHotelRoomShrinkRequest self = new BatchDeleteHotelRoomShrinkRequest(); return TeaModel.build(map, self); } public BatchDeleteHotelRoomShrinkRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public BatchDeleteHotelRoomShrinkRequest setRoomNoListShrink(String roomNoListShrink) { this.roomNoListShrink = roomNoListShrink; return this; } public String getRoomNoListShrink() { return this.roomNoListShrink; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CheckoutWithAKHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CheckoutWithAKHeaders 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 CheckoutWithAKHeaders build(java.util.Map<String, ?> map) throws Exception { CheckoutWithAKHeaders self = new CheckoutWithAKHeaders(); return TeaModel.build(map, self); } public CheckoutWithAKHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public CheckoutWithAKHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public CheckoutWithAKHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CheckoutWithAKRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CheckoutWithAKRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>a7***83</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1211</p> */ @NameInMap("RoomNo") public String roomNo; public static CheckoutWithAKRequest build(java.util.Map<String, ?> map) throws Exception { CheckoutWithAKRequest self = new CheckoutWithAKRequest(); return TeaModel.build(map, self); } public CheckoutWithAKRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public CheckoutWithAKRequest setRoomNo(String roomNo) { this.roomNo = roomNo; return this; } public String getRoomNo() { return this.roomNo; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CheckoutWithAKResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CheckoutWithAKResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CheckoutWithAKResponseBody body; public static CheckoutWithAKResponse build(java.util.Map<String, ?> map) throws Exception { CheckoutWithAKResponse self = new CheckoutWithAKResponse(); return TeaModel.build(map, self); } public CheckoutWithAKResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CheckoutWithAKResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CheckoutWithAKResponse setBody(CheckoutWithAKResponseBody body) { this.body = body; return this; } public CheckoutWithAKResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CheckoutWithAKResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CheckoutWithAKResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>73C6***E6FA</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Result") public Boolean result; /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("StatusCode") public Integer statusCode; public static CheckoutWithAKResponseBody build(java.util.Map<String, ?> map) throws Exception { CheckoutWithAKResponseBody self = new CheckoutWithAKResponseBody(); return TeaModel.build(map, self); } public CheckoutWithAKResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public CheckoutWithAKResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public CheckoutWithAKResponseBody setResult(Boolean result) { this.result = result; return this; } public Boolean getResult() { return this.result; } public CheckoutWithAKResponseBody setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/ChildAccountAuthHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class ChildAccountAuthHeaders 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 ChildAccountAuthHeaders build(java.util.Map<String, ?> map) throws Exception { ChildAccountAuthHeaders self = new ChildAccountAuthHeaders(); return TeaModel.build(map, self); } public ChildAccountAuthHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public ChildAccountAuthHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public ChildAccountAuthHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/ChildAccountAuthRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class ChildAccountAuthRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>lee</p> */ @NameInMap("Account") public String account; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>30471753</p> */ @NameInMap("AppKey") public String appKey; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>a7***83</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>AAEV***E3d3Z2ETwh</p> */ @NameInMap("TbOpenId") public String tbOpenId; public static ChildAccountAuthRequest build(java.util.Map<String, ?> map) throws Exception { ChildAccountAuthRequest self = new ChildAccountAuthRequest(); return TeaModel.build(map, self); } public ChildAccountAuthRequest setAccount(String account) { this.account = account; return this; } public String getAccount() { return this.account; } public ChildAccountAuthRequest setAppKey(String appKey) { this.appKey = appKey; return this; } public String getAppKey() { return this.appKey; } public ChildAccountAuthRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public ChildAccountAuthRequest setTbOpenId(String tbOpenId) { this.tbOpenId = tbOpenId; return this; } public String getTbOpenId() { return this.tbOpenId; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/ChildAccountAuthResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class ChildAccountAuthResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ChildAccountAuthResponseBody body; public static ChildAccountAuthResponse build(java.util.Map<String, ?> map) throws Exception { ChildAccountAuthResponse self = new ChildAccountAuthResponse(); return TeaModel.build(map, self); } public ChildAccountAuthResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ChildAccountAuthResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ChildAccountAuthResponse setBody(ChildAccountAuthResponseBody body) { this.body = body; return this; } public ChildAccountAuthResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/ChildAccountAuthResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class ChildAccountAuthResponseBody extends TeaModel { @NameInMap("Extentions") public java.util.Map<String, ?> extentions; /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>3DB51A10-327C-58D3-91DF-3A5A471C51E7</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Result") public Boolean result; /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("StatusCode") public Integer statusCode; public static ChildAccountAuthResponseBody build(java.util.Map<String, ?> map) throws Exception { ChildAccountAuthResponseBody self = new ChildAccountAuthResponseBody(); return TeaModel.build(map, self); } public ChildAccountAuthResponseBody setExtentions(java.util.Map<String, ?> extentions) { this.extentions = extentions; return this; } public java.util.Map<String, ?> getExtentions() { return this.extentions; } public ChildAccountAuthResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public ChildAccountAuthResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public ChildAccountAuthResponseBody setResult(Boolean result) { this.result = result; return this; } public Boolean getResult() { return this.result; } public ChildAccountAuthResponseBody setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/ControlRoomDeviceHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class ControlRoomDeviceHeaders 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 ControlRoomDeviceHeaders build(java.util.Map<String, ?> map) throws Exception { ControlRoomDeviceHeaders self = new ControlRoomDeviceHeaders(); return TeaModel.build(map, self); } public ControlRoomDeviceHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public ControlRoomDeviceHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public ControlRoomDeviceHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/ControlRoomDeviceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class ControlRoomDeviceRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>thing.attribute.set * thing.attribute.adjust</p> */ @NameInMap("Cmd") public String cmd; @NameInMap("DeviceIndex") public Integer deviceIndex; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>INFRARED49122575595</p> */ @NameInMap("DeviceNumber") public String deviceNumber; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>a7***83</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> */ @NameInMap("Properties") public java.util.Map<String, String> properties; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1211</p> */ @NameInMap("RoomNo") public String roomNo; public static ControlRoomDeviceRequest build(java.util.Map<String, ?> map) throws Exception { ControlRoomDeviceRequest self = new ControlRoomDeviceRequest(); return TeaModel.build(map, self); } public ControlRoomDeviceRequest setCmd(String cmd) { this.cmd = cmd; return this; } public String getCmd() { return this.cmd; } public ControlRoomDeviceRequest setDeviceIndex(Integer deviceIndex) { this.deviceIndex = deviceIndex; return this; } public Integer getDeviceIndex() { return this.deviceIndex; } public ControlRoomDeviceRequest setDeviceNumber(String deviceNumber) { this.deviceNumber = deviceNumber; return this; } public String getDeviceNumber() { return this.deviceNumber; } public ControlRoomDeviceRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public ControlRoomDeviceRequest setProperties(java.util.Map<String, String> properties) { this.properties = properties; return this; } public java.util.Map<String, String> getProperties() { return this.properties; } public ControlRoomDeviceRequest setRoomNo(String roomNo) { this.roomNo = roomNo; return this; } public String getRoomNo() { return this.roomNo; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/ControlRoomDeviceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class ControlRoomDeviceResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ControlRoomDeviceResponseBody body; public static ControlRoomDeviceResponse build(java.util.Map<String, ?> map) throws Exception { ControlRoomDeviceResponse self = new ControlRoomDeviceResponse(); return TeaModel.build(map, self); } public ControlRoomDeviceResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ControlRoomDeviceResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ControlRoomDeviceResponse setBody(ControlRoomDeviceResponseBody body) { this.body = body; return this; } public ControlRoomDeviceResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/ControlRoomDeviceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class ControlRoomDeviceResponseBody extends TeaModel { @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 ControlRoomDeviceResponseBodyResult result; public static ControlRoomDeviceResponseBody build(java.util.Map<String, ?> map) throws Exception { ControlRoomDeviceResponseBody self = new ControlRoomDeviceResponseBody(); return TeaModel.build(map, self); } public ControlRoomDeviceResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public ControlRoomDeviceResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public ControlRoomDeviceResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public ControlRoomDeviceResponseBody setResult(ControlRoomDeviceResponseBodyResult result) { this.result = result; return this; } public ControlRoomDeviceResponseBodyResult getResult() { return this.result; } public static class ControlRoomDeviceResponseBodyResult extends TeaModel { /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; @NameInMap("Status") public Integer status; public static ControlRoomDeviceResponseBodyResult build(java.util.Map<String, ?> map) throws Exception { ControlRoomDeviceResponseBodyResult self = new ControlRoomDeviceResponseBodyResult(); return TeaModel.build(map, self); } public ControlRoomDeviceResponseBodyResult setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public ControlRoomDeviceResponseBodyResult setStatus(Integer status) { this.status = status; return this; } public Integer getStatus() { return this.status; } } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/ControlRoomDeviceShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class ControlRoomDeviceShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>thing.attribute.set * thing.attribute.adjust</p> */ @NameInMap("Cmd") public String cmd; @NameInMap("DeviceIndex") public Integer deviceIndex; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>INFRARED49122575595</p> */ @NameInMap("DeviceNumber") public String deviceNumber; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>a7***83</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> */ @NameInMap("Properties") public String propertiesShrink; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1211</p> */ @NameInMap("RoomNo") public String roomNo; public static ControlRoomDeviceShrinkRequest build(java.util.Map<String, ?> map) throws Exception { ControlRoomDeviceShrinkRequest self = new ControlRoomDeviceShrinkRequest(); return TeaModel.build(map, self); } public ControlRoomDeviceShrinkRequest setCmd(String cmd) { this.cmd = cmd; return this; } public String getCmd() { return this.cmd; } public ControlRoomDeviceShrinkRequest setDeviceIndex(Integer deviceIndex) { this.deviceIndex = deviceIndex; return this; } public Integer getDeviceIndex() { return this.deviceIndex; } public ControlRoomDeviceShrinkRequest setDeviceNumber(String deviceNumber) { this.deviceNumber = deviceNumber; return this; } public String getDeviceNumber() { return this.deviceNumber; } public ControlRoomDeviceShrinkRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public ControlRoomDeviceShrinkRequest setPropertiesShrink(String propertiesShrink) { this.propertiesShrink = propertiesShrink; return this; } public String getPropertiesShrink() { return this.propertiesShrink; } public ControlRoomDeviceShrinkRequest setRoomNo(String roomNo) { this.roomNo = roomNo; return this; } public String getRoomNo() { return this.roomNo; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateHotelAlarmHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateHotelAlarmHeaders 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 CreateHotelAlarmHeaders build(java.util.Map<String, ?> map) throws Exception { CreateHotelAlarmHeaders self = new CreateHotelAlarmHeaders(); return TeaModel.build(map, self); } public CreateHotelAlarmHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public CreateHotelAlarmHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public CreateHotelAlarmHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateHotelAlarmRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateHotelAlarmRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cf2446fc9d144c85aaee4f9ae20a96e7</p> */ @NameInMap("HotelId") public String hotelId; /** * <strong>example:</strong> * <p>DOU_YIN</p> */ @NameInMap("MusicType") public String musicType; /** * <p>This parameter is required.</p> */ @NameInMap("Rooms") public java.util.List<String> rooms; /** * <p>This parameter is required.</p> */ @NameInMap("ScheduleInfo") public CreateHotelAlarmRequestScheduleInfo scheduleInfo; public static CreateHotelAlarmRequest build(java.util.Map<String, ?> map) throws Exception { CreateHotelAlarmRequest self = new CreateHotelAlarmRequest(); return TeaModel.build(map, self); } public CreateHotelAlarmRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public CreateHotelAlarmRequest setMusicType(String musicType) { this.musicType = musicType; return this; } public String getMusicType() { return this.musicType; } public CreateHotelAlarmRequest setRooms(java.util.List<String> rooms) { this.rooms = rooms; return this; } public java.util.List<String> getRooms() { return this.rooms; } public CreateHotelAlarmRequest setScheduleInfo(CreateHotelAlarmRequestScheduleInfo scheduleInfo) { this.scheduleInfo = scheduleInfo; return this; } public CreateHotelAlarmRequestScheduleInfo getScheduleInfo() { return this.scheduleInfo; } public static class CreateHotelAlarmRequestScheduleInfoOnce extends TeaModel { /** * <strong>example:</strong> * <p>20</p> */ @NameInMap("Day") public Integer day; /** * <strong>example:</strong> * <p>19</p> */ @NameInMap("Hour") public Integer hour; /** * <strong>example:</strong> * <p>30</p> */ @NameInMap("Minute") public Integer minute; /** * <strong>example:</strong> * <p>9</p> */ @NameInMap("Month") public Integer month; /** * <strong>example:</strong> * <p>2022</p> */ @NameInMap("Year") public Integer year; public static CreateHotelAlarmRequestScheduleInfoOnce build(java.util.Map<String, ?> map) throws Exception { CreateHotelAlarmRequestScheduleInfoOnce self = new CreateHotelAlarmRequestScheduleInfoOnce(); return TeaModel.build(map, self); } public CreateHotelAlarmRequestScheduleInfoOnce setDay(Integer day) { this.day = day; return this; } public Integer getDay() { return this.day; } public CreateHotelAlarmRequestScheduleInfoOnce setHour(Integer hour) { this.hour = hour; return this; } public Integer getHour() { return this.hour; } public CreateHotelAlarmRequestScheduleInfoOnce setMinute(Integer minute) { this.minute = minute; return this; } public Integer getMinute() { return this.minute; } public CreateHotelAlarmRequestScheduleInfoOnce setMonth(Integer month) { this.month = month; return this; } public Integer getMonth() { return this.month; } public CreateHotelAlarmRequestScheduleInfoOnce setYear(Integer year) { this.year = year; return this; } public Integer getYear() { return this.year; } } public static class CreateHotelAlarmRequestScheduleInfoWeekly 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>30</p> */ @NameInMap("Minute") public Integer minute; public static CreateHotelAlarmRequestScheduleInfoWeekly build(java.util.Map<String, ?> map) throws Exception { CreateHotelAlarmRequestScheduleInfoWeekly self = new CreateHotelAlarmRequestScheduleInfoWeekly(); return TeaModel.build(map, self); } public CreateHotelAlarmRequestScheduleInfoWeekly setDaysOfWeek(java.util.List<Integer> daysOfWeek) { this.daysOfWeek = daysOfWeek; return this; } public java.util.List<Integer> getDaysOfWeek() { return this.daysOfWeek; } public CreateHotelAlarmRequestScheduleInfoWeekly setHour(Integer hour) { this.hour = hour; return this; } public Integer getHour() { return this.hour; } public CreateHotelAlarmRequestScheduleInfoWeekly setMinute(Integer minute) { this.minute = minute; return this; } public Integer getMinute() { return this.minute; } } public static class CreateHotelAlarmRequestScheduleInfo extends TeaModel { @NameInMap("Once") public CreateHotelAlarmRequestScheduleInfoOnce once; /** * <p>ONCE, WEEKLY</p> * <p>This parameter is required.</p> */ @NameInMap("Type") public String type; @NameInMap("Weekly") public CreateHotelAlarmRequestScheduleInfoWeekly weekly; public static CreateHotelAlarmRequestScheduleInfo build(java.util.Map<String, ?> map) throws Exception { CreateHotelAlarmRequestScheduleInfo self = new CreateHotelAlarmRequestScheduleInfo(); return TeaModel.build(map, self); } public CreateHotelAlarmRequestScheduleInfo setOnce(CreateHotelAlarmRequestScheduleInfoOnce once) { this.once = once; return this; } public CreateHotelAlarmRequestScheduleInfoOnce getOnce() { return this.once; } public CreateHotelAlarmRequestScheduleInfo setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public CreateHotelAlarmRequestScheduleInfo setWeekly(CreateHotelAlarmRequestScheduleInfoWeekly weekly) { this.weekly = weekly; return this; } public CreateHotelAlarmRequestScheduleInfoWeekly getWeekly() { return this.weekly; } } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateHotelAlarmResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateHotelAlarmResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CreateHotelAlarmResponseBody body; public static CreateHotelAlarmResponse build(java.util.Map<String, ?> map) throws Exception { CreateHotelAlarmResponse self = new CreateHotelAlarmResponse(); return TeaModel.build(map, self); } public CreateHotelAlarmResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CreateHotelAlarmResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CreateHotelAlarmResponse setBody(CreateHotelAlarmResponseBody body) { this.body = body; return this; } public CreateHotelAlarmResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateHotelAlarmResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateHotelAlarmResponseBody extends TeaModel { @NameInMap("Extentions") public java.util.Map<String, ?> extentions; @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>43***86881</p> */ @NameInMap("RequestId") public String requestId; @NameInMap("Result") public java.util.List<CreateHotelAlarmResponseBodyResult> result; /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("StatusCode") public Integer statusCode; public static CreateHotelAlarmResponseBody build(java.util.Map<String, ?> map) throws Exception { CreateHotelAlarmResponseBody self = new CreateHotelAlarmResponseBody(); return TeaModel.build(map, self); } public CreateHotelAlarmResponseBody setExtentions(java.util.Map<String, ?> extentions) { this.extentions = extentions; return this; } public java.util.Map<String, ?> getExtentions() { return this.extentions; } public CreateHotelAlarmResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public CreateHotelAlarmResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public CreateHotelAlarmResponseBody setResult(java.util.List<CreateHotelAlarmResponseBodyResult> result) { this.result = result; return this; } public java.util.List<CreateHotelAlarmResponseBodyResult> getResult() { return this.result; } public CreateHotelAlarmResponseBody setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public static class CreateHotelAlarmResponseBodyResult extends TeaModel { /** * <strong>example:</strong> * <p>94</p> */ @NameInMap("AlarmId") public Long alarmId; /** * <strong>example:</strong> * <p>Pvk***TA==</p> */ @NameInMap("DeviceOpenId") public String deviceOpenId; @NameInMap("FailMsg") public String failMsg; /** * <strong>example:</strong> * <p>101</p> */ @NameInMap("RoomNo") public String roomNo; /** * <strong>example:</strong> * <p>mg***Qd</p> */ @NameInMap("UserOpenId") public String userOpenId; public static CreateHotelAlarmResponseBodyResult build(java.util.Map<String, ?> map) throws Exception { CreateHotelAlarmResponseBodyResult self = new CreateHotelAlarmResponseBodyResult(); return TeaModel.build(map, self); } public CreateHotelAlarmResponseBodyResult setAlarmId(Long alarmId) { this.alarmId = alarmId; return this; } public Long getAlarmId() { return this.alarmId; } public CreateHotelAlarmResponseBodyResult setDeviceOpenId(String deviceOpenId) { this.deviceOpenId = deviceOpenId; return this; } public String getDeviceOpenId() { return this.deviceOpenId; } public CreateHotelAlarmResponseBodyResult setFailMsg(String failMsg) { this.failMsg = failMsg; return this; } public String getFailMsg() { return this.failMsg; } public CreateHotelAlarmResponseBodyResult setRoomNo(String roomNo) { this.roomNo = roomNo; return this; } public String getRoomNo() { return this.roomNo; } public CreateHotelAlarmResponseBodyResult setUserOpenId(String userOpenId) { this.userOpenId = userOpenId; return this; } public String getUserOpenId() { return this.userOpenId; } } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateHotelAlarmShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateHotelAlarmShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cf2446fc9d144c85aaee4f9ae20a96e7</p> */ @NameInMap("HotelId") public String hotelId; /** * <strong>example:</strong> * <p>DOU_YIN</p> */ @NameInMap("MusicType") public String musicType; /** * <p>This parameter is required.</p> */ @NameInMap("Rooms") public String roomsShrink; /** * <p>This parameter is required.</p> */ @NameInMap("ScheduleInfo") public String scheduleInfoShrink; public static CreateHotelAlarmShrinkRequest build(java.util.Map<String, ?> map) throws Exception { CreateHotelAlarmShrinkRequest self = new CreateHotelAlarmShrinkRequest(); return TeaModel.build(map, self); } public CreateHotelAlarmShrinkRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public CreateHotelAlarmShrinkRequest setMusicType(String musicType) { this.musicType = musicType; return this; } public String getMusicType() { return this.musicType; } public CreateHotelAlarmShrinkRequest setRoomsShrink(String roomsShrink) { this.roomsShrink = roomsShrink; return this; } public String getRoomsShrink() { return this.roomsShrink; } public CreateHotelAlarmShrinkRequest setScheduleInfoShrink(String scheduleInfoShrink) { this.scheduleInfoShrink = scheduleInfoShrink; return this; } public String getScheduleInfoShrink() { return this.scheduleInfoShrink; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateHotelHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateHotelHeaders 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 CreateHotelHeaders build(java.util.Map<String, ?> map) throws Exception { CreateHotelHeaders self = new CreateHotelHeaders(); return TeaModel.build(map, self); } public CreateHotelHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public CreateHotelHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public CreateHotelHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateHotelRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateHotelRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>333566791</p> */ @NameInMap("AppKey") public String appKey; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2022-10-1 00:00:00</p> */ @NameInMap("EstOpenTime") public String estOpenTime; /** * <p>This parameter is required.</p> */ @NameInMap("HotelAddress") public String hotelAddress; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="mailto:test@hotel.com">test@hotel.com</a></p> */ @NameInMap("HotelEmail") public String hotelEmail; /** * <p>This parameter is required.</p> */ @NameInMap("HotelName") public String hotelName; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>13xxxxxxxx</p> */ @NameInMap("PhoneNumber") public String phoneNumber; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>jTO****Rw</p> */ @NameInMap("RelatedPk") public String relatedPk; /** * <p>酒店关联产品列表</p> */ @NameInMap("RelatedPks") public java.util.List<String> relatedPks; /** * <strong>example:</strong> * <p>test</p> */ @NameInMap("Remark") public String remark; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>100</p> */ @NameInMap("RoomNum") public Integer roomNum; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>AAEV***E3d3Z2ETwh</p> */ @NameInMap("TbOpenId") public String tbOpenId; public static CreateHotelRequest build(java.util.Map<String, ?> map) throws Exception { CreateHotelRequest self = new CreateHotelRequest(); return TeaModel.build(map, self); } public CreateHotelRequest setAppKey(String appKey) { this.appKey = appKey; return this; } public String getAppKey() { return this.appKey; } public CreateHotelRequest setEstOpenTime(String estOpenTime) { this.estOpenTime = estOpenTime; return this; } public String getEstOpenTime() { return this.estOpenTime; } public CreateHotelRequest setHotelAddress(String hotelAddress) { this.hotelAddress = hotelAddress; return this; } public String getHotelAddress() { return this.hotelAddress; } public CreateHotelRequest setHotelEmail(String hotelEmail) { this.hotelEmail = hotelEmail; return this; } public String getHotelEmail() { return this.hotelEmail; } public CreateHotelRequest setHotelName(String hotelName) { this.hotelName = hotelName; return this; } public String getHotelName() { return this.hotelName; } public CreateHotelRequest setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } public String getPhoneNumber() { return this.phoneNumber; } public CreateHotelRequest setRelatedPk(String relatedPk) { this.relatedPk = relatedPk; return this; } public String getRelatedPk() { return this.relatedPk; } public CreateHotelRequest setRelatedPks(java.util.List<String> relatedPks) { this.relatedPks = relatedPks; return this; } public java.util.List<String> getRelatedPks() { return this.relatedPks; } public CreateHotelRequest setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } public CreateHotelRequest setRoomNum(Integer roomNum) { this.roomNum = roomNum; return this; } public Integer getRoomNum() { return this.roomNum; } public CreateHotelRequest setTbOpenId(String tbOpenId) { this.tbOpenId = tbOpenId; return this; } public String getTbOpenId() { return this.tbOpenId; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateHotelResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateHotelResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CreateHotelResponseBody body; public static CreateHotelResponse build(java.util.Map<String, ?> map) throws Exception { CreateHotelResponse self = new CreateHotelResponse(); return TeaModel.build(map, self); } public CreateHotelResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CreateHotelResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CreateHotelResponse setBody(CreateHotelResponseBody body) { this.body = body; return this; } public CreateHotelResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateHotelResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateHotelResponseBody extends TeaModel { @NameInMap("Extentions") public java.util.Map<String, ?> extentions; /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>73C67BD9-175A-1324-8202-9FAABBB3E6FA</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>5abfd9***2c38661</p> */ @NameInMap("Result") public String result; /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("StatusCode") public Integer statusCode; public static CreateHotelResponseBody build(java.util.Map<String, ?> map) throws Exception { CreateHotelResponseBody self = new CreateHotelResponseBody(); return TeaModel.build(map, self); } public CreateHotelResponseBody setExtentions(java.util.Map<String, ?> extentions) { this.extentions = extentions; return this; } public java.util.Map<String, ?> getExtentions() { return this.extentions; } public CreateHotelResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public CreateHotelResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public CreateHotelResponseBody setResult(String result) { this.result = result; return this; } public String getResult() { return this.result; } public CreateHotelResponseBody setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateHotelShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateHotelShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>333566791</p> */ @NameInMap("AppKey") public String appKey; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2022-10-1 00:00:00</p> */ @NameInMap("EstOpenTime") public String estOpenTime; /** * <p>This parameter is required.</p> */ @NameInMap("HotelAddress") public String hotelAddress; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="mailto:test@hotel.com">test@hotel.com</a></p> */ @NameInMap("HotelEmail") public String hotelEmail; /** * <p>This parameter is required.</p> */ @NameInMap("HotelName") public String hotelName; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>13xxxxxxxx</p> */ @NameInMap("PhoneNumber") public String phoneNumber; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>jTO****Rw</p> */ @NameInMap("RelatedPk") public String relatedPk; /** * <p>酒店关联产品列表</p> */ @NameInMap("RelatedPks") public String relatedPksShrink; /** * <strong>example:</strong> * <p>test</p> */ @NameInMap("Remark") public String remark; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>100</p> */ @NameInMap("RoomNum") public Integer roomNum; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>AAEV***E3d3Z2ETwh</p> */ @NameInMap("TbOpenId") public String tbOpenId; public static CreateHotelShrinkRequest build(java.util.Map<String, ?> map) throws Exception { CreateHotelShrinkRequest self = new CreateHotelShrinkRequest(); return TeaModel.build(map, self); } public CreateHotelShrinkRequest setAppKey(String appKey) { this.appKey = appKey; return this; } public String getAppKey() { return this.appKey; } public CreateHotelShrinkRequest setEstOpenTime(String estOpenTime) { this.estOpenTime = estOpenTime; return this; } public String getEstOpenTime() { return this.estOpenTime; } public CreateHotelShrinkRequest setHotelAddress(String hotelAddress) { this.hotelAddress = hotelAddress; return this; } public String getHotelAddress() { return this.hotelAddress; } public CreateHotelShrinkRequest setHotelEmail(String hotelEmail) { this.hotelEmail = hotelEmail; return this; } public String getHotelEmail() { return this.hotelEmail; } public CreateHotelShrinkRequest setHotelName(String hotelName) { this.hotelName = hotelName; return this; } public String getHotelName() { return this.hotelName; } public CreateHotelShrinkRequest setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } public String getPhoneNumber() { return this.phoneNumber; } public CreateHotelShrinkRequest setRelatedPk(String relatedPk) { this.relatedPk = relatedPk; return this; } public String getRelatedPk() { return this.relatedPk; } public CreateHotelShrinkRequest setRelatedPksShrink(String relatedPksShrink) { this.relatedPksShrink = relatedPksShrink; return this; } public String getRelatedPksShrink() { return this.relatedPksShrink; } public CreateHotelShrinkRequest setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } public CreateHotelShrinkRequest setRoomNum(Integer roomNum) { this.roomNum = roomNum; return this; } public Integer getRoomNum() { return this.roomNum; } public CreateHotelShrinkRequest setTbOpenId(String tbOpenId) { this.tbOpenId = tbOpenId; return this; } public String getTbOpenId() { return this.tbOpenId; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateRcuSceneHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateRcuSceneHeaders 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 CreateRcuSceneHeaders build(java.util.Map<String, ?> map) throws Exception { CreateRcuSceneHeaders self = new CreateRcuSceneHeaders(); return TeaModel.build(map, self); } public CreateRcuSceneHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public CreateRcuSceneHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) { this.xAcsAligenieAccessToken = xAcsAligenieAccessToken; return this; } public String getXAcsAligenieAccessToken() { return this.xAcsAligenieAccessToken; } public CreateRcuSceneHeaders setAuthorization(String authorization) { this.authorization = authorization; return this; } public String getAuthorization() { return this.authorization; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateRcuSceneRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateRcuSceneRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>520a0c0***5eb</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yoga</p> */ @NameInMap("SceneId") public String sceneId; /** * <p>This parameter is required.</p> */ @NameInMap("SceneRelationExtDTO") public CreateRcuSceneRequestSceneRelationExtDTO sceneRelationExtDTO; public static CreateRcuSceneRequest build(java.util.Map<String, ?> map) throws Exception { CreateRcuSceneRequest self = new CreateRcuSceneRequest(); return TeaModel.build(map, self); } public CreateRcuSceneRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public CreateRcuSceneRequest setSceneId(String sceneId) { this.sceneId = sceneId; return this; } public String getSceneId() { return this.sceneId; } public CreateRcuSceneRequest setSceneRelationExtDTO(CreateRcuSceneRequestSceneRelationExtDTO sceneRelationExtDTO) { this.sceneRelationExtDTO = sceneRelationExtDTO; return this; } public CreateRcuSceneRequestSceneRelationExtDTO getSceneRelationExtDTO() { return this.sceneRelationExtDTO; } public static class CreateRcuSceneRequestSceneRelationExtDTO extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("CorpusList") public java.util.List<String> corpusList; /** * <p>This parameter is required.</p> */ @NameInMap("Description") public String description; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://ailabsaicloudservice.alicdn.com/hotel/icon/changjingmoshi/shuimian.png">https://ailabsaicloudservice.alicdn.com/hotel/icon/changjingmoshi/shuimian.png</a></p> */ @NameInMap("Icon") public String icon; /** * <p>This parameter is required.</p> */ @NameInMap("Name") public String name; public static CreateRcuSceneRequestSceneRelationExtDTO build(java.util.Map<String, ?> map) throws Exception { CreateRcuSceneRequestSceneRelationExtDTO self = new CreateRcuSceneRequestSceneRelationExtDTO(); return TeaModel.build(map, self); } public CreateRcuSceneRequestSceneRelationExtDTO setCorpusList(java.util.List<String> corpusList) { this.corpusList = corpusList; return this; } public java.util.List<String> getCorpusList() { return this.corpusList; } public CreateRcuSceneRequestSceneRelationExtDTO setDescription(String description) { this.description = description; return this; } public String getDescription() { return this.description; } public CreateRcuSceneRequestSceneRelationExtDTO setIcon(String icon) { this.icon = icon; return this; } public String getIcon() { return this.icon; } public CreateRcuSceneRequestSceneRelationExtDTO setName(String name) { this.name = name; return this; } public String getName() { return this.name; } } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateRcuSceneResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateRcuSceneResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CreateRcuSceneResponseBody body; public static CreateRcuSceneResponse build(java.util.Map<String, ?> map) throws Exception { CreateRcuSceneResponse self = new CreateRcuSceneResponse(); return TeaModel.build(map, self); } public CreateRcuSceneResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CreateRcuSceneResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CreateRcuSceneResponse setBody(CreateRcuSceneResponseBody body) { this.body = body; return this; } public CreateRcuSceneResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateRcuSceneResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateRcuSceneResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>844BA5CE-E30A-53CB-8A11-DE1F344C846D</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Result") public Boolean result; /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("StatusCode") public Integer statusCode; public static CreateRcuSceneResponseBody build(java.util.Map<String, ?> map) throws Exception { CreateRcuSceneResponseBody self = new CreateRcuSceneResponseBody(); return TeaModel.build(map, self); } public CreateRcuSceneResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public CreateRcuSceneResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public CreateRcuSceneResponseBody setResult(Boolean result) { this.result = result; return this; } public Boolean getResult() { return this.result; } public CreateRcuSceneResponseBody setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } }
0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0
java-sources/com/aliyun/aligenieip_1_0/2.8.2/com/aliyun/aligenieip_1_0/models/CreateRcuSceneShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aligenieip_1_0.models; import com.aliyun.tea.*; public class CreateRcuSceneShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>520a0c0***5eb</p> */ @NameInMap("HotelId") public String hotelId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>yoga</p> */ @NameInMap("SceneId") public String sceneId; /** * <p>This parameter is required.</p> */ @NameInMap("SceneRelationExtDTO") public String sceneRelationExtDTOShrink; public static CreateRcuSceneShrinkRequest build(java.util.Map<String, ?> map) throws Exception { CreateRcuSceneShrinkRequest self = new CreateRcuSceneShrinkRequest(); return TeaModel.build(map, self); } public CreateRcuSceneShrinkRequest setHotelId(String hotelId) { this.hotelId = hotelId; return this; } public String getHotelId() { return this.hotelId; } public CreateRcuSceneShrinkRequest setSceneId(String sceneId) { this.sceneId = sceneId; return this; } public String getSceneId() { return this.sceneId; } public CreateRcuSceneShrinkRequest setSceneRelationExtDTOShrink(String sceneRelationExtDTOShrink) { this.sceneRelationExtDTOShrink = sceneRelationExtDTOShrink; return this; } public String getSceneRelationExtDTOShrink() { return this.sceneRelationExtDTOShrink; } }