index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
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/RemoveHotelResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class RemoveHotelResponseBody extends TeaModel {
@NameInMap("Extentions")
public java.util.Map<String, ?> extentions;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>73C67BD9-175A-1324-8202-9FAABBB3E6FA</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 RemoveHotelResponseBody build(java.util.Map<String, ?> map) throws Exception {
RemoveHotelResponseBody self = new RemoveHotelResponseBody();
return TeaModel.build(map, self);
}
public RemoveHotelResponseBody setExtentions(java.util.Map<String, ?> extentions) {
this.extentions = extentions;
return this;
}
public java.util.Map<String, ?> getExtentions() {
return this.extentions;
}
public RemoveHotelResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public RemoveHotelResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public RemoveHotelResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
public RemoveHotelResponseBody 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/ResetWelcomeTextAndMusicHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class ResetWelcomeTextAndMusicHeaders 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 ResetWelcomeTextAndMusicHeaders build(java.util.Map<String, ?> map) throws Exception {
ResetWelcomeTextAndMusicHeaders self = new ResetWelcomeTextAndMusicHeaders();
return TeaModel.build(map, self);
}
public ResetWelcomeTextAndMusicHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public ResetWelcomeTextAndMusicHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public ResetWelcomeTextAndMusicHeaders 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/ResetWelcomeTextAndMusicRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class ResetWelcomeTextAndMusicRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>af7***536</p>
*/
@NameInMap("HotelId")
public String hotelId;
public static ResetWelcomeTextAndMusicRequest build(java.util.Map<String, ?> map) throws Exception {
ResetWelcomeTextAndMusicRequest self = new ResetWelcomeTextAndMusicRequest();
return TeaModel.build(map, self);
}
public ResetWelcomeTextAndMusicRequest 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/ResetWelcomeTextAndMusicResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class ResetWelcomeTextAndMusicResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public ResetWelcomeTextAndMusicResponseBody body;
public static ResetWelcomeTextAndMusicResponse build(java.util.Map<String, ?> map) throws Exception {
ResetWelcomeTextAndMusicResponse self = new ResetWelcomeTextAndMusicResponse();
return TeaModel.build(map, self);
}
public ResetWelcomeTextAndMusicResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public ResetWelcomeTextAndMusicResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public ResetWelcomeTextAndMusicResponse setBody(ResetWelcomeTextAndMusicResponseBody body) {
this.body = body;
return this;
}
public ResetWelcomeTextAndMusicResponseBody 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/ResetWelcomeTextAndMusicResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class ResetWelcomeTextAndMusicResponseBody 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 ResetWelcomeTextAndMusicResponseBody build(java.util.Map<String, ?> map) throws Exception {
ResetWelcomeTextAndMusicResponseBody self = new ResetWelcomeTextAndMusicResponseBody();
return TeaModel.build(map, self);
}
public ResetWelcomeTextAndMusicResponseBody setExtentions(java.util.Map<String, ?> extentions) {
this.extentions = extentions;
return this;
}
public java.util.Map<String, ?> getExtentions() {
return this.extentions;
}
public ResetWelcomeTextAndMusicResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public ResetWelcomeTextAndMusicResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public ResetWelcomeTextAndMusicResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
public ResetWelcomeTextAndMusicResponseBody 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/RoomCheckOutHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class RoomCheckOutHeaders 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 RoomCheckOutHeaders build(java.util.Map<String, ?> map) throws Exception {
RoomCheckOutHeaders self = new RoomCheckOutHeaders();
return TeaModel.build(map, self);
}
public RoomCheckOutHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public RoomCheckOutHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public RoomCheckOutHeaders 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/RoomCheckOutRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class RoomCheckOutRequest extends TeaModel {
@NameInMap("DeviceInfo")
public RoomCheckOutRequestDeviceInfo deviceInfo;
@NameInMap("UserInfo")
public RoomCheckOutRequestUserInfo userInfo;
public static RoomCheckOutRequest build(java.util.Map<String, ?> map) throws Exception {
RoomCheckOutRequest self = new RoomCheckOutRequest();
return TeaModel.build(map, self);
}
public RoomCheckOutRequest setDeviceInfo(RoomCheckOutRequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public RoomCheckOutRequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public RoomCheckOutRequest setUserInfo(RoomCheckOutRequestUserInfo userInfo) {
this.userInfo = userInfo;
return this;
}
public RoomCheckOutRequestUserInfo getUserInfo() {
return this.userInfo;
}
public static class RoomCheckOutRequestDeviceInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>HOTEL</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rV/XSgPuxZjx/hN3iw8U+e8ou***lk1r43LWcVW6fvY1Rr4sEPFodpnA==</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static RoomCheckOutRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
RoomCheckOutRequestDeviceInfo self = new RoomCheckOutRequestDeviceInfo();
return TeaModel.build(map, self);
}
public RoomCheckOutRequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public RoomCheckOutRequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public RoomCheckOutRequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public RoomCheckOutRequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public RoomCheckOutRequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
public static class RoomCheckOutRequestUserInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>HOTEL</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rV/XSgPuxZjx/hN3iw8U+e8ou***lk1r43LWcVW6fvY1Rr4sEPFodpnA==</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static RoomCheckOutRequestUserInfo build(java.util.Map<String, ?> map) throws Exception {
RoomCheckOutRequestUserInfo self = new RoomCheckOutRequestUserInfo();
return TeaModel.build(map, self);
}
public RoomCheckOutRequestUserInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public RoomCheckOutRequestUserInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public RoomCheckOutRequestUserInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public RoomCheckOutRequestUserInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public RoomCheckOutRequestUserInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
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/RoomCheckOutResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class RoomCheckOutResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public RoomCheckOutResponseBody body;
public static RoomCheckOutResponse build(java.util.Map<String, ?> map) throws Exception {
RoomCheckOutResponse self = new RoomCheckOutResponse();
return TeaModel.build(map, self);
}
public RoomCheckOutResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public RoomCheckOutResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public RoomCheckOutResponse setBody(RoomCheckOutResponseBody body) {
this.body = body;
return this;
}
public RoomCheckOutResponseBody 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/RoomCheckOutResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class RoomCheckOutResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>dsvrevd</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Result")
public Boolean result;
public static RoomCheckOutResponseBody build(java.util.Map<String, ?> map) throws Exception {
RoomCheckOutResponseBody self = new RoomCheckOutResponseBody();
return TeaModel.build(map, self);
}
public RoomCheckOutResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public RoomCheckOutResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public RoomCheckOutResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public RoomCheckOutResponseBody 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/RoomCheckOutShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class RoomCheckOutShrinkRequest extends TeaModel {
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
@NameInMap("UserInfo")
public String userInfoShrink;
public static RoomCheckOutShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
RoomCheckOutShrinkRequest self = new RoomCheckOutShrinkRequest();
return TeaModel.build(map, self);
}
public RoomCheckOutShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
public RoomCheckOutShrinkRequest setUserInfoShrink(String userInfoShrink) {
this.userInfoShrink = userInfoShrink;
return this;
}
public String getUserInfoShrink() {
return this.userInfoShrink;
}
}
|
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/SubmitHotelOrderHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class SubmitHotelOrderHeaders 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 SubmitHotelOrderHeaders build(java.util.Map<String, ?> map) throws Exception {
SubmitHotelOrderHeaders self = new SubmitHotelOrderHeaders();
return TeaModel.build(map, self);
}
public SubmitHotelOrderHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public SubmitHotelOrderHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public SubmitHotelOrderHeaders 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/SubmitHotelOrderRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class SubmitHotelOrderRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Payload")
public SubmitHotelOrderRequestPayload payload;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public SubmitHotelOrderRequestUserInfo userInfo;
public static SubmitHotelOrderRequest build(java.util.Map<String, ?> map) throws Exception {
SubmitHotelOrderRequest self = new SubmitHotelOrderRequest();
return TeaModel.build(map, self);
}
public SubmitHotelOrderRequest setPayload(SubmitHotelOrderRequestPayload payload) {
this.payload = payload;
return this;
}
public SubmitHotelOrderRequestPayload getPayload() {
return this.payload;
}
public SubmitHotelOrderRequest setUserInfo(SubmitHotelOrderRequestUserInfo userInfo) {
this.userInfo = userInfo;
return this;
}
public SubmitHotelOrderRequestUserInfo getUserInfo() {
return this.userInfo;
}
public static class SubmitHotelOrderRequestPayloadItemList extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>152860</p>
*/
@NameInMap("ItemId")
public Long itemId;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
@NameInMap("Quantity")
public Long quantity;
@NameInMap("Remark")
public String remark;
public static SubmitHotelOrderRequestPayloadItemList build(java.util.Map<String, ?> map) throws Exception {
SubmitHotelOrderRequestPayloadItemList self = new SubmitHotelOrderRequestPayloadItemList();
return TeaModel.build(map, self);
}
public SubmitHotelOrderRequestPayloadItemList setItemId(Long itemId) {
this.itemId = itemId;
return this;
}
public Long getItemId() {
return this.itemId;
}
public SubmitHotelOrderRequestPayloadItemList setQuantity(Long quantity) {
this.quantity = quantity;
return this;
}
public Long getQuantity() {
return this.quantity;
}
public SubmitHotelOrderRequestPayloadItemList setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
}
public static class SubmitHotelOrderRequestPayload extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("ItemList")
public java.util.List<SubmitHotelOrderRequestPayloadItemList> itemList;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>GOODS</p>
*/
@NameInMap("Type")
public String type;
public static SubmitHotelOrderRequestPayload build(java.util.Map<String, ?> map) throws Exception {
SubmitHotelOrderRequestPayload self = new SubmitHotelOrderRequestPayload();
return TeaModel.build(map, self);
}
public SubmitHotelOrderRequestPayload setItemList(java.util.List<SubmitHotelOrderRequestPayloadItemList> itemList) {
this.itemList = itemList;
return this;
}
public java.util.List<SubmitHotelOrderRequestPayloadItemList> getItemList() {
return this.itemList;
}
public SubmitHotelOrderRequestPayload setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
public static class SubmitHotelOrderRequestUserInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1248494721591392955</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>mFU6VtVU+pgA8lx6rYMo7SPl11t+8b+8ALrn10MIPEdpK/HI9wELAEppYhPI1cYRDa4og8AMjAEBZKbLUwFjFA==</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
@NameInMap("OrganizationId")
public String organizationId;
public static SubmitHotelOrderRequestUserInfo build(java.util.Map<String, ?> map) throws Exception {
SubmitHotelOrderRequestUserInfo self = new SubmitHotelOrderRequestUserInfo();
return TeaModel.build(map, self);
}
public SubmitHotelOrderRequestUserInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public SubmitHotelOrderRequestUserInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public SubmitHotelOrderRequestUserInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public SubmitHotelOrderRequestUserInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public SubmitHotelOrderRequestUserInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
}
|
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/SubmitHotelOrderResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class SubmitHotelOrderResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public SubmitHotelOrderResponseBody body;
public static SubmitHotelOrderResponse build(java.util.Map<String, ?> map) throws Exception {
SubmitHotelOrderResponse self = new SubmitHotelOrderResponse();
return TeaModel.build(map, self);
}
public SubmitHotelOrderResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public SubmitHotelOrderResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public SubmitHotelOrderResponse setBody(SubmitHotelOrderResponseBody body) {
this.body = body;
return this;
}
public SubmitHotelOrderResponseBody 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/SubmitHotelOrderResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class SubmitHotelOrderResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>CCCF2E86-D9B5-12A6-AD25-8A06933D2B0F</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>20220809104752000114671478353329</p>
*/
@NameInMap("Result")
public String result;
@NameInMap("StatusCode")
public Integer statusCode;
public static SubmitHotelOrderResponseBody build(java.util.Map<String, ?> map) throws Exception {
SubmitHotelOrderResponseBody self = new SubmitHotelOrderResponseBody();
return TeaModel.build(map, self);
}
public SubmitHotelOrderResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public SubmitHotelOrderResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public SubmitHotelOrderResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public SubmitHotelOrderResponseBody setResult(String result) {
this.result = result;
return this;
}
public String getResult() {
return this.result;
}
public SubmitHotelOrderResponseBody 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/SubmitHotelOrderShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class SubmitHotelOrderShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Payload")
public String payloadShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("UserInfo")
public String userInfoShrink;
public static SubmitHotelOrderShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
SubmitHotelOrderShrinkRequest self = new SubmitHotelOrderShrinkRequest();
return TeaModel.build(map, self);
}
public SubmitHotelOrderShrinkRequest setPayloadShrink(String payloadShrink) {
this.payloadShrink = payloadShrink;
return this;
}
public String getPayloadShrink() {
return this.payloadShrink;
}
public SubmitHotelOrderShrinkRequest setUserInfoShrink(String userInfoShrink) {
this.userInfoShrink = userInfoShrink;
return this;
}
public String getUserInfoShrink() {
return this.userInfoShrink;
}
}
|
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/SyncDeviceStatusWithAkHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class SyncDeviceStatusWithAkHeaders 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 SyncDeviceStatusWithAkHeaders build(java.util.Map<String, ?> map) throws Exception {
SyncDeviceStatusWithAkHeaders self = new SyncDeviceStatusWithAkHeaders();
return TeaModel.build(map, self);
}
public SyncDeviceStatusWithAkHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public SyncDeviceStatusWithAkHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public SyncDeviceStatusWithAkHeaders 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/SyncDeviceStatusWithAkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class SyncDeviceStatusWithAkRequest extends TeaModel {
@NameInMap("CategoryCnName")
public String categoryCnName;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>light</p>
*/
@NameInMap("CategoryEnName")
public String categoryEnName;
@NameInMap("DeviceName")
public String deviceName;
/**
* <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>room</p>
*/
@NameInMap("Location")
public String location;
@NameInMap("LocationCnName")
public String locationCnName;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>bedLight</p>
*/
@NameInMap("Number")
public String number;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1211</p>
*/
@NameInMap("RoomNo")
public String roomNo;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("Switch")
public Integer _switch;
@NameInMap("fanSpeed")
public String fanSpeed;
@NameInMap("mode")
public String mode;
@NameInMap("roomTemperature")
public String roomTemperature;
@NameInMap("temperature")
public String temperature;
@NameInMap("value")
public Integer value;
public static SyncDeviceStatusWithAkRequest build(java.util.Map<String, ?> map) throws Exception {
SyncDeviceStatusWithAkRequest self = new SyncDeviceStatusWithAkRequest();
return TeaModel.build(map, self);
}
public SyncDeviceStatusWithAkRequest setCategoryCnName(String categoryCnName) {
this.categoryCnName = categoryCnName;
return this;
}
public String getCategoryCnName() {
return this.categoryCnName;
}
public SyncDeviceStatusWithAkRequest setCategoryEnName(String categoryEnName) {
this.categoryEnName = categoryEnName;
return this;
}
public String getCategoryEnName() {
return this.categoryEnName;
}
public SyncDeviceStatusWithAkRequest setDeviceName(String deviceName) {
this.deviceName = deviceName;
return this;
}
public String getDeviceName() {
return this.deviceName;
}
public SyncDeviceStatusWithAkRequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public SyncDeviceStatusWithAkRequest setLocation(String location) {
this.location = location;
return this;
}
public String getLocation() {
return this.location;
}
public SyncDeviceStatusWithAkRequest setLocationCnName(String locationCnName) {
this.locationCnName = locationCnName;
return this;
}
public String getLocationCnName() {
return this.locationCnName;
}
public SyncDeviceStatusWithAkRequest setNumber(String number) {
this.number = number;
return this;
}
public String getNumber() {
return this.number;
}
public SyncDeviceStatusWithAkRequest setRoomNo(String roomNo) {
this.roomNo = roomNo;
return this;
}
public String getRoomNo() {
return this.roomNo;
}
public SyncDeviceStatusWithAkRequest set_switch(Integer _switch) {
this._switch = _switch;
return this;
}
public Integer get_switch() {
return this._switch;
}
public SyncDeviceStatusWithAkRequest setFanSpeed(String fanSpeed) {
this.fanSpeed = fanSpeed;
return this;
}
public String getFanSpeed() {
return this.fanSpeed;
}
public SyncDeviceStatusWithAkRequest setMode(String mode) {
this.mode = mode;
return this;
}
public String getMode() {
return this.mode;
}
public SyncDeviceStatusWithAkRequest setRoomTemperature(String roomTemperature) {
this.roomTemperature = roomTemperature;
return this;
}
public String getRoomTemperature() {
return this.roomTemperature;
}
public SyncDeviceStatusWithAkRequest setTemperature(String temperature) {
this.temperature = temperature;
return this;
}
public String getTemperature() {
return this.temperature;
}
public SyncDeviceStatusWithAkRequest setValue(Integer value) {
this.value = value;
return this;
}
public Integer 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/SyncDeviceStatusWithAkResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class SyncDeviceStatusWithAkResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public SyncDeviceStatusWithAkResponseBody body;
public static SyncDeviceStatusWithAkResponse build(java.util.Map<String, ?> map) throws Exception {
SyncDeviceStatusWithAkResponse self = new SyncDeviceStatusWithAkResponse();
return TeaModel.build(map, self);
}
public SyncDeviceStatusWithAkResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public SyncDeviceStatusWithAkResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public SyncDeviceStatusWithAkResponse setBody(SyncDeviceStatusWithAkResponseBody body) {
this.body = body;
return this;
}
public SyncDeviceStatusWithAkResponseBody 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/SyncDeviceStatusWithAkResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class SyncDeviceStatusWithAkResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Result")
public Boolean result;
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("StatusCode")
public Integer statusCode;
/**
* <strong>example:</strong>
* <p>F12B6147-5925-19E5-A3AD-E1EE1360F34E</p>
*/
@NameInMap("requestId")
public String requestId;
public static SyncDeviceStatusWithAkResponseBody build(java.util.Map<String, ?> map) throws Exception {
SyncDeviceStatusWithAkResponseBody self = new SyncDeviceStatusWithAkResponseBody();
return TeaModel.build(map, self);
}
public SyncDeviceStatusWithAkResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public SyncDeviceStatusWithAkResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
public SyncDeviceStatusWithAkResponseBody setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public SyncDeviceStatusWithAkResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
}
|
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/UpdateBasicInfoQAHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateBasicInfoQAHeaders 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 UpdateBasicInfoQAHeaders build(java.util.Map<String, ?> map) throws Exception {
UpdateBasicInfoQAHeaders self = new UpdateBasicInfoQAHeaders();
return TeaModel.build(map, self);
}
public UpdateBasicInfoQAHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public UpdateBasicInfoQAHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public UpdateBasicInfoQAHeaders 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/UpdateBasicInfoQARequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateBasicInfoQARequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>11:11</p>
*/
@NameInMap("CheckInTime")
public String checkInTime;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>11:11</p>
*/
@NameInMap("CheckOutTime")
public String checkOutTime;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("HotelAddress")
public String hotelAddress;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>af7***536</p>
*/
@NameInMap("HotelId")
public String hotelId;
@NameInMap("HotelIntroduction")
public String hotelIntroduction;
@NameInMap("HotelMember")
public String hotelMember;
@NameInMap("HotelService")
public String hotelService;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("ParkingExpenses")
public String parkingExpenses;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("ParkingPosition")
public String parkingPosition;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123***</p>
*/
@NameInMap("PhoneNumber")
public String phoneNumber;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("WifiName")
public String wifiName;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("WifiPassword")
public String wifiPassword;
public static UpdateBasicInfoQARequest build(java.util.Map<String, ?> map) throws Exception {
UpdateBasicInfoQARequest self = new UpdateBasicInfoQARequest();
return TeaModel.build(map, self);
}
public UpdateBasicInfoQARequest setCheckInTime(String checkInTime) {
this.checkInTime = checkInTime;
return this;
}
public String getCheckInTime() {
return this.checkInTime;
}
public UpdateBasicInfoQARequest setCheckOutTime(String checkOutTime) {
this.checkOutTime = checkOutTime;
return this;
}
public String getCheckOutTime() {
return this.checkOutTime;
}
public UpdateBasicInfoQARequest setHotelAddress(String hotelAddress) {
this.hotelAddress = hotelAddress;
return this;
}
public String getHotelAddress() {
return this.hotelAddress;
}
public UpdateBasicInfoQARequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateBasicInfoQARequest setHotelIntroduction(String hotelIntroduction) {
this.hotelIntroduction = hotelIntroduction;
return this;
}
public String getHotelIntroduction() {
return this.hotelIntroduction;
}
public UpdateBasicInfoQARequest setHotelMember(String hotelMember) {
this.hotelMember = hotelMember;
return this;
}
public String getHotelMember() {
return this.hotelMember;
}
public UpdateBasicInfoQARequest setHotelService(String hotelService) {
this.hotelService = hotelService;
return this;
}
public String getHotelService() {
return this.hotelService;
}
public UpdateBasicInfoQARequest setParkingExpenses(String parkingExpenses) {
this.parkingExpenses = parkingExpenses;
return this;
}
public String getParkingExpenses() {
return this.parkingExpenses;
}
public UpdateBasicInfoQARequest setParkingPosition(String parkingPosition) {
this.parkingPosition = parkingPosition;
return this;
}
public String getParkingPosition() {
return this.parkingPosition;
}
public UpdateBasicInfoQARequest setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public UpdateBasicInfoQARequest setWifiName(String wifiName) {
this.wifiName = wifiName;
return this;
}
public String getWifiName() {
return this.wifiName;
}
public UpdateBasicInfoQARequest setWifiPassword(String wifiPassword) {
this.wifiPassword = wifiPassword;
return this;
}
public String getWifiPassword() {
return this.wifiPassword;
}
}
|
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/UpdateBasicInfoQAResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateBasicInfoQAResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public UpdateBasicInfoQAResponseBody body;
public static UpdateBasicInfoQAResponse build(java.util.Map<String, ?> map) throws Exception {
UpdateBasicInfoQAResponse self = new UpdateBasicInfoQAResponse();
return TeaModel.build(map, self);
}
public UpdateBasicInfoQAResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public UpdateBasicInfoQAResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public UpdateBasicInfoQAResponse setBody(UpdateBasicInfoQAResponseBody body) {
this.body = body;
return this;
}
public UpdateBasicInfoQAResponseBody 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/UpdateBasicInfoQAResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateBasicInfoQAResponseBody 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 UpdateBasicInfoQAResponseBody build(java.util.Map<String, ?> map) throws Exception {
UpdateBasicInfoQAResponseBody self = new UpdateBasicInfoQAResponseBody();
return TeaModel.build(map, self);
}
public UpdateBasicInfoQAResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public UpdateBasicInfoQAResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public UpdateBasicInfoQAResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
public UpdateBasicInfoQAResponseBody 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/UpdateCustomQAHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateCustomQAHeaders 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 UpdateCustomQAHeaders build(java.util.Map<String, ?> map) throws Exception {
UpdateCustomQAHeaders self = new UpdateCustomQAHeaders();
return TeaModel.build(map, self);
}
public UpdateCustomQAHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public UpdateCustomQAHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public UpdateCustomQAHeaders 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/UpdateCustomQARequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateCustomQARequest extends TeaModel {
@NameInMap("Answers")
public java.util.List<String> answers;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("CustomQAId")
public String customQAId;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>af7***536</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 UpdateCustomQARequest build(java.util.Map<String, ?> map) throws Exception {
UpdateCustomQARequest self = new UpdateCustomQARequest();
return TeaModel.build(map, self);
}
public UpdateCustomQARequest setAnswers(java.util.List<String> answers) {
this.answers = answers;
return this;
}
public java.util.List<String> getAnswers() {
return this.answers;
}
public UpdateCustomQARequest setCustomQAId(String customQAId) {
this.customQAId = customQAId;
return this;
}
public String getCustomQAId() {
return this.customQAId;
}
public UpdateCustomQARequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateCustomQARequest setKeyWords(java.util.List<String> keyWords) {
this.keyWords = keyWords;
return this;
}
public java.util.List<String> getKeyWords() {
return this.keyWords;
}
public UpdateCustomQARequest setMajorQuestion(String majorQuestion) {
this.majorQuestion = majorQuestion;
return this;
}
public String getMajorQuestion() {
return this.majorQuestion;
}
public UpdateCustomQARequest 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/UpdateCustomQAResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateCustomQAResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public UpdateCustomQAResponseBody body;
public static UpdateCustomQAResponse build(java.util.Map<String, ?> map) throws Exception {
UpdateCustomQAResponse self = new UpdateCustomQAResponse();
return TeaModel.build(map, self);
}
public UpdateCustomQAResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public UpdateCustomQAResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public UpdateCustomQAResponse setBody(UpdateCustomQAResponseBody body) {
this.body = body;
return this;
}
public UpdateCustomQAResponseBody 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/UpdateCustomQAResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateCustomQAResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>73C6***BB3E6FA</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 UpdateCustomQAResponseBody build(java.util.Map<String, ?> map) throws Exception {
UpdateCustomQAResponseBody self = new UpdateCustomQAResponseBody();
return TeaModel.build(map, self);
}
public UpdateCustomQAResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public UpdateCustomQAResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public UpdateCustomQAResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
public UpdateCustomQAResponseBody 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/UpdateCustomQAShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateCustomQAShrinkRequest extends TeaModel {
@NameInMap("Answers")
public String answersShrink;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("CustomQAId")
public String customQAId;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>af7***536</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 UpdateCustomQAShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
UpdateCustomQAShrinkRequest self = new UpdateCustomQAShrinkRequest();
return TeaModel.build(map, self);
}
public UpdateCustomQAShrinkRequest setAnswersShrink(String answersShrink) {
this.answersShrink = answersShrink;
return this;
}
public String getAnswersShrink() {
return this.answersShrink;
}
public UpdateCustomQAShrinkRequest setCustomQAId(String customQAId) {
this.customQAId = customQAId;
return this;
}
public String getCustomQAId() {
return this.customQAId;
}
public UpdateCustomQAShrinkRequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateCustomQAShrinkRequest setKeyWordsShrink(String keyWordsShrink) {
this.keyWordsShrink = keyWordsShrink;
return this;
}
public String getKeyWordsShrink() {
return this.keyWordsShrink;
}
public UpdateCustomQAShrinkRequest setMajorQuestion(String majorQuestion) {
this.majorQuestion = majorQuestion;
return this;
}
public String getMajorQuestion() {
return this.majorQuestion;
}
public UpdateCustomQAShrinkRequest 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/UpdateHotelAlarmHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelAlarmHeaders 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 UpdateHotelAlarmHeaders build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelAlarmHeaders self = new UpdateHotelAlarmHeaders();
return TeaModel.build(map, self);
}
public UpdateHotelAlarmHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public UpdateHotelAlarmHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public UpdateHotelAlarmHeaders 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/UpdateHotelAlarmRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelAlarmRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Alarms")
public java.util.List<UpdateHotelAlarmRequestAlarms> alarms;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a7a381a668bc485980bed3876a75e013</p>
*/
@NameInMap("HotelId")
public String hotelId;
@NameInMap("ScheduleInfo")
public UpdateHotelAlarmRequestScheduleInfo scheduleInfo;
public static UpdateHotelAlarmRequest build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelAlarmRequest self = new UpdateHotelAlarmRequest();
return TeaModel.build(map, self);
}
public UpdateHotelAlarmRequest setAlarms(java.util.List<UpdateHotelAlarmRequestAlarms> alarms) {
this.alarms = alarms;
return this;
}
public java.util.List<UpdateHotelAlarmRequestAlarms> getAlarms() {
return this.alarms;
}
public UpdateHotelAlarmRequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateHotelAlarmRequest setScheduleInfo(UpdateHotelAlarmRequestScheduleInfo scheduleInfo) {
this.scheduleInfo = scheduleInfo;
return this;
}
public UpdateHotelAlarmRequestScheduleInfo getScheduleInfo() {
return this.scheduleInfo;
}
public static class UpdateHotelAlarmRequestAlarms extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1234567</p>
*/
@NameInMap("AlarmId")
public Long alarmId;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Pvk***VTA==</p>
*/
@NameInMap("DeviceOpenId")
public String deviceOpenId;
/**
* <strong>example:</strong>
* <p>101</p>
*/
@NameInMap("RoomNo")
public String roomNo;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>mgw/***dHQd</p>
*/
@NameInMap("UserOpenId")
public String userOpenId;
public static UpdateHotelAlarmRequestAlarms build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelAlarmRequestAlarms self = new UpdateHotelAlarmRequestAlarms();
return TeaModel.build(map, self);
}
public UpdateHotelAlarmRequestAlarms setAlarmId(Long alarmId) {
this.alarmId = alarmId;
return this;
}
public Long getAlarmId() {
return this.alarmId;
}
public UpdateHotelAlarmRequestAlarms setDeviceOpenId(String deviceOpenId) {
this.deviceOpenId = deviceOpenId;
return this;
}
public String getDeviceOpenId() {
return this.deviceOpenId;
}
public UpdateHotelAlarmRequestAlarms setRoomNo(String roomNo) {
this.roomNo = roomNo;
return this;
}
public String getRoomNo() {
return this.roomNo;
}
public UpdateHotelAlarmRequestAlarms setUserOpenId(String userOpenId) {
this.userOpenId = userOpenId;
return this;
}
public String getUserOpenId() {
return this.userOpenId;
}
}
public static class UpdateHotelAlarmRequestScheduleInfoOnce extends TeaModel {
/**
* <strong>example:</strong>
* <p>20</p>
*/
@NameInMap("Day")
public Integer day;
/**
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("Hour")
public Integer hour;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Minute")
public Integer minute;
/**
* <strong>example:</strong>
* <p>9</p>
*/
@NameInMap("Month")
public Integer month;
/**
* <strong>example:</strong>
* <p>2022</p>
*/
@NameInMap("Year")
public Integer year;
public static UpdateHotelAlarmRequestScheduleInfoOnce build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelAlarmRequestScheduleInfoOnce self = new UpdateHotelAlarmRequestScheduleInfoOnce();
return TeaModel.build(map, self);
}
public UpdateHotelAlarmRequestScheduleInfoOnce setDay(Integer day) {
this.day = day;
return this;
}
public Integer getDay() {
return this.day;
}
public UpdateHotelAlarmRequestScheduleInfoOnce setHour(Integer hour) {
this.hour = hour;
return this;
}
public Integer getHour() {
return this.hour;
}
public UpdateHotelAlarmRequestScheduleInfoOnce setMinute(Integer minute) {
this.minute = minute;
return this;
}
public Integer getMinute() {
return this.minute;
}
public UpdateHotelAlarmRequestScheduleInfoOnce setMonth(Integer month) {
this.month = month;
return this;
}
public Integer getMonth() {
return this.month;
}
public UpdateHotelAlarmRequestScheduleInfoOnce setYear(Integer year) {
this.year = year;
return this;
}
public Integer getYear() {
return this.year;
}
}
public static class UpdateHotelAlarmRequestScheduleInfoWeekly extends TeaModel {
@NameInMap("DaysOfWeek")
public java.util.List<Integer> daysOfWeek;
/**
* <strong>example:</strong>
* <p>10</p>
*/
@NameInMap("Hour")
public Integer hour;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Minute")
public Integer minute;
public static UpdateHotelAlarmRequestScheduleInfoWeekly build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelAlarmRequestScheduleInfoWeekly self = new UpdateHotelAlarmRequestScheduleInfoWeekly();
return TeaModel.build(map, self);
}
public UpdateHotelAlarmRequestScheduleInfoWeekly setDaysOfWeek(java.util.List<Integer> daysOfWeek) {
this.daysOfWeek = daysOfWeek;
return this;
}
public java.util.List<Integer> getDaysOfWeek() {
return this.daysOfWeek;
}
public UpdateHotelAlarmRequestScheduleInfoWeekly setHour(Integer hour) {
this.hour = hour;
return this;
}
public Integer getHour() {
return this.hour;
}
public UpdateHotelAlarmRequestScheduleInfoWeekly setMinute(Integer minute) {
this.minute = minute;
return this;
}
public Integer getMinute() {
return this.minute;
}
}
public static class UpdateHotelAlarmRequestScheduleInfo extends TeaModel {
@NameInMap("Once")
public UpdateHotelAlarmRequestScheduleInfoOnce once;
/**
* <p>ONCE, WEEKLY</p>
*
* <strong>example:</strong>
* <p>ONCE</p>
*/
@NameInMap("Type")
public String type;
@NameInMap("Weekly")
public UpdateHotelAlarmRequestScheduleInfoWeekly weekly;
public static UpdateHotelAlarmRequestScheduleInfo build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelAlarmRequestScheduleInfo self = new UpdateHotelAlarmRequestScheduleInfo();
return TeaModel.build(map, self);
}
public UpdateHotelAlarmRequestScheduleInfo setOnce(UpdateHotelAlarmRequestScheduleInfoOnce once) {
this.once = once;
return this;
}
public UpdateHotelAlarmRequestScheduleInfoOnce getOnce() {
return this.once;
}
public UpdateHotelAlarmRequestScheduleInfo setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public UpdateHotelAlarmRequestScheduleInfo setWeekly(UpdateHotelAlarmRequestScheduleInfoWeekly weekly) {
this.weekly = weekly;
return this;
}
public UpdateHotelAlarmRequestScheduleInfoWeekly 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/UpdateHotelAlarmResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelAlarmResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public UpdateHotelAlarmResponseBody body;
public static UpdateHotelAlarmResponse build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelAlarmResponse self = new UpdateHotelAlarmResponse();
return TeaModel.build(map, self);
}
public UpdateHotelAlarmResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public UpdateHotelAlarmResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public UpdateHotelAlarmResponse setBody(UpdateHotelAlarmResponseBody body) {
this.body = body;
return this;
}
public UpdateHotelAlarmResponseBody 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/UpdateHotelAlarmResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelAlarmResponseBody 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>1</p>
*/
@NameInMap("Result")
public Integer result;
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("StatusCode")
public Integer statusCode;
public static UpdateHotelAlarmResponseBody build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelAlarmResponseBody self = new UpdateHotelAlarmResponseBody();
return TeaModel.build(map, self);
}
public UpdateHotelAlarmResponseBody setExtentions(java.util.Map<String, ?> extentions) {
this.extentions = extentions;
return this;
}
public java.util.Map<String, ?> getExtentions() {
return this.extentions;
}
public UpdateHotelAlarmResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public UpdateHotelAlarmResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public UpdateHotelAlarmResponseBody setResult(Integer result) {
this.result = result;
return this;
}
public Integer getResult() {
return this.result;
}
public UpdateHotelAlarmResponseBody 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/UpdateHotelAlarmShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelAlarmShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("Alarms")
public String alarmsShrink;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a7a381a668bc485980bed3876a75e013</p>
*/
@NameInMap("HotelId")
public String hotelId;
@NameInMap("ScheduleInfo")
public String scheduleInfoShrink;
public static UpdateHotelAlarmShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelAlarmShrinkRequest self = new UpdateHotelAlarmShrinkRequest();
return TeaModel.build(map, self);
}
public UpdateHotelAlarmShrinkRequest setAlarmsShrink(String alarmsShrink) {
this.alarmsShrink = alarmsShrink;
return this;
}
public String getAlarmsShrink() {
return this.alarmsShrink;
}
public UpdateHotelAlarmShrinkRequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateHotelAlarmShrinkRequest 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/UpdateHotelHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelHeaders 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 UpdateHotelHeaders build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelHeaders self = new UpdateHotelHeaders();
return TeaModel.build(map, self);
}
public UpdateHotelHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public UpdateHotelHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public UpdateHotelHeaders 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/UpdateHotelRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>31342884</p>
*/
@NameInMap("AppKey")
public String appKey;
/**
* <strong>example:</strong>
* <p>2022-02-22 00:00:00</p>
*/
@NameInMap("EstOpenTime")
public String estOpenTime;
@NameInMap("HotelAddress")
public String hotelAddress;
/**
* <strong>example:</strong>
* <p>a*****@hotel.com</p>
*/
@NameInMap("HotelEmail")
public String hotelEmail;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>e6dd44fd16084db8a60d69fd625d9f0f</p>
*/
@NameInMap("HotelId")
public String hotelId;
@NameInMap("HotelName")
public String hotelName;
/**
* <strong>example:</strong>
* <p>130***</p>
*/
@NameInMap("PhoneNumber")
public String phoneNumber;
@NameInMap("RelatedPks")
public java.util.List<String> relatedPks;
@NameInMap("Remark")
public String remark;
/**
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("RoomNum")
public Integer roomNum;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>AAEVK***UE3d3Z2ETwh</p>
*/
@NameInMap("TbOpenId")
public String tbOpenId;
public static UpdateHotelRequest build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelRequest self = new UpdateHotelRequest();
return TeaModel.build(map, self);
}
public UpdateHotelRequest setAppKey(String appKey) {
this.appKey = appKey;
return this;
}
public String getAppKey() {
return this.appKey;
}
public UpdateHotelRequest setEstOpenTime(String estOpenTime) {
this.estOpenTime = estOpenTime;
return this;
}
public String getEstOpenTime() {
return this.estOpenTime;
}
public UpdateHotelRequest setHotelAddress(String hotelAddress) {
this.hotelAddress = hotelAddress;
return this;
}
public String getHotelAddress() {
return this.hotelAddress;
}
public UpdateHotelRequest setHotelEmail(String hotelEmail) {
this.hotelEmail = hotelEmail;
return this;
}
public String getHotelEmail() {
return this.hotelEmail;
}
public UpdateHotelRequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateHotelRequest setHotelName(String hotelName) {
this.hotelName = hotelName;
return this;
}
public String getHotelName() {
return this.hotelName;
}
public UpdateHotelRequest setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public UpdateHotelRequest setRelatedPks(java.util.List<String> relatedPks) {
this.relatedPks = relatedPks;
return this;
}
public java.util.List<String> getRelatedPks() {
return this.relatedPks;
}
public UpdateHotelRequest setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
public UpdateHotelRequest setRoomNum(Integer roomNum) {
this.roomNum = roomNum;
return this;
}
public Integer getRoomNum() {
return this.roomNum;
}
public UpdateHotelRequest 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/UpdateHotelResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public UpdateHotelResponseBody body;
public static UpdateHotelResponse build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelResponse self = new UpdateHotelResponse();
return TeaModel.build(map, self);
}
public UpdateHotelResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public UpdateHotelResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public UpdateHotelResponse setBody(UpdateHotelResponseBody body) {
this.body = body;
return this;
}
public UpdateHotelResponseBody 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/UpdateHotelResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelResponseBody extends TeaModel {
@NameInMap("Extentions")
public java.util.Map<String, ?> extentions;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>46C53AEB-B19C-5C42-B32E-A726979C126F</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 UpdateHotelResponseBody build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelResponseBody self = new UpdateHotelResponseBody();
return TeaModel.build(map, self);
}
public UpdateHotelResponseBody setExtentions(java.util.Map<String, ?> extentions) {
this.extentions = extentions;
return this;
}
public java.util.Map<String, ?> getExtentions() {
return this.extentions;
}
public UpdateHotelResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public UpdateHotelResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public UpdateHotelResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
public UpdateHotelResponseBody 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/UpdateHotelSceneBookItemHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelSceneBookItemHeaders 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 UpdateHotelSceneBookItemHeaders build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneBookItemHeaders self = new UpdateHotelSceneBookItemHeaders();
return TeaModel.build(map, self);
}
public UpdateHotelSceneBookItemHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public UpdateHotelSceneBookItemHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public UpdateHotelSceneBookItemHeaders 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/UpdateHotelSceneBookItemRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelSceneBookItemRequest extends TeaModel {
/**
* <p>hotelID</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>80d84ea8ed9e422fbad52715c8fc56f1</p>
*/
@NameInMap("HotelId")
public String hotelId;
/**
* <p>updateHotelSceneBookReq</p>
* <p>This parameter is required.</p>
*/
@NameInMap("UpdateHotelSceneBookReq")
public UpdateHotelSceneBookItemRequestUpdateHotelSceneBookReq updateHotelSceneBookReq;
public static UpdateHotelSceneBookItemRequest build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneBookItemRequest self = new UpdateHotelSceneBookItemRequest();
return TeaModel.build(map, self);
}
public UpdateHotelSceneBookItemRequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateHotelSceneBookItemRequest setUpdateHotelSceneBookReq(UpdateHotelSceneBookItemRequestUpdateHotelSceneBookReq updateHotelSceneBookReq) {
this.updateHotelSceneBookReq = updateHotelSceneBookReq;
return this;
}
public UpdateHotelSceneBookItemRequestUpdateHotelSceneBookReq getUpdateHotelSceneBookReq() {
return this.updateHotelSceneBookReq;
}
public static class UpdateHotelSceneBookItemRequestUpdateHotelSceneBookReq extends TeaModel {
/**
* <p>icon</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p><a href="https://ailabs.alibabausercontent.com/platform/28d7a91e3c05db3855725fc39e0387e7/welcome_audios/aa918294b6ca3aa115c51135bf9b80cb/l9f996sq.png">https://ailabs.alibabausercontent.com/platform/28d7a91e3c05db3855725fc39e0387e7/welcome_audios/aa918294b6ca3aa115c51135bf9b80cb/l9f996sq.png</a></p>
*/
@NameInMap("Icon")
public String icon;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("Id")
public Long id;
/**
* <strong>example:</strong>
* <p>青椒肉丝</p>
*/
@NameInMap("Name")
public String name;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1250</p>
*/
@NameInMap("Price")
public Long price;
public static UpdateHotelSceneBookItemRequestUpdateHotelSceneBookReq build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneBookItemRequestUpdateHotelSceneBookReq self = new UpdateHotelSceneBookItemRequestUpdateHotelSceneBookReq();
return TeaModel.build(map, self);
}
public UpdateHotelSceneBookItemRequestUpdateHotelSceneBookReq setIcon(String icon) {
this.icon = icon;
return this;
}
public String getIcon() {
return this.icon;
}
public UpdateHotelSceneBookItemRequestUpdateHotelSceneBookReq setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public UpdateHotelSceneBookItemRequestUpdateHotelSceneBookReq setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public UpdateHotelSceneBookItemRequestUpdateHotelSceneBookReq setPrice(Long price) {
this.price = price;
return this;
}
public Long getPrice() {
return this.price;
}
}
}
|
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/UpdateHotelSceneBookItemResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelSceneBookItemResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public UpdateHotelSceneBookItemResponseBody body;
public static UpdateHotelSceneBookItemResponse build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneBookItemResponse self = new UpdateHotelSceneBookItemResponse();
return TeaModel.build(map, self);
}
public UpdateHotelSceneBookItemResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public UpdateHotelSceneBookItemResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public UpdateHotelSceneBookItemResponse setBody(UpdateHotelSceneBookItemResponseBody body) {
this.body = body;
return this;
}
public UpdateHotelSceneBookItemResponseBody 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/UpdateHotelSceneBookItemResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelSceneBookItemResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>0EC7*726E</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Result")
public Boolean result;
public static UpdateHotelSceneBookItemResponseBody build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneBookItemResponseBody self = new UpdateHotelSceneBookItemResponseBody();
return TeaModel.build(map, self);
}
public UpdateHotelSceneBookItemResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public UpdateHotelSceneBookItemResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public UpdateHotelSceneBookItemResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public UpdateHotelSceneBookItemResponseBody 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/UpdateHotelSceneBookItemShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelSceneBookItemShrinkRequest extends TeaModel {
/**
* <p>hotelID</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>80d84ea8ed9e422fbad52715c8fc56f1</p>
*/
@NameInMap("HotelId")
public String hotelId;
/**
* <p>updateHotelSceneBookReq</p>
* <p>This parameter is required.</p>
*/
@NameInMap("UpdateHotelSceneBookReq")
public String updateHotelSceneBookReqShrink;
public static UpdateHotelSceneBookItemShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneBookItemShrinkRequest self = new UpdateHotelSceneBookItemShrinkRequest();
return TeaModel.build(map, self);
}
public UpdateHotelSceneBookItemShrinkRequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateHotelSceneBookItemShrinkRequest setUpdateHotelSceneBookReqShrink(String updateHotelSceneBookReqShrink) {
this.updateHotelSceneBookReqShrink = updateHotelSceneBookReqShrink;
return this;
}
public String getUpdateHotelSceneBookReqShrink() {
return this.updateHotelSceneBookReqShrink;
}
}
|
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/UpdateHotelSceneItemHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelSceneItemHeaders 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 UpdateHotelSceneItemHeaders build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneItemHeaders self = new UpdateHotelSceneItemHeaders();
return TeaModel.build(map, self);
}
public UpdateHotelSceneItemHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public UpdateHotelSceneItemHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public UpdateHotelSceneItemHeaders 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/UpdateHotelSceneItemRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelSceneItemRequest extends TeaModel {
/**
* <p>hotelID</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>80d84ea8ed9e422fbad52715c8fc56f1</p>
*/
@NameInMap("HotelId")
public String hotelId;
/**
* <p>updateHotelSceneReq</p>
* <p>This parameter is required.</p>
*/
@NameInMap("UpdateHotelSceneOperateReq")
public UpdateHotelSceneItemRequestUpdateHotelSceneOperateReq updateHotelSceneOperateReq;
/**
* <p>UpdateHotelSceneReq</p>
* <p>This parameter is required.</p>
*/
@NameInMap("UpdateHotelSceneReq")
public UpdateHotelSceneItemRequestUpdateHotelSceneReq updateHotelSceneReq;
public static UpdateHotelSceneItemRequest build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneItemRequest self = new UpdateHotelSceneItemRequest();
return TeaModel.build(map, self);
}
public UpdateHotelSceneItemRequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateHotelSceneItemRequest setUpdateHotelSceneOperateReq(UpdateHotelSceneItemRequestUpdateHotelSceneOperateReq updateHotelSceneOperateReq) {
this.updateHotelSceneOperateReq = updateHotelSceneOperateReq;
return this;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneOperateReq getUpdateHotelSceneOperateReq() {
return this.updateHotelSceneOperateReq;
}
public UpdateHotelSceneItemRequest setUpdateHotelSceneReq(UpdateHotelSceneItemRequestUpdateHotelSceneReq updateHotelSceneReq) {
this.updateHotelSceneReq = updateHotelSceneReq;
return this;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReq getUpdateHotelSceneReq() {
return this.updateHotelSceneReq;
}
public static class UpdateHotelSceneItemRequestUpdateHotelSceneOperateReq extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("IsUseTemplateAnswer")
public Boolean isUseTemplateAnswer;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN</p>
*/
@NameInMap("OperateType")
public String operateType;
public static UpdateHotelSceneItemRequestUpdateHotelSceneOperateReq build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneItemRequestUpdateHotelSceneOperateReq self = new UpdateHotelSceneItemRequestUpdateHotelSceneOperateReq();
return TeaModel.build(map, self);
}
public UpdateHotelSceneItemRequestUpdateHotelSceneOperateReq setIsUseTemplateAnswer(Boolean isUseTemplateAnswer) {
this.isUseTemplateAnswer = isUseTemplateAnswer;
return this;
}
public Boolean getIsUseTemplateAnswer() {
return this.isUseTemplateAnswer;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneOperateReq setOperateType(String operateType) {
this.operateType = operateType;
return this;
}
public String getOperateType() {
return this.operateType;
}
}
public static class UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList extends TeaModel {
/**
* <strong>example:</strong>
* <p>335</p>
*/
@NameInMap("DialogueId")
public String dialogueId;
/**
* <strong>example:</strong>
* <p>对不起,暂时不提供此物品</p>
*/
@NameInMap("NoAnswer")
public String noAnswer;
/**
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("NoAnswerTemplate")
public String noAnswerTemplate;
/**
* <strong>example:</strong>
* <p>0</p>
*/
@NameInMap("Process")
public Integer process;
@NameInMap("Question")
public String question;
/**
* <p>itemId</p>
*
* <strong>example:</strong>
* <p>10337</p>
*/
@NameInMap("ServiceId")
public String serviceId;
/**
* <strong>example:</strong>
* <p>纸巾1.5元,请问需要么?</p>
*/
@NameInMap("YesAnswer")
public String yesAnswer;
/**
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("YesAnswerTemplate")
public String yesAnswerTemplate;
public static UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList self = new UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList();
return TeaModel.build(map, self);
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList setDialogueId(String dialogueId) {
this.dialogueId = dialogueId;
return this;
}
public String getDialogueId() {
return this.dialogueId;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList setNoAnswer(String noAnswer) {
this.noAnswer = noAnswer;
return this;
}
public String getNoAnswer() {
return this.noAnswer;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList setNoAnswerTemplate(String noAnswerTemplate) {
this.noAnswerTemplate = noAnswerTemplate;
return this;
}
public String getNoAnswerTemplate() {
return this.noAnswerTemplate;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList setProcess(Integer process) {
this.process = process;
return this;
}
public Integer getProcess() {
return this.process;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList setQuestion(String question) {
this.question = question;
return this;
}
public String getQuestion() {
return this.question;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList setServiceId(String serviceId) {
this.serviceId = serviceId;
return this;
}
public String getServiceId() {
return this.serviceId;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList setYesAnswer(String yesAnswer) {
this.yesAnswer = yesAnswer;
return this;
}
public String getYesAnswer() {
return this.yesAnswer;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList setYesAnswerTemplate(String yesAnswerTemplate) {
this.yesAnswerTemplate = yesAnswerTemplate;
return this;
}
public String getYesAnswerTemplate() {
return this.yesAnswerTemplate;
}
}
public static class UpdateHotelSceneItemRequestUpdateHotelSceneReq extends TeaModel {
@NameInMap("BeyondLimitReply")
public String beyondLimitReply;
@NameInMap("DeliveryMethod")
public String deliveryMethod;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DialogueList")
public java.util.List<UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList> dialogueList;
/**
* <p>icon</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p><a href="https://ailabsaicloudservice.alicdn.com/hotel/icon/jiudianmianban_fuwushangpintu/wupin/keyongpinlei/mianqian.png">https://ailabsaicloudservice.alicdn.com/hotel/icon/jiudianmianban_fuwushangpintu/wupin/keyongpinlei/mianqian.png</a></p>
*/
@NameInMap("Icon")
public String icon;
/**
* <p>itemID</p>
*
* <strong>example:</strong>
* <p>10337</p>
*/
@NameInMap("Id")
public Long id;
@NameInMap("LimitNumber")
public Long limitNumber;
@NameInMap("LimitSwitch")
public Integer limitSwitch;
@NameInMap("Name")
public String name;
@NameInMap("PaymentMethod")
public String paymentMethod;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>165</p>
*/
@NameInMap("Price")
public Long price;
@NameInMap("RobotName")
public String robotName;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>已添加</p>
*/
@NameInMap("Status")
public String status;
public static UpdateHotelSceneItemRequestUpdateHotelSceneReq build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneItemRequestUpdateHotelSceneReq self = new UpdateHotelSceneItemRequestUpdateHotelSceneReq();
return TeaModel.build(map, self);
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReq setBeyondLimitReply(String beyondLimitReply) {
this.beyondLimitReply = beyondLimitReply;
return this;
}
public String getBeyondLimitReply() {
return this.beyondLimitReply;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReq setDeliveryMethod(String deliveryMethod) {
this.deliveryMethod = deliveryMethod;
return this;
}
public String getDeliveryMethod() {
return this.deliveryMethod;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReq setDialogueList(java.util.List<UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList> dialogueList) {
this.dialogueList = dialogueList;
return this;
}
public java.util.List<UpdateHotelSceneItemRequestUpdateHotelSceneReqDialogueList> getDialogueList() {
return this.dialogueList;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReq setIcon(String icon) {
this.icon = icon;
return this;
}
public String getIcon() {
return this.icon;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReq setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReq setLimitNumber(Long limitNumber) {
this.limitNumber = limitNumber;
return this;
}
public Long getLimitNumber() {
return this.limitNumber;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReq setLimitSwitch(Integer limitSwitch) {
this.limitSwitch = limitSwitch;
return this;
}
public Integer getLimitSwitch() {
return this.limitSwitch;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReq setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReq setPaymentMethod(String paymentMethod) {
this.paymentMethod = paymentMethod;
return this;
}
public String getPaymentMethod() {
return this.paymentMethod;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReq setPrice(Long price) {
this.price = price;
return this;
}
public Long getPrice() {
return this.price;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReq setRobotName(String robotName) {
this.robotName = robotName;
return this;
}
public String getRobotName() {
return this.robotName;
}
public UpdateHotelSceneItemRequestUpdateHotelSceneReq setStatus(String status) {
this.status = status;
return this;
}
public String 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/UpdateHotelSceneItemResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelSceneItemResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public UpdateHotelSceneItemResponseBody body;
public static UpdateHotelSceneItemResponse build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneItemResponse self = new UpdateHotelSceneItemResponse();
return TeaModel.build(map, self);
}
public UpdateHotelSceneItemResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public UpdateHotelSceneItemResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public UpdateHotelSceneItemResponse setBody(UpdateHotelSceneItemResponseBody body) {
this.body = body;
return this;
}
public UpdateHotelSceneItemResponseBody 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/UpdateHotelSceneItemResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelSceneItemResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>200</p>
*/
@NameInMap("Code")
public Integer code;
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>0D0C***67DB</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("Result")
public Boolean result;
public static UpdateHotelSceneItemResponseBody build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneItemResponseBody self = new UpdateHotelSceneItemResponseBody();
return TeaModel.build(map, self);
}
public UpdateHotelSceneItemResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public UpdateHotelSceneItemResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public UpdateHotelSceneItemResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public UpdateHotelSceneItemResponseBody 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/UpdateHotelSceneItemShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelSceneItemShrinkRequest extends TeaModel {
/**
* <p>hotelID</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>80d84ea8ed9e422fbad52715c8fc56f1</p>
*/
@NameInMap("HotelId")
public String hotelId;
/**
* <p>updateHotelSceneReq</p>
* <p>This parameter is required.</p>
*/
@NameInMap("UpdateHotelSceneOperateReq")
public String updateHotelSceneOperateReqShrink;
/**
* <p>UpdateHotelSceneReq</p>
* <p>This parameter is required.</p>
*/
@NameInMap("UpdateHotelSceneReq")
public String updateHotelSceneReqShrink;
public static UpdateHotelSceneItemShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelSceneItemShrinkRequest self = new UpdateHotelSceneItemShrinkRequest();
return TeaModel.build(map, self);
}
public UpdateHotelSceneItemShrinkRequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateHotelSceneItemShrinkRequest setUpdateHotelSceneOperateReqShrink(String updateHotelSceneOperateReqShrink) {
this.updateHotelSceneOperateReqShrink = updateHotelSceneOperateReqShrink;
return this;
}
public String getUpdateHotelSceneOperateReqShrink() {
return this.updateHotelSceneOperateReqShrink;
}
public UpdateHotelSceneItemShrinkRequest setUpdateHotelSceneReqShrink(String updateHotelSceneReqShrink) {
this.updateHotelSceneReqShrink = updateHotelSceneReqShrink;
return this;
}
public String getUpdateHotelSceneReqShrink() {
return this.updateHotelSceneReqShrink;
}
}
|
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/UpdateHotelShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateHotelShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>31342884</p>
*/
@NameInMap("AppKey")
public String appKey;
/**
* <strong>example:</strong>
* <p>2022-02-22 00:00:00</p>
*/
@NameInMap("EstOpenTime")
public String estOpenTime;
@NameInMap("HotelAddress")
public String hotelAddress;
/**
* <strong>example:</strong>
* <p>a*****@hotel.com</p>
*/
@NameInMap("HotelEmail")
public String hotelEmail;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>e6dd44fd16084db8a60d69fd625d9f0f</p>
*/
@NameInMap("HotelId")
public String hotelId;
@NameInMap("HotelName")
public String hotelName;
/**
* <strong>example:</strong>
* <p>130***</p>
*/
@NameInMap("PhoneNumber")
public String phoneNumber;
@NameInMap("RelatedPks")
public String relatedPksShrink;
@NameInMap("Remark")
public String remark;
/**
* <strong>example:</strong>
* <p>4</p>
*/
@NameInMap("RoomNum")
public Integer roomNum;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>AAEVK***UE3d3Z2ETwh</p>
*/
@NameInMap("TbOpenId")
public String tbOpenId;
public static UpdateHotelShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
UpdateHotelShrinkRequest self = new UpdateHotelShrinkRequest();
return TeaModel.build(map, self);
}
public UpdateHotelShrinkRequest setAppKey(String appKey) {
this.appKey = appKey;
return this;
}
public String getAppKey() {
return this.appKey;
}
public UpdateHotelShrinkRequest setEstOpenTime(String estOpenTime) {
this.estOpenTime = estOpenTime;
return this;
}
public String getEstOpenTime() {
return this.estOpenTime;
}
public UpdateHotelShrinkRequest setHotelAddress(String hotelAddress) {
this.hotelAddress = hotelAddress;
return this;
}
public String getHotelAddress() {
return this.hotelAddress;
}
public UpdateHotelShrinkRequest setHotelEmail(String hotelEmail) {
this.hotelEmail = hotelEmail;
return this;
}
public String getHotelEmail() {
return this.hotelEmail;
}
public UpdateHotelShrinkRequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateHotelShrinkRequest setHotelName(String hotelName) {
this.hotelName = hotelName;
return this;
}
public String getHotelName() {
return this.hotelName;
}
public UpdateHotelShrinkRequest setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public UpdateHotelShrinkRequest setRelatedPksShrink(String relatedPksShrink) {
this.relatedPksShrink = relatedPksShrink;
return this;
}
public String getRelatedPksShrink() {
return this.relatedPksShrink;
}
public UpdateHotelShrinkRequest setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
public UpdateHotelShrinkRequest setRoomNum(Integer roomNum) {
this.roomNum = roomNum;
return this;
}
public Integer getRoomNum() {
return this.roomNum;
}
public UpdateHotelShrinkRequest 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/UpdateMessageTemplateHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateMessageTemplateHeaders 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 UpdateMessageTemplateHeaders build(java.util.Map<String, ?> map) throws Exception {
UpdateMessageTemplateHeaders self = new UpdateMessageTemplateHeaders();
return TeaModel.build(map, self);
}
public UpdateMessageTemplateHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public UpdateMessageTemplateHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public UpdateMessageTemplateHeaders 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/UpdateMessageTemplateRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateMessageTemplateRequest extends TeaModel {
@NameInMap("TemplateDetail")
public String templateDetail;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123123</p>
*/
@NameInMap("TemplateId")
public Long templateId;
@NameInMap("TemplateName")
public String templateName;
public static UpdateMessageTemplateRequest build(java.util.Map<String, ?> map) throws Exception {
UpdateMessageTemplateRequest self = new UpdateMessageTemplateRequest();
return TeaModel.build(map, self);
}
public UpdateMessageTemplateRequest setTemplateDetail(String templateDetail) {
this.templateDetail = templateDetail;
return this;
}
public String getTemplateDetail() {
return this.templateDetail;
}
public UpdateMessageTemplateRequest setTemplateId(Long templateId) {
this.templateId = templateId;
return this;
}
public Long getTemplateId() {
return this.templateId;
}
public UpdateMessageTemplateRequest 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/UpdateMessageTemplateResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateMessageTemplateResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public UpdateMessageTemplateResponseBody body;
public static UpdateMessageTemplateResponse build(java.util.Map<String, ?> map) throws Exception {
UpdateMessageTemplateResponse self = new UpdateMessageTemplateResponse();
return TeaModel.build(map, self);
}
public UpdateMessageTemplateResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public UpdateMessageTemplateResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public UpdateMessageTemplateResponse setBody(UpdateMessageTemplateResponseBody body) {
this.body = body;
return this;
}
public UpdateMessageTemplateResponseBody 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/UpdateMessageTemplateResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateMessageTemplateResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>43***881</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 UpdateMessageTemplateResponseBody build(java.util.Map<String, ?> map) throws Exception {
UpdateMessageTemplateResponseBody self = new UpdateMessageTemplateResponseBody();
return TeaModel.build(map, self);
}
public UpdateMessageTemplateResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public UpdateMessageTemplateResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public UpdateMessageTemplateResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
public UpdateMessageTemplateResponseBody 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/UpdateRcuSceneHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateRcuSceneHeaders 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 UpdateRcuSceneHeaders build(java.util.Map<String, ?> map) throws Exception {
UpdateRcuSceneHeaders self = new UpdateRcuSceneHeaders();
return TeaModel.build(map, self);
}
public UpdateRcuSceneHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public UpdateRcuSceneHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public UpdateRcuSceneHeaders 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/UpdateRcuSceneRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateRcuSceneRequest 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 UpdateRcuSceneRequestSceneRelationExtDTO sceneRelationExtDTO;
public static UpdateRcuSceneRequest build(java.util.Map<String, ?> map) throws Exception {
UpdateRcuSceneRequest self = new UpdateRcuSceneRequest();
return TeaModel.build(map, self);
}
public UpdateRcuSceneRequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateRcuSceneRequest setSceneId(String sceneId) {
this.sceneId = sceneId;
return this;
}
public String getSceneId() {
return this.sceneId;
}
public UpdateRcuSceneRequest setSceneRelationExtDTO(UpdateRcuSceneRequestSceneRelationExtDTO sceneRelationExtDTO) {
this.sceneRelationExtDTO = sceneRelationExtDTO;
return this;
}
public UpdateRcuSceneRequestSceneRelationExtDTO getSceneRelationExtDTO() {
return this.sceneRelationExtDTO;
}
public static class UpdateRcuSceneRequestSceneRelationExtDTO extends TeaModel {
@NameInMap("CorpusList")
public java.util.List<String> corpusList;
@NameInMap("Description")
public String description;
/**
* <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;
@NameInMap("Name")
public String name;
public static UpdateRcuSceneRequestSceneRelationExtDTO build(java.util.Map<String, ?> map) throws Exception {
UpdateRcuSceneRequestSceneRelationExtDTO self = new UpdateRcuSceneRequestSceneRelationExtDTO();
return TeaModel.build(map, self);
}
public UpdateRcuSceneRequestSceneRelationExtDTO setCorpusList(java.util.List<String> corpusList) {
this.corpusList = corpusList;
return this;
}
public java.util.List<String> getCorpusList() {
return this.corpusList;
}
public UpdateRcuSceneRequestSceneRelationExtDTO setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public UpdateRcuSceneRequestSceneRelationExtDTO setIcon(String icon) {
this.icon = icon;
return this;
}
public String getIcon() {
return this.icon;
}
public UpdateRcuSceneRequestSceneRelationExtDTO 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/UpdateRcuSceneResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateRcuSceneResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public UpdateRcuSceneResponseBody body;
public static UpdateRcuSceneResponse build(java.util.Map<String, ?> map) throws Exception {
UpdateRcuSceneResponse self = new UpdateRcuSceneResponse();
return TeaModel.build(map, self);
}
public UpdateRcuSceneResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public UpdateRcuSceneResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public UpdateRcuSceneResponse setBody(UpdateRcuSceneResponseBody body) {
this.body = body;
return this;
}
public UpdateRcuSceneResponseBody 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/UpdateRcuSceneResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateRcuSceneResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>3A680F3A-6672-5A47-AB28-12BBCD80C679</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 UpdateRcuSceneResponseBody build(java.util.Map<String, ?> map) throws Exception {
UpdateRcuSceneResponseBody self = new UpdateRcuSceneResponseBody();
return TeaModel.build(map, self);
}
public UpdateRcuSceneResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public UpdateRcuSceneResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public UpdateRcuSceneResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
public UpdateRcuSceneResponseBody 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/UpdateRcuSceneShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateRcuSceneShrinkRequest 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 UpdateRcuSceneShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
UpdateRcuSceneShrinkRequest self = new UpdateRcuSceneShrinkRequest();
return TeaModel.build(map, self);
}
public UpdateRcuSceneShrinkRequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateRcuSceneShrinkRequest setSceneId(String sceneId) {
this.sceneId = sceneId;
return this;
}
public String getSceneId() {
return this.sceneId;
}
public UpdateRcuSceneShrinkRequest setSceneRelationExtDTOShrink(String sceneRelationExtDTOShrink) {
this.sceneRelationExtDTOShrink = sceneRelationExtDTOShrink;
return this;
}
public String getSceneRelationExtDTOShrink() {
return this.sceneRelationExtDTOShrink;
}
}
|
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/UpdateServiceQAHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateServiceQAHeaders 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 UpdateServiceQAHeaders build(java.util.Map<String, ?> map) throws Exception {
UpdateServiceQAHeaders self = new UpdateServiceQAHeaders();
return TeaModel.build(map, self);
}
public UpdateServiceQAHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public UpdateServiceQAHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public UpdateServiceQAHeaders 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/UpdateServiceQARequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateServiceQARequest extends TeaModel {
@NameInMap("Answer")
public String answer;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>af7***536</p>
*/
@NameInMap("HotelId")
public String hotelId;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("ServiceQAId")
public Long serviceQAId;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("isActive")
public Boolean isActive;
public static UpdateServiceQARequest build(java.util.Map<String, ?> map) throws Exception {
UpdateServiceQARequest self = new UpdateServiceQARequest();
return TeaModel.build(map, self);
}
public UpdateServiceQARequest setAnswer(String answer) {
this.answer = answer;
return this;
}
public String getAnswer() {
return this.answer;
}
public UpdateServiceQARequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateServiceQARequest setServiceQAId(Long serviceQAId) {
this.serviceQAId = serviceQAId;
return this;
}
public Long getServiceQAId() {
return this.serviceQAId;
}
public UpdateServiceQARequest setIsActive(Boolean isActive) {
this.isActive = isActive;
return this;
}
public Boolean getIsActive() {
return this.isActive;
}
}
|
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/UpdateServiceQAResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateServiceQAResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public UpdateServiceQAResponseBody body;
public static UpdateServiceQAResponse build(java.util.Map<String, ?> map) throws Exception {
UpdateServiceQAResponse self = new UpdateServiceQAResponse();
return TeaModel.build(map, self);
}
public UpdateServiceQAResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public UpdateServiceQAResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public UpdateServiceQAResponse setBody(UpdateServiceQAResponseBody body) {
this.body = body;
return this;
}
public UpdateServiceQAResponseBody 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/UpdateServiceQAResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateServiceQAResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>success</p>
*/
@NameInMap("Message")
public String message;
/**
* <strong>example:</strong>
* <p>73C67***6FA</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 UpdateServiceQAResponseBody build(java.util.Map<String, ?> map) throws Exception {
UpdateServiceQAResponseBody self = new UpdateServiceQAResponseBody();
return TeaModel.build(map, self);
}
public UpdateServiceQAResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public UpdateServiceQAResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public UpdateServiceQAResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
public UpdateServiceQAResponseBody 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/UpdateTicketHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateTicketHeaders 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 UpdateTicketHeaders build(java.util.Map<String, ?> map) throws Exception {
UpdateTicketHeaders self = new UpdateTicketHeaders();
return TeaModel.build(map, self);
}
public UpdateTicketHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public UpdateTicketHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public UpdateTicketHeaders 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/UpdateTicketRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateTicketRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>2023***93975</p>
*/
@NameInMap("GroupKey")
public String groupKey;
/**
* <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>waiting</p>
*/
@NameInMap("Status")
public String status;
public static UpdateTicketRequest build(java.util.Map<String, ?> map) throws Exception {
UpdateTicketRequest self = new UpdateTicketRequest();
return TeaModel.build(map, self);
}
public UpdateTicketRequest setGroupKey(String groupKey) {
this.groupKey = groupKey;
return this;
}
public String getGroupKey() {
return this.groupKey;
}
public UpdateTicketRequest setHotelId(String hotelId) {
this.hotelId = hotelId;
return this;
}
public String getHotelId() {
return this.hotelId;
}
public UpdateTicketRequest setStatus(String status) {
this.status = status;
return this;
}
public String 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/UpdateTicketResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateTicketResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public UpdateTicketResponseBody body;
public static UpdateTicketResponse build(java.util.Map<String, ?> map) throws Exception {
UpdateTicketResponse self = new UpdateTicketResponse();
return TeaModel.build(map, self);
}
public UpdateTicketResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public UpdateTicketResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public UpdateTicketResponse setBody(UpdateTicketResponseBody body) {
this.body = body;
return this;
}
public UpdateTicketResponseBody 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/UpdateTicketResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieip_1_0.models;
import com.aliyun.tea.*;
public class UpdateTicketResponseBody 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 UpdateTicketResponseBody build(java.util.Map<String, ?> map) throws Exception {
UpdateTicketResponseBody self = new UpdateTicketResponseBody();
return TeaModel.build(map, self);
}
public UpdateTicketResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public UpdateTicketResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public UpdateTicketResponseBody setResult(Boolean result) {
this.result = result;
return this;
}
public Boolean getResult() {
return this.result;
}
public UpdateTicketResponseBody setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/Client.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0;
import com.aliyun.tea.*;
import com.aliyun.aligenieoauth2_1_0.models.*;
public class Client extends com.aliyun.teaopenapi.Client {
public Client(com.aliyun.teaopenapi.models.Config config) throws Exception {
super(config);
this._endpointRule = "";
this.checkConfig(config);
this._endpoint = this.getEndpoint("aligenie", _regionId, _endpointRule, _network, _suffix, _endpointMap, _endpoint);
}
public String getEndpoint(String productId, String regionId, String endpointRule, String network, String suffix, java.util.Map<String, String> endpointMap, String endpoint) throws Exception {
if (!com.aliyun.teautil.Common.empty(endpoint)) {
return endpoint;
}
if (!com.aliyun.teautil.Common.isUnset(endpointMap) && !com.aliyun.teautil.Common.empty(endpointMap.get(regionId))) {
return endpointMap.get(regionId);
}
return com.aliyun.endpointutil.Client.getEndpointRules(productId, regionId, endpointRule, network, suffix);
}
/**
* <b>summary</b> :
* <p>创建播放列表</p>
*
* @param tmpReq CreatePlayingListRequest
* @param headers map
* @param runtime runtime options for this request RuntimeOptions
* @return CreatePlayingListResponse
*/
public CreatePlayingListResponse createPlayingListWithOptions(CreatePlayingListRequest tmpReq, java.util.Map<String, String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
CreatePlayingListShrinkRequest request = new CreatePlayingListShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.deviceInfo)) {
request.deviceInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.deviceInfo, "DeviceInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.openCreatePlayingListRequest)) {
request.openCreatePlayingListRequestShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.openCreatePlayingListRequest, "OpenCreatePlayingListRequest", "json");
}
java.util.Map<String, Object> query = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.deviceInfoShrink)) {
query.put("DeviceInfo", request.deviceInfoShrink);
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.openCreatePlayingListRequestShrink)) {
body.put("OpenCreatePlayingListRequest", request.openCreatePlayingListRequestShrink);
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", headers),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query)),
new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body))
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "CreatePlayingList"),
new TeaPair("version", "oauth2_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/oauth2/content/playing/create"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new CreatePlayingListResponse());
}
/**
* <b>summary</b> :
* <p>创建播放列表</p>
*
* @param request CreatePlayingListRequest
* @return CreatePlayingListResponse
*/
public CreatePlayingListResponse createPlayingList(CreatePlayingListRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map<String, String> headers = new java.util.HashMap<>();
return this.createPlayingListWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>执行场景</p>
*
* @param request ExecuteSceneRequest
* @param headers map
* @param runtime runtime options for this request RuntimeOptions
* @return ExecuteSceneResponse
*/
public ExecuteSceneResponse executeSceneWithOptions(ExecuteSceneRequest request, java.util.Map<String, String> 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.sceneId)) {
body.put("SceneId", request.sceneId);
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", headers),
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", "oauth2_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/oauth2/iot/scene/execute"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new 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();
java.util.Map<String, String> headers = new java.util.HashMap<>();
return this.executeSceneWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>执行场景(全屋)</p>
*
* @param request ExecuteSmartHomeSceneRequest
* @param headers map
* @param runtime runtime options for this request RuntimeOptions
* @return ExecuteSmartHomeSceneResponse
*/
public ExecuteSmartHomeSceneResponse executeSmartHomeSceneWithOptions(ExecuteSmartHomeSceneRequest request, java.util.Map<String, String> 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.familyId)) {
body.put("FamilyId", request.familyId);
}
if (!com.aliyun.teautil.Common.isUnset(request.sceneId)) {
body.put("SceneId", request.sceneId);
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", headers),
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", "ExecuteSmartHomeScene"),
new TeaPair("version", "oauth2_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/oauth2/iot/smart_home/scene/execute"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new ExecuteSmartHomeSceneResponse());
}
/**
* <b>summary</b> :
* <p>执行场景(全屋)</p>
*
* @param request ExecuteSmartHomeSceneRequest
* @return ExecuteSmartHomeSceneResponse
*/
public ExecuteSmartHomeSceneResponse executeSmartHomeScene(ExecuteSmartHomeSceneRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map<String, String> headers = new java.util.HashMap<>();
return this.executeSmartHomeSceneWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取场景列表</p>
*
* @param headers map
* @param runtime runtime options for this request RuntimeOptions
* @return GetSceneListResponse
*/
public GetSceneListResponse getSceneListWithOptions(java.util.Map<String, String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", headers)
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetSceneList"),
new TeaPair("version", "oauth2_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/oauth2/iot/scene/list"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetSceneListResponse());
}
/**
* <b>summary</b> :
* <p>获取场景列表</p>
* @return GetSceneListResponse
*/
public GetSceneListResponse getSceneList() throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map<String, String> headers = new java.util.HashMap<>();
return this.getSceneListWithOptions(headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取场景列表(全屋)</p>
*
* @param headers map
* @param runtime runtime options for this request RuntimeOptions
* @return GetSmartHomeSceneListResponse
*/
public GetSmartHomeSceneListResponse getSmartHomeSceneListWithOptions(java.util.Map<String, String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", headers)
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetSmartHomeSceneList"),
new TeaPair("version", "oauth2_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/oauth2/iot/smart_home/scene/list"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetSmartHomeSceneListResponse());
}
/**
* <b>summary</b> :
* <p>获取场景列表(全屋)</p>
* @return GetSmartHomeSceneListResponse
*/
public GetSmartHomeSceneListResponse getSmartHomeSceneList() throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map<String, String> headers = new java.util.HashMap<>();
return this.getSmartHomeSceneListWithOptions(headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取</p>
*
* @param headers map
* @param runtime runtime options for this request RuntimeOptions
* @return GetUserBasicInfoResponse
*/
public GetUserBasicInfoResponse getUserBasicInfoWithOptions(java.util.Map<String, String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", headers)
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetUserBasicInfo"),
new TeaPair("version", "oauth2_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/oauth2/users/basic"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetUserBasicInfoResponse());
}
/**
* <b>summary</b> :
* <p>获取</p>
* @return GetUserBasicInfoResponse
*/
public GetUserBasicInfoResponse getUserBasicInfo() throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map<String, String> headers = new java.util.HashMap<>();
return this.getUserBasicInfoWithOptions(headers, runtime);
}
/**
* <b>summary</b> :
* <p>获取天猫精灵用户绑定的手机号</p>
*
* @param headers map
* @param runtime runtime options for this request RuntimeOptions
* @return GetUserPhoneResponse
*/
public GetUserPhoneResponse getUserPhoneWithOptions(java.util.Map<String, String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", headers)
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "GetUserPhone"),
new TeaPair("version", "oauth2_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/oauth2/user/profile/phone"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new GetUserPhoneResponse());
}
/**
* <b>summary</b> :
* <p>获取天猫精灵用户绑定的手机号</p>
* @return GetUserPhoneResponse
*/
public GetUserPhoneResponse getUserPhone() throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map<String, String> headers = new java.util.HashMap<>();
return this.getUserPhoneWithOptions(headers, runtime);
}
/**
* <b>summary</b> :
* <p>OAuth2令牌撤销端点</p>
*
* @param request OAuth2RevocationEndpointRequest
* @param headers OAuth2RevocationEndpointHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return OAuth2RevocationEndpointResponse
*/
public OAuth2RevocationEndpointResponse oAuth2RevocationEndpointWithOptions(OAuth2RevocationEndpointRequest request, OAuth2RevocationEndpointHeaders 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.token)) {
body.put("Token", request.token);
}
if (!com.aliyun.teautil.Common.isUnset(request.tokenTypeHint)) {
body.put("TokenTypeHint", request.tokenTypeHint);
}
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", "OAuth2RevocationEndpoint"),
new TeaPair("version", "oauth2_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/oauth2/revoke"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new OAuth2RevocationEndpointResponse());
}
/**
* <b>summary</b> :
* <p>OAuth2令牌撤销端点</p>
*
* @param request OAuth2RevocationEndpointRequest
* @return OAuth2RevocationEndpointResponse
*/
public OAuth2RevocationEndpointResponse oAuth2RevocationEndpoint(OAuth2RevocationEndpointRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
OAuth2RevocationEndpointHeaders headers = new OAuth2RevocationEndpointHeaders();
return this.oAuth2RevocationEndpointWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>OAuth2令牌端点</p>
*
* @param request OAuth2TokenEndpointRequest
* @param headers OAuth2TokenEndpointHeaders
* @param runtime runtime options for this request RuntimeOptions
* @return OAuth2TokenEndpointResponse
*/
public OAuth2TokenEndpointResponse oAuth2TokenEndpointWithOptions(OAuth2TokenEndpointRequest request, OAuth2TokenEndpointHeaders 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.code)) {
body.put("Code", request.code);
}
if (!com.aliyun.teautil.Common.isUnset(request.grantType)) {
body.put("GrantType", request.grantType);
}
if (!com.aliyun.teautil.Common.isUnset(request.redirectUri)) {
body.put("RedirectUri", request.redirectUri);
}
if (!com.aliyun.teautil.Common.isUnset(request.refreshToken)) {
body.put("RefreshToken", request.refreshToken);
}
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", "OAuth2TokenEndpoint"),
new TeaPair("version", "oauth2_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/oauth2/token"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new OAuth2TokenEndpointResponse());
}
/**
* <b>summary</b> :
* <p>OAuth2令牌端点</p>
*
* @param request OAuth2TokenEndpointRequest
* @return OAuth2TokenEndpointResponse
*/
public OAuth2TokenEndpointResponse oAuth2TokenEndpoint(OAuth2TokenEndpointRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
OAuth2TokenEndpointHeaders headers = new OAuth2TokenEndpointHeaders();
return this.oAuth2TokenEndpointWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>推送设备通知</p>
*
* @param tmpReq PushDeviceNotificationRequest
* @param headers map
* @param runtime runtime options for this request RuntimeOptions
* @return PushDeviceNotificationResponse
*/
public PushDeviceNotificationResponse pushDeviceNotificationWithOptions(PushDeviceNotificationRequest tmpReq, java.util.Map<String, String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(tmpReq);
PushDeviceNotificationShrinkRequest request = new PushDeviceNotificationShrinkRequest();
com.aliyun.openapiutil.Client.convert(tmpReq, request);
if (!com.aliyun.teautil.Common.isUnset(tmpReq.tenantInfo)) {
request.tenantInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.tenantInfo, "TenantInfo", "json");
}
if (!com.aliyun.teautil.Common.isUnset(tmpReq.body)) {
request.bodyShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
}
java.util.Map<String, Object> body = new java.util.HashMap<>();
if (!com.aliyun.teautil.Common.isUnset(request.tenantInfoShrink)) {
body.put("TenantInfo", request.tenantInfoShrink);
}
if (!com.aliyun.teautil.Common.isUnset(request.bodyShrink)) {
body.put("body", request.bodyShrink);
}
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", headers),
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", "PushDeviceNotification"),
new TeaPair("version", "oauth2_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/oauth2/device/notification/push"),
new TeaPair("method", "POST"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "formData"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new PushDeviceNotificationResponse());
}
/**
* <b>summary</b> :
* <p>推送设备通知</p>
*
* @param request PushDeviceNotificationRequest
* @return PushDeviceNotificationResponse
*/
public PushDeviceNotificationResponse pushDeviceNotification(PushDeviceNotificationRequest request) throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map<String, String> headers = new java.util.HashMap<>();
return this.pushDeviceNotificationWithOptions(request, headers, runtime);
}
/**
* <b>summary</b> :
* <p>查询设备列表</p>
*
* @param headers map
* @param runtime runtime options for this request RuntimeOptions
* @return QueryDeviceListResponse
*/
public QueryDeviceListResponse queryDeviceListWithOptions(java.util.Map<String, String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {
com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", headers)
));
com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(
new TeaPair("action", "QueryDeviceList"),
new TeaPair("version", "oauth2_1.0"),
new TeaPair("protocol", "HTTPS"),
new TeaPair("pathname", "/v1.0/oauth2/device/list"),
new TeaPair("method", "GET"),
new TeaPair("authType", "AK"),
new TeaPair("style", "ROA"),
new TeaPair("reqBodyType", "json"),
new TeaPair("bodyType", "json")
));
return TeaModel.toModel(this.callApi(params, req, runtime), new QueryDeviceListResponse());
}
/**
* <b>summary</b> :
* <p>查询设备列表</p>
* @return QueryDeviceListResponse
*/
public QueryDeviceListResponse queryDeviceList() throws Exception {
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
java.util.Map<String, String> headers = new java.util.HashMap<>();
return this.queryDeviceListWithOptions(headers, runtime);
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/CreatePlayingListRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class CreatePlayingListRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public CreatePlayingListRequestDeviceInfo deviceInfo;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("OpenCreatePlayingListRequest")
public CreatePlayingListRequestOpenCreatePlayingListRequest openCreatePlayingListRequest;
public static CreatePlayingListRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListRequest self = new CreatePlayingListRequest();
return TeaModel.build(map, self);
}
public CreatePlayingListRequest setDeviceInfo(CreatePlayingListRequestDeviceInfo deviceInfo) {
this.deviceInfo = deviceInfo;
return this;
}
public CreatePlayingListRequestDeviceInfo getDeviceInfo() {
return this.deviceInfo;
}
public CreatePlayingListRequest setOpenCreatePlayingListRequest(CreatePlayingListRequestOpenCreatePlayingListRequest openCreatePlayingListRequest) {
this.openCreatePlayingListRequest = openCreatePlayingListRequest;
return this;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest getOpenCreatePlayingListRequest() {
return this.openCreatePlayingListRequest;
}
public static class CreatePlayingListRequestDeviceInfo extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>UC_CLIENT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
@NameInMap("Id")
public String id;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OPEN_ID</p>
*/
@NameInMap("IdType")
public String idType;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
public static CreatePlayingListRequestDeviceInfo build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListRequestDeviceInfo self = new CreatePlayingListRequestDeviceInfo();
return TeaModel.build(map, self);
}
public CreatePlayingListRequestDeviceInfo setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public CreatePlayingListRequestDeviceInfo setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public CreatePlayingListRequestDeviceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public CreatePlayingListRequestDeviceInfo setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public CreatePlayingListRequestDeviceInfo setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}
public static class CreatePlayingListRequestOpenCreatePlayingListRequestContentList extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12345</p>
*/
@NameInMap("RawId")
public String rawId;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ximalayaH5</p>
*/
@NameInMap("Source")
public String source;
public static CreatePlayingListRequestOpenCreatePlayingListRequestContentList build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListRequestOpenCreatePlayingListRequestContentList self = new CreatePlayingListRequestOpenCreatePlayingListRequestContentList();
return TeaModel.build(map, self);
}
public CreatePlayingListRequestOpenCreatePlayingListRequestContentList setRawId(String rawId) {
this.rawId = rawId;
return this;
}
public String getRawId() {
return this.rawId;
}
public CreatePlayingListRequestOpenCreatePlayingListRequestContentList setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
}
public static class CreatePlayingListRequestOpenCreatePlayingListRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("ContentList")
public java.util.List<CreatePlayingListRequestOpenCreatePlayingListRequestContentList> contentList;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>content</p>
*/
@NameInMap("ContentType")
public String contentType;
/**
* <strong>example:</strong>
* <p>{}</p>
*/
@NameInMap("ExtendInfo")
public java.util.Map<String, ?> extendInfo;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("Index")
public Integer index;
/**
* <strong>example:</strong>
* <p>true</p>
*/
@NameInMap("NeedAlbumContinued")
public Boolean needAlbumContinued;
/**
* <strong>example:</strong>
* <p>default</p>
*/
@NameInMap("PlayFrom")
public String playFrom;
/**
* <strong>example:</strong>
* <p>Normal</p>
*/
@NameInMap("PlayMode")
public String playMode;
public static CreatePlayingListRequestOpenCreatePlayingListRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListRequestOpenCreatePlayingListRequest self = new CreatePlayingListRequestOpenCreatePlayingListRequest();
return TeaModel.build(map, self);
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setContentList(java.util.List<CreatePlayingListRequestOpenCreatePlayingListRequestContentList> contentList) {
this.contentList = contentList;
return this;
}
public java.util.List<CreatePlayingListRequestOpenCreatePlayingListRequestContentList> getContentList() {
return this.contentList;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setContentType(String contentType) {
this.contentType = contentType;
return this;
}
public String getContentType() {
return this.contentType;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setExtendInfo(java.util.Map<String, ?> extendInfo) {
this.extendInfo = extendInfo;
return this;
}
public java.util.Map<String, ?> getExtendInfo() {
return this.extendInfo;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setIndex(Integer index) {
this.index = index;
return this;
}
public Integer getIndex() {
return this.index;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setNeedAlbumContinued(Boolean needAlbumContinued) {
this.needAlbumContinued = needAlbumContinued;
return this;
}
public Boolean getNeedAlbumContinued() {
return this.needAlbumContinued;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setPlayFrom(String playFrom) {
this.playFrom = playFrom;
return this;
}
public String getPlayFrom() {
return this.playFrom;
}
public CreatePlayingListRequestOpenCreatePlayingListRequest setPlayMode(String playMode) {
this.playMode = playMode;
return this;
}
public String getPlayMode() {
return this.playMode;
}
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/CreatePlayingListResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class CreatePlayingListResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public CreatePlayingListResponseBody body;
public static CreatePlayingListResponse build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListResponse self = new CreatePlayingListResponse();
return TeaModel.build(map, self);
}
public CreatePlayingListResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public CreatePlayingListResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public CreatePlayingListResponse setBody(CreatePlayingListResponseBody body) {
this.body = body;
return this;
}
public CreatePlayingListResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/CreatePlayingListResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class CreatePlayingListResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>10002398812</p>
*/
@NameInMap("RequestId")
public String requestId;
public static CreatePlayingListResponseBody build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListResponseBody self = new CreatePlayingListResponseBody();
return TeaModel.build(map, self);
}
public CreatePlayingListResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/CreatePlayingListShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class CreatePlayingListShrinkRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*/
@NameInMap("DeviceInfo")
public String deviceInfoShrink;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("OpenCreatePlayingListRequest")
public String openCreatePlayingListRequestShrink;
public static CreatePlayingListShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
CreatePlayingListShrinkRequest self = new CreatePlayingListShrinkRequest();
return TeaModel.build(map, self);
}
public CreatePlayingListShrinkRequest setDeviceInfoShrink(String deviceInfoShrink) {
this.deviceInfoShrink = deviceInfoShrink;
return this;
}
public String getDeviceInfoShrink() {
return this.deviceInfoShrink;
}
public CreatePlayingListShrinkRequest setOpenCreatePlayingListRequestShrink(String openCreatePlayingListRequestShrink) {
this.openCreatePlayingListRequestShrink = openCreatePlayingListRequestShrink;
return this;
}
public String getOpenCreatePlayingListRequestShrink() {
return this.openCreatePlayingListRequestShrink;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/ExecuteSceneRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class ExecuteSceneRequest extends TeaModel {
/**
* <strong>example:</strong>
* <p>a84a55aa410e460a9ac753570c76fecc</p>
*/
@NameInMap("SceneId")
public String sceneId;
public static ExecuteSceneRequest build(java.util.Map<String, ?> map) throws Exception {
ExecuteSceneRequest self = new ExecuteSceneRequest();
return TeaModel.build(map, self);
}
public ExecuteSceneRequest setSceneId(String sceneId) {
this.sceneId = sceneId;
return this;
}
public String getSceneId() {
return this.sceneId;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/ExecuteSceneResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class ExecuteSceneResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public ExecuteSceneResponseBody body;
public static ExecuteSceneResponse build(java.util.Map<String, ?> map) throws Exception {
ExecuteSceneResponse self = new ExecuteSceneResponse();
return TeaModel.build(map, self);
}
public ExecuteSceneResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public ExecuteSceneResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public ExecuteSceneResponse setBody(ExecuteSceneResponseBody body) {
this.body = body;
return this;
}
public ExecuteSceneResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/ExecuteSceneResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class ExecuteSceneResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>191C79AD-F9F9-531E-B8C1-73DF6433B920</p>
*/
@NameInMap("RequestId")
public String requestId;
public static ExecuteSceneResponseBody build(java.util.Map<String, ?> map) throws Exception {
ExecuteSceneResponseBody self = new ExecuteSceneResponseBody();
return TeaModel.build(map, self);
}
public ExecuteSceneResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/ExecuteSmartHomeSceneRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class ExecuteSmartHomeSceneRequest extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>2iS1AH5eo8qrw1PYBL/Ulq==</p>
*/
@NameInMap("FamilyId")
public String familyId;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Y1lCALepjYmTEouxsTrkjB==</p>
*/
@NameInMap("SceneId")
public String sceneId;
public static ExecuteSmartHomeSceneRequest build(java.util.Map<String, ?> map) throws Exception {
ExecuteSmartHomeSceneRequest self = new ExecuteSmartHomeSceneRequest();
return TeaModel.build(map, self);
}
public ExecuteSmartHomeSceneRequest setFamilyId(String familyId) {
this.familyId = familyId;
return this;
}
public String getFamilyId() {
return this.familyId;
}
public ExecuteSmartHomeSceneRequest setSceneId(String sceneId) {
this.sceneId = sceneId;
return this;
}
public String getSceneId() {
return this.sceneId;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/ExecuteSmartHomeSceneResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class ExecuteSmartHomeSceneResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public ExecuteSmartHomeSceneResponseBody body;
public static ExecuteSmartHomeSceneResponse build(java.util.Map<String, ?> map) throws Exception {
ExecuteSmartHomeSceneResponse self = new ExecuteSmartHomeSceneResponse();
return TeaModel.build(map, self);
}
public ExecuteSmartHomeSceneResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public ExecuteSmartHomeSceneResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public ExecuteSmartHomeSceneResponse setBody(ExecuteSmartHomeSceneResponseBody body) {
this.body = body;
return this;
}
public ExecuteSmartHomeSceneResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/ExecuteSmartHomeSceneResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class ExecuteSmartHomeSceneResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>435CF567-12DC-5761-AFA8-650774502E2D</p>
*/
@NameInMap("RequestId")
public String requestId;
public static ExecuteSmartHomeSceneResponseBody build(java.util.Map<String, ?> map) throws Exception {
ExecuteSmartHomeSceneResponseBody self = new ExecuteSmartHomeSceneResponseBody();
return TeaModel.build(map, self);
}
public ExecuteSmartHomeSceneResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/GetSceneListResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class GetSceneListResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetSceneListResponseBody body;
public static GetSceneListResponse build(java.util.Map<String, ?> map) throws Exception {
GetSceneListResponse self = new GetSceneListResponse();
return TeaModel.build(map, self);
}
public GetSceneListResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetSceneListResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetSceneListResponse setBody(GetSceneListResponseBody body) {
this.body = body;
return this;
}
public GetSceneListResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/GetSceneListResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class GetSceneListResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>435CF567-58DC-5761-AFA8-650772602E2D</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("SceneList")
public java.util.List<GetSceneListResponseBodySceneList> sceneList;
public static GetSceneListResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetSceneListResponseBody self = new GetSceneListResponseBody();
return TeaModel.build(map, self);
}
public GetSceneListResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetSceneListResponseBody setSceneList(java.util.List<GetSceneListResponseBodySceneList> sceneList) {
this.sceneList = sceneList;
return this;
}
public java.util.List<GetSceneListResponseBodySceneList> getSceneList() {
return this.sceneList;
}
public static class GetSceneListResponseBodySceneList extends TeaModel {
/**
* <strong>example:</strong>
* <p>840960b85c3c48e0bd7260c1718295fd</p>
*/
@NameInMap("SceneId")
public String sceneId;
@NameInMap("SceneName")
public String sceneName;
public static GetSceneListResponseBodySceneList build(java.util.Map<String, ?> map) throws Exception {
GetSceneListResponseBodySceneList self = new GetSceneListResponseBodySceneList();
return TeaModel.build(map, self);
}
public GetSceneListResponseBodySceneList setSceneId(String sceneId) {
this.sceneId = sceneId;
return this;
}
public String getSceneId() {
return this.sceneId;
}
public GetSceneListResponseBodySceneList setSceneName(String sceneName) {
this.sceneName = sceneName;
return this;
}
public String getSceneName() {
return this.sceneName;
}
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/GetSmartHomeSceneListResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class GetSmartHomeSceneListResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetSmartHomeSceneListResponseBody body;
public static GetSmartHomeSceneListResponse build(java.util.Map<String, ?> map) throws Exception {
GetSmartHomeSceneListResponse self = new GetSmartHomeSceneListResponse();
return TeaModel.build(map, self);
}
public GetSmartHomeSceneListResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetSmartHomeSceneListResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetSmartHomeSceneListResponse setBody(GetSmartHomeSceneListResponseBody body) {
this.body = body;
return this;
}
public GetSmartHomeSceneListResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/GetSmartHomeSceneListResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class GetSmartHomeSceneListResponseBody extends TeaModel {
@NameInMap("FamilySceneList")
public java.util.List<GetSmartHomeSceneListResponseBodyFamilySceneList> familySceneList;
/**
* <strong>example:</strong>
* <p>435CF567-12DC-5761-AFA8-650774502E2D</p>
*/
@NameInMap("RequestId")
public String requestId;
public static GetSmartHomeSceneListResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetSmartHomeSceneListResponseBody self = new GetSmartHomeSceneListResponseBody();
return TeaModel.build(map, self);
}
public GetSmartHomeSceneListResponseBody setFamilySceneList(java.util.List<GetSmartHomeSceneListResponseBodyFamilySceneList> familySceneList) {
this.familySceneList = familySceneList;
return this;
}
public java.util.List<GetSmartHomeSceneListResponseBodyFamilySceneList> getFamilySceneList() {
return this.familySceneList;
}
public GetSmartHomeSceneListResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class GetSmartHomeSceneListResponseBodyFamilySceneListSceneList extends TeaModel {
/**
* <strong>example:</strong>
* <p>6813AH5586qrw1P5ln/123==</p>
*/
@NameInMap("SceneId")
public String sceneId;
@NameInMap("SceneName")
public String sceneName;
public static GetSmartHomeSceneListResponseBodyFamilySceneListSceneList build(java.util.Map<String, ?> map) throws Exception {
GetSmartHomeSceneListResponseBodyFamilySceneListSceneList self = new GetSmartHomeSceneListResponseBodyFamilySceneListSceneList();
return TeaModel.build(map, self);
}
public GetSmartHomeSceneListResponseBodyFamilySceneListSceneList setSceneId(String sceneId) {
this.sceneId = sceneId;
return this;
}
public String getSceneId() {
return this.sceneId;
}
public GetSmartHomeSceneListResponseBodyFamilySceneListSceneList setSceneName(String sceneName) {
this.sceneName = sceneName;
return this;
}
public String getSceneName() {
return this.sceneName;
}
}
public static class GetSmartHomeSceneListResponseBodyFamilySceneList extends TeaModel {
/**
* <strong>example:</strong>
* <p>2iS1AH5eo8qrw1PYBL/Ulq==</p>
*/
@NameInMap("familyId")
public String familyId;
@NameInMap("familyName")
public String familyName;
@NameInMap("sceneList")
public java.util.List<GetSmartHomeSceneListResponseBodyFamilySceneListSceneList> sceneList;
public static GetSmartHomeSceneListResponseBodyFamilySceneList build(java.util.Map<String, ?> map) throws Exception {
GetSmartHomeSceneListResponseBodyFamilySceneList self = new GetSmartHomeSceneListResponseBodyFamilySceneList();
return TeaModel.build(map, self);
}
public GetSmartHomeSceneListResponseBodyFamilySceneList setFamilyId(String familyId) {
this.familyId = familyId;
return this;
}
public String getFamilyId() {
return this.familyId;
}
public GetSmartHomeSceneListResponseBodyFamilySceneList setFamilyName(String familyName) {
this.familyName = familyName;
return this;
}
public String getFamilyName() {
return this.familyName;
}
public GetSmartHomeSceneListResponseBodyFamilySceneList setSceneList(java.util.List<GetSmartHomeSceneListResponseBodyFamilySceneListSceneList> sceneList) {
this.sceneList = sceneList;
return this;
}
public java.util.List<GetSmartHomeSceneListResponseBodyFamilySceneListSceneList> getSceneList() {
return this.sceneList;
}
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/GetUserBasicInfoResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class GetUserBasicInfoResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetUserBasicInfoResponseBody body;
public static GetUserBasicInfoResponse build(java.util.Map<String, ?> map) throws Exception {
GetUserBasicInfoResponse self = new GetUserBasicInfoResponse();
return TeaModel.build(map, self);
}
public GetUserBasicInfoResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetUserBasicInfoResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetUserBasicInfoResponse setBody(GetUserBasicInfoResponseBody body) {
this.body = body;
return this;
}
public GetUserBasicInfoResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/GetUserBasicInfoResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class GetUserBasicInfoResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p><a href="https://xxxxxx">https://xxxxxx</a></p>
*/
@NameInMap("AvatarUrl")
public String avatarUrl;
/**
* <strong>example:</strong>
* <p>xxxxxx</p>
*/
@NameInMap("Nickname")
public String nickname;
/**
* <strong>example:</strong>
* <p>3hPPBd9YuhfJQCzZ/07AAWdoO3K8zCb/KAqW96zPHXPiFkzjB/JfcWuuFHQQDaGZ4wVbNMV6wYuj075p/rhVLg==</p>
*/
@NameInMap("OpenId")
public String openId;
/**
* <strong>example:</strong>
* <p>4070039E-5822-1F32-9295-1D2883E48BA5</p>
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("UnionIds")
public java.util.List<GetUserBasicInfoResponseBodyUnionIds> unionIds;
public static GetUserBasicInfoResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetUserBasicInfoResponseBody self = new GetUserBasicInfoResponseBody();
return TeaModel.build(map, self);
}
public GetUserBasicInfoResponseBody setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
return this;
}
public String getAvatarUrl() {
return this.avatarUrl;
}
public GetUserBasicInfoResponseBody setNickname(String nickname) {
this.nickname = nickname;
return this;
}
public String getNickname() {
return this.nickname;
}
public GetUserBasicInfoResponseBody setOpenId(String openId) {
this.openId = openId;
return this;
}
public String getOpenId() {
return this.openId;
}
public GetUserBasicInfoResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetUserBasicInfoResponseBody setUnionIds(java.util.List<GetUserBasicInfoResponseBodyUnionIds> unionIds) {
this.unionIds = unionIds;
return this;
}
public java.util.List<GetUserBasicInfoResponseBodyUnionIds> getUnionIds() {
return this.unionIds;
}
public static class GetUserBasicInfoResponseBodyUnionIds extends TeaModel {
@NameInMap("OrganizationId")
public String organizationId;
@NameInMap("UnionId")
public String unionId;
public static GetUserBasicInfoResponseBodyUnionIds build(java.util.Map<String, ?> map) throws Exception {
GetUserBasicInfoResponseBodyUnionIds self = new GetUserBasicInfoResponseBodyUnionIds();
return TeaModel.build(map, self);
}
public GetUserBasicInfoResponseBodyUnionIds setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
public GetUserBasicInfoResponseBodyUnionIds setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/GetUserPhoneResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class GetUserPhoneResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public GetUserPhoneResponseBody body;
public static GetUserPhoneResponse build(java.util.Map<String, ?> map) throws Exception {
GetUserPhoneResponse self = new GetUserPhoneResponse();
return TeaModel.build(map, self);
}
public GetUserPhoneResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public GetUserPhoneResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public GetUserPhoneResponse setBody(GetUserPhoneResponseBody body) {
this.body = body;
return this;
}
public GetUserPhoneResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/GetUserPhoneResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class GetUserPhoneResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>18612345678</p>
*/
@NameInMap("Phone")
public String phone;
/**
* <p>Id of the request</p>
*
* <strong>example:</strong>
* <p>CEADB586-51CB-1B6B-95BD-AB85A7A08E97</p>
*/
@NameInMap("RequestId")
public String requestId;
public static GetUserPhoneResponseBody build(java.util.Map<String, ?> map) throws Exception {
GetUserPhoneResponseBody self = new GetUserPhoneResponseBody();
return TeaModel.build(map, self);
}
public GetUserPhoneResponseBody setPhone(String phone) {
this.phone = phone;
return this;
}
public String getPhone() {
return this.phone;
}
public GetUserPhoneResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/OAuth2RevocationEndpointHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class OAuth2RevocationEndpointHeaders 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 OAuth2RevocationEndpointHeaders build(java.util.Map<String, ?> map) throws Exception {
OAuth2RevocationEndpointHeaders self = new OAuth2RevocationEndpointHeaders();
return TeaModel.build(map, self);
}
public OAuth2RevocationEndpointHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public OAuth2RevocationEndpointHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public OAuth2RevocationEndpointHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/OAuth2RevocationEndpointRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class OAuth2RevocationEndpointRequest extends TeaModel {
/**
* <strong>example:</strong>
* <p>UJMiksSwuMJvwXrJLULMykSw6qZ6VqaxOkN4qd5cW1Q4HhsLxvUR5xVOIv1WB3br5LoP20lPa8xiYLSMbt8JqHACXdSdw7fNkhRTIHnadxWW5jfDg7BELUB0FcFfPiv0</p>
*/
@NameInMap("Token")
public String token;
/**
* <strong>example:</strong>
* <p>refresh_token</p>
*/
@NameInMap("TokenTypeHint")
public String tokenTypeHint;
public static OAuth2RevocationEndpointRequest build(java.util.Map<String, ?> map) throws Exception {
OAuth2RevocationEndpointRequest self = new OAuth2RevocationEndpointRequest();
return TeaModel.build(map, self);
}
public OAuth2RevocationEndpointRequest setToken(String token) {
this.token = token;
return this;
}
public String getToken() {
return this.token;
}
public OAuth2RevocationEndpointRequest setTokenTypeHint(String tokenTypeHint) {
this.tokenTypeHint = tokenTypeHint;
return this;
}
public String getTokenTypeHint() {
return this.tokenTypeHint;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/OAuth2RevocationEndpointResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class OAuth2RevocationEndpointResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public OAuth2RevocationEndpointResponseBody body;
public static OAuth2RevocationEndpointResponse build(java.util.Map<String, ?> map) throws Exception {
OAuth2RevocationEndpointResponse self = new OAuth2RevocationEndpointResponse();
return TeaModel.build(map, self);
}
public OAuth2RevocationEndpointResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public OAuth2RevocationEndpointResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public OAuth2RevocationEndpointResponse setBody(OAuth2RevocationEndpointResponseBody body) {
this.body = body;
return this;
}
public OAuth2RevocationEndpointResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/OAuth2RevocationEndpointResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class OAuth2RevocationEndpointResponseBody extends TeaModel {
/**
* <p>Id of the request</p>
*
* <strong>example:</strong>
* <p>4070039E-5822-1F32-9295-1D2883E48BA5</p>
*/
@NameInMap("RequestId")
public String requestId;
public static OAuth2RevocationEndpointResponseBody build(java.util.Map<String, ?> map) throws Exception {
OAuth2RevocationEndpointResponseBody self = new OAuth2RevocationEndpointResponseBody();
return TeaModel.build(map, self);
}
public OAuth2RevocationEndpointResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/OAuth2TokenEndpointHeaders.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class OAuth2TokenEndpointHeaders 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 OAuth2TokenEndpointHeaders build(java.util.Map<String, ?> map) throws Exception {
OAuth2TokenEndpointHeaders self = new OAuth2TokenEndpointHeaders();
return TeaModel.build(map, self);
}
public OAuth2TokenEndpointHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) {
this.commonHeaders = commonHeaders;
return this;
}
public java.util.Map<String, String> getCommonHeaders() {
return this.commonHeaders;
}
public OAuth2TokenEndpointHeaders setXAcsAligenieAccessToken(String xAcsAligenieAccessToken) {
this.xAcsAligenieAccessToken = xAcsAligenieAccessToken;
return this;
}
public String getXAcsAligenieAccessToken() {
return this.xAcsAligenieAccessToken;
}
public OAuth2TokenEndpointHeaders setAuthorization(String authorization) {
this.authorization = authorization;
return this;
}
public String getAuthorization() {
return this.authorization;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/OAuth2TokenEndpointRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class OAuth2TokenEndpointRequest extends TeaModel {
/**
* <strong>example:</strong>
* <p>rf3mi4JOU-xRIX2zEuRLHi-U9mPnvISeSphbwiBHJ5mEKZtG-xJsbBWrq8RmhQEPRYh0JOd3DaS_VZ90soD_YrsT4OBtgD06DmdIKL2_5KFfI6p_SjXX2-UMJuGfXDkB</p>
*/
@NameInMap("Code")
public String code;
/**
* <strong>example:</strong>
* <p>authorization_code</p>
*/
@NameInMap("GrantType")
public String grantType;
/**
* <strong>example:</strong>
* <p><a href="https://xxx.xxx.com/xxx">https://xxx.xxx.com/xxx</a></p>
*/
@NameInMap("RedirectUri")
public String redirectUri;
/**
* <strong>example:</strong>
* <p>zsEcmaUeb8-NZW4IIUDD7qdgBNflrj6fH8BXJYbW9iXihZTgvbcr1_utC9p5HJLn_lXVwhfivBTgUQZBCGvGl5lxqaxFhmFtt-OrBduFQKL9x8p2lpEMKlxuKHZZZJ3A</p>
*/
@NameInMap("RefreshToken")
public String refreshToken;
public static OAuth2TokenEndpointRequest build(java.util.Map<String, ?> map) throws Exception {
OAuth2TokenEndpointRequest self = new OAuth2TokenEndpointRequest();
return TeaModel.build(map, self);
}
public OAuth2TokenEndpointRequest setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public OAuth2TokenEndpointRequest setGrantType(String grantType) {
this.grantType = grantType;
return this;
}
public String getGrantType() {
return this.grantType;
}
public OAuth2TokenEndpointRequest setRedirectUri(String redirectUri) {
this.redirectUri = redirectUri;
return this;
}
public String getRedirectUri() {
return this.redirectUri;
}
public OAuth2TokenEndpointRequest setRefreshToken(String refreshToken) {
this.refreshToken = refreshToken;
return this;
}
public String getRefreshToken() {
return this.refreshToken;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/OAuth2TokenEndpointResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class OAuth2TokenEndpointResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public OAuth2TokenEndpointResponseBody body;
public static OAuth2TokenEndpointResponse build(java.util.Map<String, ?> map) throws Exception {
OAuth2TokenEndpointResponse self = new OAuth2TokenEndpointResponse();
return TeaModel.build(map, self);
}
public OAuth2TokenEndpointResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public OAuth2TokenEndpointResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public OAuth2TokenEndpointResponse setBody(OAuth2TokenEndpointResponseBody body) {
this.body = body;
return this;
}
public OAuth2TokenEndpointResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/OAuth2TokenEndpointResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class OAuth2TokenEndpointResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>UJMiksSwuMJvwXrJLULMykSw6qZ6VqaxOkN4qd5cW1Q4HhsLxvUR5xVOIv1WB3br5LoP20lPa8xiYLSMbt8JqHACXdSdw7fNkhRTIHnadxWW5jfDg7BELUB0FcFfPiv0</p>
*/
@NameInMap("AccessToken")
public String accessToken;
/**
* <strong>example:</strong>
* <p>604799</p>
*/
@NameInMap("ExpiresIn")
public Long expiresIn;
/**
* <strong>example:</strong>
* <p>zsEcmaUeb8-NZW4IIUDD7qdgBNflrj6fH8BXJYbW9iXihZTgvbcr1_utC9p5HJLn_lXVwhfivBTgUQZBCGvGl5lxqaxFhmFtt-OrBduFQKL9x8p2lpEMKlxuKHZZZJ3A</p>
*/
@NameInMap("RefreshToken")
public String refreshToken;
/**
* <strong>example:</strong>
* <p>4070039E-5822-1F32-9295-1D2883E48BA5</p>
*/
@NameInMap("RequestId")
public String requestId;
/**
* <strong>example:</strong>
* <p>aligenie:user:basic:read aligenie:iot:scene:read</p>
*/
@NameInMap("Scope")
public String scope;
/**
* <strong>example:</strong>
* <p>Bearer</p>
*/
@NameInMap("TokenType")
public String tokenType;
public static OAuth2TokenEndpointResponseBody build(java.util.Map<String, ?> map) throws Exception {
OAuth2TokenEndpointResponseBody self = new OAuth2TokenEndpointResponseBody();
return TeaModel.build(map, self);
}
public OAuth2TokenEndpointResponseBody setAccessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
public String getAccessToken() {
return this.accessToken;
}
public OAuth2TokenEndpointResponseBody setExpiresIn(Long expiresIn) {
this.expiresIn = expiresIn;
return this;
}
public Long getExpiresIn() {
return this.expiresIn;
}
public OAuth2TokenEndpointResponseBody setRefreshToken(String refreshToken) {
this.refreshToken = refreshToken;
return this;
}
public String getRefreshToken() {
return this.refreshToken;
}
public OAuth2TokenEndpointResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public OAuth2TokenEndpointResponseBody setScope(String scope) {
this.scope = scope;
return this;
}
public String getScope() {
return this.scope;
}
public OAuth2TokenEndpointResponseBody setTokenType(String tokenType) {
this.tokenType = tokenType;
return this;
}
public String getTokenType() {
return this.tokenType;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/PushDeviceNotificationRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class PushDeviceNotificationRequest extends TeaModel {
@NameInMap("TenantInfo")
public PushDeviceNotificationRequestTenantInfo tenantInfo;
@NameInMap("body")
public PushDeviceNotificationRequestBody body;
public static PushDeviceNotificationRequest build(java.util.Map<String, ?> map) throws Exception {
PushDeviceNotificationRequest self = new PushDeviceNotificationRequest();
return TeaModel.build(map, self);
}
public PushDeviceNotificationRequest setTenantInfo(PushDeviceNotificationRequestTenantInfo tenantInfo) {
this.tenantInfo = tenantInfo;
return this;
}
public PushDeviceNotificationRequestTenantInfo getTenantInfo() {
return this.tenantInfo;
}
public PushDeviceNotificationRequest setBody(PushDeviceNotificationRequestBody body) {
this.body = body;
return this;
}
public PushDeviceNotificationRequestBody getBody() {
return this.body;
}
public static class PushDeviceNotificationRequestTenantInfo extends TeaModel {
/**
* <strong>example:</strong>
* <p>12797******304102</p>
*/
@NameInMap("SubjectId")
public String subjectId;
public static PushDeviceNotificationRequestTenantInfo build(java.util.Map<String, ?> map) throws Exception {
PushDeviceNotificationRequestTenantInfo self = new PushDeviceNotificationRequestTenantInfo();
return TeaModel.build(map, self);
}
public PushDeviceNotificationRequestTenantInfo setSubjectId(String subjectId) {
this.subjectId = subjectId;
return this;
}
public String getSubjectId() {
return this.subjectId;
}
}
public static class PushDeviceNotificationRequestBodySendTarget extends TeaModel {
/**
* <strong>example:</strong>
* <p>2VpiDQ6aMjxz******Eo7r6e08oIVZ3fKrm5TyEfY=</p>
*/
@NameInMap("TargetIdentity")
public String targetIdentity;
/**
* <strong>example:</strong>
* <p>DEVICE_OPEN_ID</p>
*/
@NameInMap("TargetType")
public String targetType;
public static PushDeviceNotificationRequestBodySendTarget build(java.util.Map<String, ?> map) throws Exception {
PushDeviceNotificationRequestBodySendTarget self = new PushDeviceNotificationRequestBodySendTarget();
return TeaModel.build(map, self);
}
public PushDeviceNotificationRequestBodySendTarget setTargetIdentity(String targetIdentity) {
this.targetIdentity = targetIdentity;
return this;
}
public String getTargetIdentity() {
return this.targetIdentity;
}
public PushDeviceNotificationRequestBodySendTarget setTargetType(String targetType) {
this.targetType = targetType;
return this;
}
public String getTargetType() {
return this.targetType;
}
}
public static class PushDeviceNotificationRequestBody extends TeaModel {
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1923792******8R7392</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <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>29837******2938</p>
*/
@NameInMap("OrganizationId")
public String organizationId;
@NameInMap("PlaceHolder")
public java.util.Map<String, String> placeHolder;
/**
* <p>This parameter is required.</p>
*/
@NameInMap("SendTarget")
public PushDeviceNotificationRequestBodySendTarget sendTarget;
public static PushDeviceNotificationRequestBody build(java.util.Map<String, ?> map) throws Exception {
PushDeviceNotificationRequestBody self = new PushDeviceNotificationRequestBody();
return TeaModel.build(map, self);
}
public PushDeviceNotificationRequestBody setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public PushDeviceNotificationRequestBody setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public PushDeviceNotificationRequestBody setIsDebug(Boolean isDebug) {
this.isDebug = isDebug;
return this;
}
public Boolean getIsDebug() {
return this.isDebug;
}
public PushDeviceNotificationRequestBody setMessageTemplateId(String messageTemplateId) {
this.messageTemplateId = messageTemplateId;
return this;
}
public String getMessageTemplateId() {
return this.messageTemplateId;
}
public PushDeviceNotificationRequestBody setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
public PushDeviceNotificationRequestBody setPlaceHolder(java.util.Map<String, String> placeHolder) {
this.placeHolder = placeHolder;
return this;
}
public java.util.Map<String, String> getPlaceHolder() {
return this.placeHolder;
}
public PushDeviceNotificationRequestBody setSendTarget(PushDeviceNotificationRequestBodySendTarget sendTarget) {
this.sendTarget = sendTarget;
return this;
}
public PushDeviceNotificationRequestBodySendTarget getSendTarget() {
return this.sendTarget;
}
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/PushDeviceNotificationResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class PushDeviceNotificationResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public PushDeviceNotificationResponseBody body;
public static PushDeviceNotificationResponse build(java.util.Map<String, ?> map) throws Exception {
PushDeviceNotificationResponse self = new PushDeviceNotificationResponse();
return TeaModel.build(map, self);
}
public PushDeviceNotificationResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public PushDeviceNotificationResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public PushDeviceNotificationResponse setBody(PushDeviceNotificationResponseBody body) {
this.body = body;
return this;
}
public PushDeviceNotificationResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/PushDeviceNotificationResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class PushDeviceNotificationResponseBody extends TeaModel {
/**
* <strong>example:</strong>
* <p>908FA068-529C-0C20-8DB5-63B0EF7CFF1F</p>
*/
@NameInMap("requestId")
public String requestId;
public static PushDeviceNotificationResponseBody build(java.util.Map<String, ?> map) throws Exception {
PushDeviceNotificationResponseBody self = new PushDeviceNotificationResponseBody();
return TeaModel.build(map, self);
}
public PushDeviceNotificationResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/PushDeviceNotificationShrinkRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class PushDeviceNotificationShrinkRequest extends TeaModel {
@NameInMap("TenantInfo")
public String tenantInfoShrink;
@NameInMap("body")
public String bodyShrink;
public static PushDeviceNotificationShrinkRequest build(java.util.Map<String, ?> map) throws Exception {
PushDeviceNotificationShrinkRequest self = new PushDeviceNotificationShrinkRequest();
return TeaModel.build(map, self);
}
public PushDeviceNotificationShrinkRequest setTenantInfoShrink(String tenantInfoShrink) {
this.tenantInfoShrink = tenantInfoShrink;
return this;
}
public String getTenantInfoShrink() {
return this.tenantInfoShrink;
}
public PushDeviceNotificationShrinkRequest setBodyShrink(String bodyShrink) {
this.bodyShrink = bodyShrink;
return this;
}
public String getBodyShrink() {
return this.bodyShrink;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/QueryDeviceListResponse.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class QueryDeviceListResponse extends TeaModel {
@NameInMap("headers")
public java.util.Map<String, String> headers;
@NameInMap("statusCode")
public Integer statusCode;
@NameInMap("body")
public QueryDeviceListResponseBody body;
public static QueryDeviceListResponse build(java.util.Map<String, ?> map) throws Exception {
QueryDeviceListResponse self = new QueryDeviceListResponse();
return TeaModel.build(map, self);
}
public QueryDeviceListResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
public QueryDeviceListResponse setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return this.statusCode;
}
public QueryDeviceListResponse setBody(QueryDeviceListResponseBody body) {
this.body = body;
return this;
}
public QueryDeviceListResponseBody getBody() {
return this.body;
}
}
|
0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0
|
java-sources/com/aliyun/aligenieoauth2_1_0/2.0.0/com/aliyun/aligenieoauth2_1_0/models/QueryDeviceListResponseBody.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligenieoauth2_1_0.models;
import com.aliyun.tea.*;
public class QueryDeviceListResponseBody extends TeaModel {
@NameInMap("DeviceList")
public java.util.List<QueryDeviceListResponseBodyDeviceList> deviceList;
/**
* <strong>example:</strong>
* <p>125****0946</p>
*/
@NameInMap("EncodeKey")
public String encodeKey;
/**
* <strong>example:</strong>
* <p>PROJECT_ID</p>
*/
@NameInMap("EncodeType")
public String encodeType;
/**
* <strong>example:</strong>
* <p>0EC7*726E</p>
*/
@NameInMap("RequestId")
public String requestId;
public static QueryDeviceListResponseBody build(java.util.Map<String, ?> map) throws Exception {
QueryDeviceListResponseBody self = new QueryDeviceListResponseBody();
return TeaModel.build(map, self);
}
public QueryDeviceListResponseBody setDeviceList(java.util.List<QueryDeviceListResponseBodyDeviceList> deviceList) {
this.deviceList = deviceList;
return this;
}
public java.util.List<QueryDeviceListResponseBodyDeviceList> getDeviceList() {
return this.deviceList;
}
public QueryDeviceListResponseBody setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
public QueryDeviceListResponseBody setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public QueryDeviceListResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class QueryDeviceListResponseBodyDeviceListDeviceUnionIds extends TeaModel {
@NameInMap("OrganizationId")
public String organizationId;
@NameInMap("UnionId")
public String unionId;
public static QueryDeviceListResponseBodyDeviceListDeviceUnionIds build(java.util.Map<String, ?> map) throws Exception {
QueryDeviceListResponseBodyDeviceListDeviceUnionIds self = new QueryDeviceListResponseBodyDeviceListDeviceUnionIds();
return TeaModel.build(map, self);
}
public QueryDeviceListResponseBodyDeviceListDeviceUnionIds setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
public QueryDeviceListResponseBodyDeviceListDeviceUnionIds setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}
public static class QueryDeviceListResponseBodyDeviceList extends TeaModel {
/**
* <strong>example:</strong>
* <p><a href="https://XXXXXX">https://XXXXXX</a></p>
*/
@NameInMap("DeviceIconUrl")
public String deviceIconUrl;
@NameInMap("DeviceName")
public String deviceName;
/**
* <strong>example:</strong>
* <p>jMR2********ojVJXk=</p>
*/
@NameInMap("DeviceOpenId")
public String deviceOpenId;
@NameInMap("DeviceUnionIds")
public java.util.List<QueryDeviceListResponseBodyDeviceListDeviceUnionIds> deviceUnionIds;
/**
* <strong>example:</strong>
* <p>1</p>
*/
@NameInMap("Online")
public String online;
public static QueryDeviceListResponseBodyDeviceList build(java.util.Map<String, ?> map) throws Exception {
QueryDeviceListResponseBodyDeviceList self = new QueryDeviceListResponseBodyDeviceList();
return TeaModel.build(map, self);
}
public QueryDeviceListResponseBodyDeviceList setDeviceIconUrl(String deviceIconUrl) {
this.deviceIconUrl = deviceIconUrl;
return this;
}
public String getDeviceIconUrl() {
return this.deviceIconUrl;
}
public QueryDeviceListResponseBodyDeviceList setDeviceName(String deviceName) {
this.deviceName = deviceName;
return this;
}
public String getDeviceName() {
return this.deviceName;
}
public QueryDeviceListResponseBodyDeviceList setDeviceOpenId(String deviceOpenId) {
this.deviceOpenId = deviceOpenId;
return this;
}
public String getDeviceOpenId() {
return this.deviceOpenId;
}
public QueryDeviceListResponseBodyDeviceList setDeviceUnionIds(java.util.List<QueryDeviceListResponseBodyDeviceListDeviceUnionIds> deviceUnionIds) {
this.deviceUnionIds = deviceUnionIds;
return this;
}
public java.util.List<QueryDeviceListResponseBodyDeviceListDeviceUnionIds> getDeviceUnionIds() {
return this.deviceUnionIds;
}
public QueryDeviceListResponseBodyDeviceList setOnline(String online) {
this.online = online;
return this;
}
public String getOnline() {
return this.online;
}
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1.0/1.0.0/com/aliyun
|
java-sources/com/aliyun/aligeniessp_1.0/1.0.0/com/aliyun/aligeniessp_1_0/Client.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0;
import com.aliyun.tea.*;
import com.aliyun.aligeniessp_1_0.models.*;
import com.aliyun.teautil.*;
import com.aliyun.teautil.models.*;
import com.aliyun.teaopenapi.*;
import com.aliyun.teaopenapi.models.*;
import com.aliyun.openapiutil.*;
import com.aliyun.endpointutil.*;
public class Client extends com.aliyun.teaopenapi.Client {
public Client(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);
}
public GetDeviceIdByIdentityResponse getDeviceIdByIdentity(GetDeviceIdByIdentityRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
GetDeviceIdByIdentityHeaders headers = new GetDeviceIdByIdentityHeaders();
return this.getDeviceIdByIdentityWithOptions(request, headers, runtime);
}
public GetDeviceIdByIdentityResponse getDeviceIdByIdentityWithOptions(GetDeviceIdByIdentityRequest request, GetDeviceIdByIdentityHeaders headers, 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.identityType)) {
query.put("IdentityType", request.identityType);
}
if (!com.aliyun.teautil.Common.isUnset(request.encodeType)) {
query.put("EncodeType", request.encodeType);
}
if (!com.aliyun.teautil.Common.isUnset(request.identityId)) {
query.put("IdentityId", request.identityId);
}
if (!com.aliyun.teautil.Common.isUnset(request.productKey)) {
query.put("ProductKey", request.productKey);
}
if (!com.aliyun.teautil.Common.isUnset(request.encodeKey)) {
query.put("EncodeKey", request.encodeKey);
}
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", headers.xAcsAligenieAccessToken);
}
if (!com.aliyun.teautil.Common.isUnset(headers.authorization)) {
realHeaders.put("Authorization", headers.authorization);
}
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("headers", realHeaders),
new TeaPair("query", com.aliyun.openapiutil.Client.query(query))
));
return TeaModel.toModel(this.doROARequest("GetDeviceIdByIdentity", "ssp_1.0", "HTTPS", "GET", "AK", "/getDeviceIdByIdentity", "json", req, runtime), new GetDeviceIdByIdentityResponse());
}
}
|
0
|
java-sources/com/aliyun/aligeniessp_1.0/1.0.0/com/aliyun/aligeniessp_1_0
|
java-sources/com/aliyun/aligeniessp_1.0/1.0.0/com/aliyun/aligeniessp_1_0/models/GetDeviceIdByIdentityRequest.java
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.aligeniessp_1_0.models;
import com.aliyun.tea.*;
public class GetDeviceIdByIdentityRequest extends TeaModel {
// 认证类型,MAC/SN
@NameInMap("IdentityType")
public String identityType;
// 编码类型
@NameInMap("EncodeType")
public String encodeType;
// 认证标识,具体的MAC地址或者SN号
@NameInMap("IdentityId")
public String identityId;
// 产品productKey
@NameInMap("ProductKey")
public String productKey;
// 编码Key
@NameInMap("EncodeKey")
public String encodeKey;
public static GetDeviceIdByIdentityRequest build(java.util.Map<String, ?> map) throws Exception {
GetDeviceIdByIdentityRequest self = new GetDeviceIdByIdentityRequest();
return TeaModel.build(map, self);
}
public GetDeviceIdByIdentityRequest setIdentityType(String identityType) {
this.identityType = identityType;
return this;
}
public String getIdentityType() {
return this.identityType;
}
public GetDeviceIdByIdentityRequest setEncodeType(String encodeType) {
this.encodeType = encodeType;
return this;
}
public String getEncodeType() {
return this.encodeType;
}
public GetDeviceIdByIdentityRequest setIdentityId(String identityId) {
this.identityId = identityId;
return this;
}
public String getIdentityId() {
return this.identityId;
}
public GetDeviceIdByIdentityRequest setProductKey(String productKey) {
this.productKey = productKey;
return this;
}
public String getProductKey() {
return this.productKey;
}
public GetDeviceIdByIdentityRequest setEncodeKey(String encodeKey) {
this.encodeKey = encodeKey;
return this;
}
public String getEncodeKey() {
return this.encodeKey;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.