From 6f3a6c24603823b95c58c5278bc88642b94b1fe7 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:06 +0800 Subject: [PATCH 001/235] feat: update --- .../model/AdaptCreateAndSubmitAllForms.java | 298 ++++++++++++++++++ 1 file changed, 298 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/AdaptCreateAndSubmitAllForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/AdaptCreateAndSubmitAllForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/AdaptCreateAndSubmitAllForms.java new file mode 100644 index 000000000..73ba3d7a8 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/AdaptCreateAndSubmitAllForms.java @@ -0,0 +1,298 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * AdaptCreateAndSubmitAllForms + */ +public class AdaptCreateAndSubmitAllForms implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer gameId = null; + + + private String gameName = null; + + + private Integer gameVersionId = null; + + + private String gameVersion = null; + + + private String resolutionList = null; + + + private String frameRateList = null; + + + private Integer platformType = null; + + + private Integer sourcePlatform = null; + + + private String records = null; + + + private String mixGameVersionId = null; + + + private String mixGameId = null; + + + public AdaptCreateAndSubmitAllForms gameId(Integer gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public Integer getGameId() { + return gameId; + } + + public void setGameId(Integer gameId) { + this.gameId = gameId; + } + + public AdaptCreateAndSubmitAllForms gameName(String gameName) { + this.gameName = gameName; + return this; + } + + /** + * Get gameName + * @return gameName + **/ + public String getGameName() { + return gameName; + } + + public void setGameName(String gameName) { + this.gameName = gameName; + } + + public AdaptCreateAndSubmitAllForms gameVersionId(Integer gameVersionId) { + this.gameVersionId = gameVersionId; + return this; + } + + /** + * Get gameVersionId + * @return gameVersionId + **/ + public Integer getGameVersionId() { + return gameVersionId; + } + + public void setGameVersionId(Integer gameVersionId) { + this.gameVersionId = gameVersionId; + } + + public AdaptCreateAndSubmitAllForms gameVersion(String gameVersion) { + this.gameVersion = gameVersion; + return this; + } + + /** + * Get gameVersion + * @return gameVersion + **/ + public String getGameVersion() { + return gameVersion; + } + + public void setGameVersion(String gameVersion) { + this.gameVersion = gameVersion; + } + + public AdaptCreateAndSubmitAllForms resolutionList(String resolutionList) { + this.resolutionList = resolutionList; + return this; + } + + /** + * Get resolutionList + * @return resolutionList + **/ + public String getResolutionList() { + return resolutionList; + } + + public void setResolutionList(String resolutionList) { + this.resolutionList = resolutionList; + } + + public AdaptCreateAndSubmitAllForms frameRateList(String frameRateList) { + this.frameRateList = frameRateList; + return this; + } + + /** + * Get frameRateList + * @return frameRateList + **/ + public String getFrameRateList() { + return frameRateList; + } + + public void setFrameRateList(String frameRateList) { + this.frameRateList = frameRateList; + } + + public AdaptCreateAndSubmitAllForms platformType(Integer platformType) { + this.platformType = platformType; + return this; + } + + /** + * Get platformType + * @return platformType + **/ + public Integer getPlatformType() { + return platformType; + } + + public void setPlatformType(Integer platformType) { + this.platformType = platformType; + } + + public AdaptCreateAndSubmitAllForms sourcePlatform(Integer sourcePlatform) { + this.sourcePlatform = sourcePlatform; + return this; + } + + /** + * Get sourcePlatform + * @return sourcePlatform + **/ + public Integer getSourcePlatform() { + return sourcePlatform; + } + + public void setSourcePlatform(Integer sourcePlatform) { + this.sourcePlatform = sourcePlatform; + } + + public AdaptCreateAndSubmitAllForms records(String records) { + this.records = records; + return this; + } + + /** + * Get records + * @return records + **/ + public String getRecords() { + return records; + } + + public void setRecords(String records) { + this.records = records; + } + + public AdaptCreateAndSubmitAllForms mixGameVersionId(String mixGameVersionId) { + this.mixGameVersionId = mixGameVersionId; + return this; + } + + /** + * Get mixGameVersionId + * @return mixGameVersionId + **/ + public String getMixGameVersionId() { + return mixGameVersionId; + } + + public void setMixGameVersionId(String mixGameVersionId) { + this.mixGameVersionId = mixGameVersionId; + } + + public AdaptCreateAndSubmitAllForms mixGameId(String mixGameId) { + this.mixGameId = mixGameId; + return this; + } + + /** + * Get mixGameId + * @return mixGameId + **/ + public String getMixGameId() { + return mixGameId; + } + + public void setMixGameId(String mixGameId) { + this.mixGameId = mixGameId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AdaptCreateAndSubmitAllForms adaptCreateAndSubmitAllForms = (AdaptCreateAndSubmitAllForms) o; + return Objects.equals(this.gameId, adaptCreateAndSubmitAllForms.gameId) && + Objects.equals(this.gameName, adaptCreateAndSubmitAllForms.gameName) && + Objects.equals(this.gameVersionId, adaptCreateAndSubmitAllForms.gameVersionId) && + Objects.equals(this.gameVersion, adaptCreateAndSubmitAllForms.gameVersion) && + Objects.equals(this.resolutionList, adaptCreateAndSubmitAllForms.resolutionList) && + Objects.equals(this.frameRateList, adaptCreateAndSubmitAllForms.frameRateList) && + Objects.equals(this.platformType, adaptCreateAndSubmitAllForms.platformType) && + Objects.equals(this.sourcePlatform, adaptCreateAndSubmitAllForms.sourcePlatform) && + Objects.equals(this.records, adaptCreateAndSubmitAllForms.records) && + Objects.equals(this.mixGameVersionId, adaptCreateAndSubmitAllForms.mixGameVersionId) && + Objects.equals(this.mixGameId, adaptCreateAndSubmitAllForms.mixGameId); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, gameName, gameVersionId, gameVersion, resolutionList, frameRateList, platformType, sourcePlatform, records, mixGameVersionId, mixGameId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AdaptCreateAndSubmitAllForms {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",gameName: ").append(toIndentedString(gameName)); + sb.append(",gameVersionId: ").append(toIndentedString(gameVersionId)); + sb.append(",gameVersion: ").append(toIndentedString(gameVersion)); + sb.append(",resolutionList: ").append(toIndentedString(resolutionList)); + sb.append(",frameRateList: ").append(toIndentedString(frameRateList)); + sb.append(",platformType: ").append(toIndentedString(platformType)); + sb.append(",sourcePlatform: ").append(toIndentedString(sourcePlatform)); + sb.append(",records: ").append(toIndentedString(records)); + sb.append(",mixGameVersionId: ").append(toIndentedString(mixGameVersionId)); + sb.append(",mixGameId: ").append(toIndentedString(mixGameId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 4bc5a92755bd23c482aa7e718802244f05211393 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:08 +0800 Subject: [PATCH 002/235] feat: update --- .../model/AdaptCreateAndSubmitAllResult.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/AdaptCreateAndSubmitAllResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/AdaptCreateAndSubmitAllResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/AdaptCreateAndSubmitAllResult.java new file mode 100644 index 000000000..8e0a8295c --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/AdaptCreateAndSubmitAllResult.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * AdaptCreateAndSubmitAllResult + */ +public class AdaptCreateAndSubmitAllResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private Long model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public AdaptCreateAndSubmitAllResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public AdaptCreateAndSubmitAllResult model(Long model) { + this.model = model; + return this; + } + + /** + * 适配请求ID + * @return model + **/ + public Long getModel() { + return model; + } + + public void setModel(Long model) { + this.model = model; + } + + public AdaptCreateAndSubmitAllResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public AdaptCreateAndSubmitAllResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AdaptCreateAndSubmitAllResult adaptCreateAndSubmitAllResult = (AdaptCreateAndSubmitAllResult) o; + return Objects.equals(this.success, adaptCreateAndSubmitAllResult.success) && + Objects.equals(this.model, adaptCreateAndSubmitAllResult.model) && + Objects.equals(this.msgInfo, adaptCreateAndSubmitAllResult.msgInfo) && + Objects.equals(this.msgCode, adaptCreateAndSubmitAllResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AdaptCreateAndSubmitAllResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 08380b4d2ca97f452d882f856a0779532a5d1468 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:09 +0800 Subject: [PATCH 003/235] feat: update --- .../model/AdaptQueryRequestByIdForms.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/AdaptQueryRequestByIdForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/AdaptQueryRequestByIdForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/AdaptQueryRequestByIdForms.java new file mode 100644 index 000000000..1f5956539 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/AdaptQueryRequestByIdForms.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * AdaptQueryRequestByIdForms + */ +public class AdaptQueryRequestByIdForms implements Serializable { + private static final long serialVersionUID = 1L; + + private Long id = null; + + + public AdaptQueryRequestByIdForms id(Long id) { + this.id = id; + return this; + } + + /** + * 适配请求id + * @return id + **/ + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AdaptQueryRequestByIdForms adaptQueryRequestByIdForms = (AdaptQueryRequestByIdForms) o; + return Objects.equals(this.id, adaptQueryRequestByIdForms.id); + } + + @Override + public int hashCode() { + return Objects.hash(id); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AdaptQueryRequestByIdForms {"); + + sb.append(",id: ").append(toIndentedString(id)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 3903c7073928daa2eb5b70ab8ea4384ed09facbb Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:11 +0800 Subject: [PATCH 004/235] feat: update --- .../model/AdaptQueryRequestByIdResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/AdaptQueryRequestByIdResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/AdaptQueryRequestByIdResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/AdaptQueryRequestByIdResult.java new file mode 100644 index 000000000..361a59726 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/AdaptQueryRequestByIdResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.AdaptQueryRequestByIdResultModel; +import java.io.Serializable; +/** + * AdaptQueryRequestByIdResult + */ +public class AdaptQueryRequestByIdResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private AdaptQueryRequestByIdResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public AdaptQueryRequestByIdResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public AdaptQueryRequestByIdResult model(AdaptQueryRequestByIdResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public AdaptQueryRequestByIdResultModel getModel() { + return model; + } + + public void setModel(AdaptQueryRequestByIdResultModel model) { + this.model = model; + } + + public AdaptQueryRequestByIdResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public AdaptQueryRequestByIdResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AdaptQueryRequestByIdResult adaptQueryRequestByIdResult = (AdaptQueryRequestByIdResult) o; + return Objects.equals(this.success, adaptQueryRequestByIdResult.success) && + Objects.equals(this.model, adaptQueryRequestByIdResult.model) && + Objects.equals(this.msgInfo, adaptQueryRequestByIdResult.msgInfo) && + Objects.equals(this.msgCode, adaptQueryRequestByIdResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AdaptQueryRequestByIdResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From ace3bc9deed7b2eb75803ccf53248f9f1db890ab Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:12 +0800 Subject: [PATCH 005/235] feat: update --- .../AdaptQueryRequestByIdResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/AdaptQueryRequestByIdResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/AdaptQueryRequestByIdResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/AdaptQueryRequestByIdResultModel.java new file mode 100644 index 000000000..ee85df175 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/AdaptQueryRequestByIdResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * AdaptQueryRequestByIdResultModel + */ +public class AdaptQueryRequestByIdResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer state = null; + + + public AdaptQueryRequestByIdResultModel state(Integer state) { + this.state = state; + return this; + } + + /** + * 状态0:待适配 1:适配中 2:适配完成 3:适配失败 + * @return state + **/ + public Integer getState() { + return state; + } + + public void setState(Integer state) { + this.state = state; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AdaptQueryRequestByIdResultModel adaptQueryRequestByIdResultModel = (AdaptQueryRequestByIdResultModel) o; + return Objects.equals(this.state, adaptQueryRequestByIdResultModel.state); + } + + @Override + public int hashCode() { + return Objects.hash(state); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AdaptQueryRequestByIdResultModel {"); + + sb.append(",state: ").append(toIndentedString(state)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From bdf38d30e51e252d40531e2b3076085a1f81270c Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:13 +0800 Subject: [PATCH 006/235] feat: update --- .../client/model/BatchStopGameForms.java | 188 ++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/BatchStopGameForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/BatchStopGameForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/BatchStopGameForms.java new file mode 100644 index 000000000..feff51383 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/BatchStopGameForms.java @@ -0,0 +1,188 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * BatchStopGameForms + */ +public class BatchStopGameForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String appKey = null; + + + private String token = null; + + + private String reason = null; + + + private String trackInfo = null; + + + private String tags = null; + + + public BatchStopGameForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Paas平台部署的游戏Id + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public BatchStopGameForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * Paas平台AK(应用的AK,非服务端AK) + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public BatchStopGameForms token(String token) { + this.token = token; + return this; + } + + /** + * 通过接口获取的token + * @return token + **/ + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } + + public BatchStopGameForms reason(String reason) { + this.reason = reason; + return this; + } + + /** + * 踢人的原因,会透传到sdk侧 + * @return reason + **/ + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public BatchStopGameForms trackInfo(String trackInfo) { + this.trackInfo = trackInfo; + return this; + } + + /** + * TrackInfo,回传消息 + * @return trackInfo + **/ + public String getTrackInfo() { + return trackInfo; + } + + public void setTrackInfo(String trackInfo) { + this.trackInfo = trackInfo; + } + + public BatchStopGameForms tags(String tags) { + this.tags = tags; + return this; + } + + /** + * 支持多标签传输 + * @return tags + **/ + public String getTags() { + return tags; + } + + public void setTags(String tags) { + this.tags = tags; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BatchStopGameForms batchStopGameForms = (BatchStopGameForms) o; + return Objects.equals(this.gameId, batchStopGameForms.gameId) && + Objects.equals(this.appKey, batchStopGameForms.appKey) && + Objects.equals(this.token, batchStopGameForms.token) && + Objects.equals(this.reason, batchStopGameForms.reason) && + Objects.equals(this.trackInfo, batchStopGameForms.trackInfo) && + Objects.equals(this.tags, batchStopGameForms.tags); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, appKey, token, reason, trackInfo, tags); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BatchStopGameForms {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",token: ").append(toIndentedString(token)); + sb.append(",reason: ").append(toIndentedString(reason)); + sb.append(",trackInfo: ").append(toIndentedString(trackInfo)); + sb.append(",tags: ").append(toIndentedString(tags)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From ca2e425f1f073a1a8beffa98db2802b308477c8b Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:15 +0800 Subject: [PATCH 007/235] feat: update --- .../client/model/BatchStopGameResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/BatchStopGameResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/BatchStopGameResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/BatchStopGameResult.java new file mode 100644 index 000000000..2ac9c220c --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/BatchStopGameResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.BatchStopGameResultModel; +import java.io.Serializable; +/** + * BatchStopGameResult + */ +public class BatchStopGameResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private BatchStopGameResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public BatchStopGameResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public BatchStopGameResult model(BatchStopGameResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public BatchStopGameResultModel getModel() { + return model; + } + + public void setModel(BatchStopGameResultModel model) { + this.model = model; + } + + public BatchStopGameResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public BatchStopGameResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BatchStopGameResult batchStopGameResult = (BatchStopGameResult) o; + return Objects.equals(this.success, batchStopGameResult.success) && + Objects.equals(this.model, batchStopGameResult.model) && + Objects.equals(this.msgInfo, batchStopGameResult.msgInfo) && + Objects.equals(this.msgCode, batchStopGameResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BatchStopGameResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 0a526cebe43704181e32d9538a24bff9a254577a Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:16 +0800 Subject: [PATCH 008/235] feat: update --- .../model/BatchStopGameResultModel.java | 210 ++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/BatchStopGameResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/BatchStopGameResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/BatchStopGameResultModel.java new file mode 100644 index 000000000..7a6f3bb83 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/BatchStopGameResultModel.java @@ -0,0 +1,210 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * BatchStopGameResultModel + */ +public class BatchStopGameResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String trackInfo = null; + + + private String code = null; + + + private String requestId = null; + + + private Boolean success = null; + + + private String message = null; + + + private String projectId = null; + + + public BatchStopGameResultModel gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Paas平台游戏ID + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public BatchStopGameResultModel trackInfo(String trackInfo) { + this.trackInfo = trackInfo; + return this; + } + + /** + * 批量停止的回传trackInfo + * @return trackInfo + **/ + public String getTrackInfo() { + return trackInfo; + } + + public void setTrackInfo(String trackInfo) { + this.trackInfo = trackInfo; + } + + public BatchStopGameResultModel code(String code) { + this.code = code; + return this; + } + + /** + * 返回码 + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public BatchStopGameResultModel requestId(String requestId) { + this.requestId = requestId; + return this; + } + + /** + * 请求链路唯一标示 + * @return requestId + **/ + public String getRequestId() { + return requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public BatchStopGameResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * 调度执行结果 + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public BatchStopGameResultModel message(String message) { + this.message = message; + return this; + } + + /** + * 返回信息 + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public BatchStopGameResultModel projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * 游戏归属的项目Id + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BatchStopGameResultModel batchStopGameResultModel = (BatchStopGameResultModel) o; + return Objects.equals(this.gameId, batchStopGameResultModel.gameId) && + Objects.equals(this.trackInfo, batchStopGameResultModel.trackInfo) && + Objects.equals(this.code, batchStopGameResultModel.code) && + Objects.equals(this.requestId, batchStopGameResultModel.requestId) && + Objects.equals(this.success, batchStopGameResultModel.success) && + Objects.equals(this.message, batchStopGameResultModel.message) && + Objects.equals(this.projectId, batchStopGameResultModel.projectId); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, trackInfo, code, requestId, success, message, projectId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BatchStopGameResultModel {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",trackInfo: ").append(toIndentedString(trackInfo)); + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",requestId: ").append(toIndentedString(requestId)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From e4952accc683c51cb84d6944a1fd7d3930b8785f Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:17 +0800 Subject: [PATCH 009/235] feat: update --- .../client/model/CancelGameHangForms.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangForms.java new file mode 100644 index 000000000..e9e143835 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangForms.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * CancelGameHangForms + */ +public class CancelGameHangForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameSession = null; + + + private String appKey = null; + + + public CancelGameHangForms gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * 会话ID + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + public CancelGameHangForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * 项目应用AK + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CancelGameHangForms cancelGameHangForms = (CancelGameHangForms) o; + return Objects.equals(this.gameSession, cancelGameHangForms.gameSession) && + Objects.equals(this.appKey, cancelGameHangForms.appKey); + } + + @Override + public int hashCode() { + return Objects.hash(gameSession, appKey); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CancelGameHangForms {"); + + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From b7d5176fa868ace5a05463c3692b73da804af779 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:19 +0800 Subject: [PATCH 010/235] feat: update --- .../client/model/CancelGameHangResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangResult.java new file mode 100644 index 000000000..e6267a824 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.CancelGameHangResultModel; +import java.io.Serializable; +/** + * CancelGameHangResult + */ +public class CancelGameHangResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private CancelGameHangResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public CancelGameHangResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public CancelGameHangResult model(CancelGameHangResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public CancelGameHangResultModel getModel() { + return model; + } + + public void setModel(CancelGameHangResultModel model) { + this.model = model; + } + + public CancelGameHangResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public CancelGameHangResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CancelGameHangResult cancelGameHangResult = (CancelGameHangResult) o; + return Objects.equals(this.success, cancelGameHangResult.success) && + Objects.equals(this.model, cancelGameHangResult.model) && + Objects.equals(this.msgInfo, cancelGameHangResult.msgInfo) && + Objects.equals(this.msgCode, cancelGameHangResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CancelGameHangResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 076ef2a3aae6be9f5cdfc44e523996ba699c1240 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:20 +0800 Subject: [PATCH 011/235] feat: update --- .../model/CancelGameHangResultModel.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangResultModel.java new file mode 100644 index 000000000..46ad9e9ec --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangResultModel.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * CancelGameHangResultModel + */ +public class CancelGameHangResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String code = null; + + + private Boolean success = null; + + + private String message = null; + + + private String gameSession = null; + + + public CancelGameHangResultModel code(String code) { + this.code = code; + return this; + } + + /** + * 错误Code + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public CancelGameHangResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * 设置是否成功 + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public CancelGameHangResultModel message(String message) { + this.message = message; + return this; + } + + /** + * 错误Message + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public CancelGameHangResultModel gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * 会话ID + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CancelGameHangResultModel cancelGameHangResultModel = (CancelGameHangResultModel) o; + return Objects.equals(this.code, cancelGameHangResultModel.code) && + Objects.equals(this.success, cancelGameHangResultModel.success) && + Objects.equals(this.message, cancelGameHangResultModel.message) && + Objects.equals(this.gameSession, cancelGameHangResultModel.gameSession); + } + + @Override + public int hashCode() { + return Objects.hash(code, success, message, gameSession); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CancelGameHangResultModel {"); + + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From f5c3e6b0ed757d818f47a0186fa9543587f9fc98 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:22 +0800 Subject: [PATCH 012/235] feat: update --- .../client/model/ClientNotifyForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ClientNotifyForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ClientNotifyForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ClientNotifyForms.java new file mode 100644 index 000000000..f53f916ca --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ClientNotifyForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ClientNotifyForms + */ +public class ClientNotifyForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String appKey = null; + + + private String gameSession = null; + + + private String value = null; + + + public ClientNotifyForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * Get appKey + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public ClientNotifyForms gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * Get gameSession + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + public ClientNotifyForms value(String value) { + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ClientNotifyForms clientNotifyForms = (ClientNotifyForms) o; + return Objects.equals(this.appKey, clientNotifyForms.appKey) && + Objects.equals(this.gameSession, clientNotifyForms.gameSession) && + Objects.equals(this.value, clientNotifyForms.value); + } + + @Override + public int hashCode() { + return Objects.hash(appKey, gameSession, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ClientNotifyForms {"); + + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append(",value: ").append(toIndentedString(value)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From afdb95b825f214bab8543e3b250c9073a843bb25 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:23 +0800 Subject: [PATCH 013/235] feat: update --- .../client/model/ClientNotifyResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ClientNotifyResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ClientNotifyResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ClientNotifyResult.java new file mode 100644 index 000000000..e86048caf --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ClientNotifyResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ClientNotifyResultModel; +import java.io.Serializable; +/** + * ClientNotifyResult + */ +public class ClientNotifyResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ClientNotifyResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ClientNotifyResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ClientNotifyResult model(ClientNotifyResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ClientNotifyResultModel getModel() { + return model; + } + + public void setModel(ClientNotifyResultModel model) { + this.model = model; + } + + public ClientNotifyResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ClientNotifyResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ClientNotifyResult clientNotifyResult = (ClientNotifyResult) o; + return Objects.equals(this.success, clientNotifyResult.success) && + Objects.equals(this.model, clientNotifyResult.model) && + Objects.equals(this.msgInfo, clientNotifyResult.msgInfo) && + Objects.equals(this.msgCode, clientNotifyResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ClientNotifyResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From e4225a793308f44d90f42b4fb64baef06c933e5c Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:24 +0800 Subject: [PATCH 014/235] feat: update --- .../client/model/ClientNotifyResultModel.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ClientNotifyResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ClientNotifyResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ClientNotifyResultModel.java new file mode 100644 index 000000000..5334ece5b --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ClientNotifyResultModel.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ClientNotifyResultModel + */ +public class ClientNotifyResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String code = null; + + + private Boolean success = null; + + + private String message = null; + + + private String gameSession = null; + + + public ClientNotifyResultModel code(String code) { + this.code = code; + return this; + } + + /** + * Get code + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public ClientNotifyResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ClientNotifyResultModel message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public ClientNotifyResultModel gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * Get gameSession + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ClientNotifyResultModel clientNotifyResultModel = (ClientNotifyResultModel) o; + return Objects.equals(this.code, clientNotifyResultModel.code) && + Objects.equals(this.success, clientNotifyResultModel.success) && + Objects.equals(this.message, clientNotifyResultModel.message) && + Objects.equals(this.gameSession, clientNotifyResultModel.gameSession); + } + + @Override + public int hashCode() { + return Objects.hash(code, success, message, gameSession); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ClientNotifyResultModel {"); + + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From eacd77f97b631686e1d4ee52758ce8d32797a7ef Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:26 +0800 Subject: [PATCH 015/235] feat: update --- .../ConsoleAdminActivateDeploymentForms.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminActivateDeploymentForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminActivateDeploymentForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminActivateDeploymentForms.java new file mode 100644 index 000000000..86f2810d7 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminActivateDeploymentForms.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminActivateDeploymentForms + */ +public class ConsoleAdminActivateDeploymentForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String projectId = null; + + + private String versionId = null; + + + private Integer maxConcurrency = null; + + + public ConsoleAdminActivateDeploymentForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public ConsoleAdminActivateDeploymentForms projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public ConsoleAdminActivateDeploymentForms versionId(String versionId) { + this.versionId = versionId; + return this; + } + + /** + * Get versionId + * @return versionId + **/ + public String getVersionId() { + return versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + } + + public ConsoleAdminActivateDeploymentForms maxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + return this; + } + + /** + * Get maxConcurrency + * @return maxConcurrency + **/ + public Integer getMaxConcurrency() { + return maxConcurrency; + } + + public void setMaxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminActivateDeploymentForms consoleAdminActivateDeploymentForms = (ConsoleAdminActivateDeploymentForms) o; + return Objects.equals(this.gameId, consoleAdminActivateDeploymentForms.gameId) && + Objects.equals(this.projectId, consoleAdminActivateDeploymentForms.projectId) && + Objects.equals(this.versionId, consoleAdminActivateDeploymentForms.versionId) && + Objects.equals(this.maxConcurrency, consoleAdminActivateDeploymentForms.maxConcurrency); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, projectId, versionId, maxConcurrency); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminActivateDeploymentForms {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append(",versionId: ").append(toIndentedString(versionId)); + sb.append(",maxConcurrency: ").append(toIndentedString(maxConcurrency)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From f0955b77a4020c06cbfb354ed665cb9da45a4391 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:27 +0800 Subject: [PATCH 016/235] feat: update --- .../ConsoleAdminActivateDeploymentResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminActivateDeploymentResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminActivateDeploymentResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminActivateDeploymentResult.java new file mode 100644 index 000000000..e52e7cbf3 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminActivateDeploymentResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminActivateDeploymentResultModel; +import java.io.Serializable; +/** + * ConsoleAdminActivateDeploymentResult + */ +public class ConsoleAdminActivateDeploymentResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminActivateDeploymentResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminActivateDeploymentResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminActivateDeploymentResult model(ConsoleAdminActivateDeploymentResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminActivateDeploymentResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminActivateDeploymentResultModel model) { + this.model = model; + } + + public ConsoleAdminActivateDeploymentResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminActivateDeploymentResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminActivateDeploymentResult consoleAdminActivateDeploymentResult = (ConsoleAdminActivateDeploymentResult) o; + return Objects.equals(this.success, consoleAdminActivateDeploymentResult.success) && + Objects.equals(this.model, consoleAdminActivateDeploymentResult.model) && + Objects.equals(this.msgInfo, consoleAdminActivateDeploymentResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminActivateDeploymentResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminActivateDeploymentResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 80e438d2c33fde8e35888c255fda23c7edafad78 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:28 +0800 Subject: [PATCH 017/235] feat: update --- ...oleAdminActivateDeploymentResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminActivateDeploymentResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminActivateDeploymentResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminActivateDeploymentResultModel.java new file mode 100644 index 000000000..728c18ec6 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminActivateDeploymentResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminActivateDeploymentResultModel + */ +public class ConsoleAdminActivateDeploymentResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean activated = null; + + + public ConsoleAdminActivateDeploymentResultModel activated(Boolean activated) { + this.activated = activated; + return this; + } + + /** + * Get activated + * @return activated + **/ + public Boolean getActivated() { + return activated; + } + + public void setActivated(Boolean activated) { + this.activated = activated; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminActivateDeploymentResultModel consoleAdminActivateDeploymentResultModel = (ConsoleAdminActivateDeploymentResultModel) o; + return Objects.equals(this.activated, consoleAdminActivateDeploymentResultModel.activated); + } + + @Override + public int hashCode() { + return Objects.hash(activated); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminActivateDeploymentResultModel {"); + + sb.append(",activated: ").append(toIndentedString(activated)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 2f97ce17a18fee2d571561afd8ecf27e99063f54 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:30 +0800 Subject: [PATCH 018/235] feat: update --- .../ConsoleAdminAdaptGameVersionForms.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAdaptGameVersionForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAdaptGameVersionForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAdaptGameVersionForms.java new file mode 100644 index 000000000..f3698c6cc --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAdaptGameVersionForms.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminAdaptGameVersionForms + */ +public class ConsoleAdminAdaptGameVersionForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String versionId = null; + + + public ConsoleAdminAdaptGameVersionForms versionId(String versionId) { + this.versionId = versionId; + return this; + } + + /** + * Get versionId + * @return versionId + **/ + public String getVersionId() { + return versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminAdaptGameVersionForms consoleAdminAdaptGameVersionForms = (ConsoleAdminAdaptGameVersionForms) o; + return Objects.equals(this.versionId, consoleAdminAdaptGameVersionForms.versionId); + } + + @Override + public int hashCode() { + return Objects.hash(versionId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminAdaptGameVersionForms {"); + + sb.append(",versionId: ").append(toIndentedString(versionId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 1f26f498876c99243c1219f9daa79621b2aec770 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:32 +0800 Subject: [PATCH 019/235] feat: update --- .../ConsoleAdminAdaptGameVersionResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAdaptGameVersionResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAdaptGameVersionResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAdaptGameVersionResult.java new file mode 100644 index 000000000..d530c2cf4 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAdaptGameVersionResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminAdaptGameVersionResultModel; +import java.io.Serializable; +/** + * ConsoleAdminAdaptGameVersionResult + */ +public class ConsoleAdminAdaptGameVersionResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminAdaptGameVersionResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminAdaptGameVersionResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminAdaptGameVersionResult model(ConsoleAdminAdaptGameVersionResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminAdaptGameVersionResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminAdaptGameVersionResultModel model) { + this.model = model; + } + + public ConsoleAdminAdaptGameVersionResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminAdaptGameVersionResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminAdaptGameVersionResult consoleAdminAdaptGameVersionResult = (ConsoleAdminAdaptGameVersionResult) o; + return Objects.equals(this.success, consoleAdminAdaptGameVersionResult.success) && + Objects.equals(this.model, consoleAdminAdaptGameVersionResult.model) && + Objects.equals(this.msgInfo, consoleAdminAdaptGameVersionResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminAdaptGameVersionResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminAdaptGameVersionResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 1ea44da8aeca1c10480dcf08e815dc87512f10c3 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:33 +0800 Subject: [PATCH 020/235] feat: update --- ...nsoleAdminAdaptGameVersionResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAdaptGameVersionResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAdaptGameVersionResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAdaptGameVersionResultModel.java new file mode 100644 index 000000000..d7d98d7d7 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAdaptGameVersionResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminAdaptGameVersionResultModel + */ +public class ConsoleAdminAdaptGameVersionResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String taskId = null; + + + public ConsoleAdminAdaptGameVersionResultModel taskId(String taskId) { + this.taskId = taskId; + return this; + } + + /** + * Get taskId + * @return taskId + **/ + public String getTaskId() { + return taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminAdaptGameVersionResultModel consoleAdminAdaptGameVersionResultModel = (ConsoleAdminAdaptGameVersionResultModel) o; + return Objects.equals(this.taskId, consoleAdminAdaptGameVersionResultModel.taskId); + } + + @Override + public int hashCode() { + return Objects.hash(taskId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminAdaptGameVersionResultModel {"); + + sb.append(",taskId: ").append(toIndentedString(taskId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 5e13427308193c8620e399bf9828cc5082cfee94 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:34 +0800 Subject: [PATCH 021/235] feat: update --- .../ConsoleAdminAddGameToProjectForms.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAddGameToProjectForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAddGameToProjectForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAddGameToProjectForms.java new file mode 100644 index 000000000..e6811fa22 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAddGameToProjectForms.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminAddGameToProjectForms + */ +public class ConsoleAdminAddGameToProjectForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String projectId = null; + + + private String gameId = null; + + + public ConsoleAdminAddGameToProjectForms projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public ConsoleAdminAddGameToProjectForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminAddGameToProjectForms consoleAdminAddGameToProjectForms = (ConsoleAdminAddGameToProjectForms) o; + return Objects.equals(this.projectId, consoleAdminAddGameToProjectForms.projectId) && + Objects.equals(this.gameId, consoleAdminAddGameToProjectForms.gameId); + } + + @Override + public int hashCode() { + return Objects.hash(projectId, gameId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminAddGameToProjectForms {"); + + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 43f7d89bc33b0a96c910faa878be0e4ff14304a3 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:35 +0800 Subject: [PATCH 022/235] feat: update --- .../ConsoleAdminAddGameToProjectResult.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAddGameToProjectResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAddGameToProjectResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAddGameToProjectResult.java new file mode 100644 index 000000000..e7ecaa13d --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminAddGameToProjectResult.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminAddGameToProjectResult + */ +public class ConsoleAdminAddGameToProjectResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminAddGameToProjectResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminAddGameToProjectResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminAddGameToProjectResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminAddGameToProjectResult consoleAdminAddGameToProjectResult = (ConsoleAdminAddGameToProjectResult) o; + return Objects.equals(this.success, consoleAdminAddGameToProjectResult.success) && + Objects.equals(this.msgInfo, consoleAdminAddGameToProjectResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminAddGameToProjectResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminAddGameToProjectResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 60b3fc66f246c142900c8f1266b2f25e66a00e3b Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:37 +0800 Subject: [PATCH 023/235] feat: update --- ...leAdminBatchUpdateDispatchConfigForms.java | 152 ++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminBatchUpdateDispatchConfigForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminBatchUpdateDispatchConfigForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminBatchUpdateDispatchConfigForms.java new file mode 100644 index 000000000..6b850cb79 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminBatchUpdateDispatchConfigForms.java @@ -0,0 +1,152 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminBatchUpdateDispatchConfigFormsConfigList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminBatchUpdateDispatchConfigForms + */ +public class ConsoleAdminBatchUpdateDispatchConfigForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String mixProjectId = null; + + + private String instanceId = null; + + + private String appName = null; + + + private List configList = new ArrayList(); + + + public ConsoleAdminBatchUpdateDispatchConfigForms mixProjectId(String mixProjectId) { + this.mixProjectId = mixProjectId; + return this; + } + + /** + * 项目id(混淆) + * @return mixProjectId + **/ + public String getMixProjectId() { + return mixProjectId; + } + + public void setMixProjectId(String mixProjectId) { + this.mixProjectId = mixProjectId; + } + + public ConsoleAdminBatchUpdateDispatchConfigForms instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * 实例id + * @return instanceId + **/ + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public ConsoleAdminBatchUpdateDispatchConfigForms appName(String appName) { + this.appName = appName; + return this; + } + + /** + * 接入方唯一标识 + * @return appName + **/ + public String getAppName() { + return appName; + } + + public void setAppName(String appName) { + this.appName = appName; + } + + public ConsoleAdminBatchUpdateDispatchConfigForms configList(List configList) { + this.configList = configList; + return this; + } + + public ConsoleAdminBatchUpdateDispatchConfigForms addConfigListItem(ConsoleAdminBatchUpdateDispatchConfigFormsConfigList configListItem) { + this.configList.add(configListItem); + return this; + } + + /** + * Get configList + * @return configList + **/ + public List getConfigList() { + return configList; + } + + public void setConfigList(List configList) { + this.configList = configList; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminBatchUpdateDispatchConfigForms consoleAdminBatchUpdateDispatchConfigForms = (ConsoleAdminBatchUpdateDispatchConfigForms) o; + return Objects.equals(this.mixProjectId, consoleAdminBatchUpdateDispatchConfigForms.mixProjectId) && + Objects.equals(this.instanceId, consoleAdminBatchUpdateDispatchConfigForms.instanceId) && + Objects.equals(this.appName, consoleAdminBatchUpdateDispatchConfigForms.appName) && + Objects.equals(this.configList, consoleAdminBatchUpdateDispatchConfigForms.configList); + } + + @Override + public int hashCode() { + return Objects.hash(mixProjectId, instanceId, appName, configList); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminBatchUpdateDispatchConfigForms {"); + + sb.append(",mixProjectId: ").append(toIndentedString(mixProjectId)); + sb.append(",instanceId: ").append(toIndentedString(instanceId)); + sb.append(",appName: ").append(toIndentedString(appName)); + sb.append(",configList: ").append(toIndentedString(configList)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 13608de1add0446e25cf1ebf531efa3708a0847d Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:38 +0800 Subject: [PATCH 024/235] feat: update --- ...chUpdateDispatchConfigFormsConfigList.java | 188 ++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminBatchUpdateDispatchConfigFormsConfigList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminBatchUpdateDispatchConfigFormsConfigList.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminBatchUpdateDispatchConfigFormsConfigList.java new file mode 100644 index 000000000..813cd378d --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminBatchUpdateDispatchConfigFormsConfigList.java @@ -0,0 +1,188 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminBatchUpdateDispatchConfigFormsConfigList + */ +public class ConsoleAdminBatchUpdateDispatchConfigFormsConfigList implements Serializable { + private static final long serialVersionUID = 1L; + + private String mixGameId = null; + + + private Integer exclusiveConcurrency = null; + + + private String maxConcurrencyPercent = null; + + + private String exclusiveConcurrencyPercent = null; + + + private Integer priority = null; + + + private Integer maxConcurrency = null; + + + public ConsoleAdminBatchUpdateDispatchConfigFormsConfigList mixGameId(String mixGameId) { + this.mixGameId = mixGameId; + return this; + } + + /** + * 编码游戏id + * @return mixGameId + **/ + public String getMixGameId() { + return mixGameId; + } + + public void setMixGameId(String mixGameId) { + this.mixGameId = mixGameId; + } + + public ConsoleAdminBatchUpdateDispatchConfigFormsConfigList exclusiveConcurrency(Integer exclusiveConcurrency) { + this.exclusiveConcurrency = exclusiveConcurrency; + return this; + } + + /** + * 独占并发数 + * @return exclusiveConcurrency + **/ + public Integer getExclusiveConcurrency() { + return exclusiveConcurrency; + } + + public void setExclusiveConcurrency(Integer exclusiveConcurrency) { + this.exclusiveConcurrency = exclusiveConcurrency; + } + + public ConsoleAdminBatchUpdateDispatchConfigFormsConfigList maxConcurrencyPercent(String maxConcurrencyPercent) { + this.maxConcurrencyPercent = maxConcurrencyPercent; + return this; + } + + /** + * 最大并发百分比-Double类型[0.0,1.0] + * @return maxConcurrencyPercent + **/ + public String getMaxConcurrencyPercent() { + return maxConcurrencyPercent; + } + + public void setMaxConcurrencyPercent(String maxConcurrencyPercent) { + this.maxConcurrencyPercent = maxConcurrencyPercent; + } + + public ConsoleAdminBatchUpdateDispatchConfigFormsConfigList exclusiveConcurrencyPercent(String exclusiveConcurrencyPercent) { + this.exclusiveConcurrencyPercent = exclusiveConcurrencyPercent; + return this; + } + + /** + * 独占并发百分比--Double类型[0.0,1.0] + * @return exclusiveConcurrencyPercent + **/ + public String getExclusiveConcurrencyPercent() { + return exclusiveConcurrencyPercent; + } + + public void setExclusiveConcurrencyPercent(String exclusiveConcurrencyPercent) { + this.exclusiveConcurrencyPercent = exclusiveConcurrencyPercent; + } + + public ConsoleAdminBatchUpdateDispatchConfigFormsConfigList priority(Integer priority) { + this.priority = priority; + return this; + } + + /** + * 调度等级 + * @return priority + **/ + public Integer getPriority() { + return priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + public ConsoleAdminBatchUpdateDispatchConfigFormsConfigList maxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + return this; + } + + /** + * 最大并发数 + * @return maxConcurrency + **/ + public Integer getMaxConcurrency() { + return maxConcurrency; + } + + public void setMaxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminBatchUpdateDispatchConfigFormsConfigList consoleAdminBatchUpdateDispatchConfigFormsConfigList = (ConsoleAdminBatchUpdateDispatchConfigFormsConfigList) o; + return Objects.equals(this.mixGameId, consoleAdminBatchUpdateDispatchConfigFormsConfigList.mixGameId) && + Objects.equals(this.exclusiveConcurrency, consoleAdminBatchUpdateDispatchConfigFormsConfigList.exclusiveConcurrency) && + Objects.equals(this.maxConcurrencyPercent, consoleAdminBatchUpdateDispatchConfigFormsConfigList.maxConcurrencyPercent) && + Objects.equals(this.exclusiveConcurrencyPercent, consoleAdminBatchUpdateDispatchConfigFormsConfigList.exclusiveConcurrencyPercent) && + Objects.equals(this.priority, consoleAdminBatchUpdateDispatchConfigFormsConfigList.priority) && + Objects.equals(this.maxConcurrency, consoleAdminBatchUpdateDispatchConfigFormsConfigList.maxConcurrency); + } + + @Override + public int hashCode() { + return Objects.hash(mixGameId, exclusiveConcurrency, maxConcurrencyPercent, exclusiveConcurrencyPercent, priority, maxConcurrency); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminBatchUpdateDispatchConfigFormsConfigList {"); + + sb.append(",mixGameId: ").append(toIndentedString(mixGameId)); + sb.append(",exclusiveConcurrency: ").append(toIndentedString(exclusiveConcurrency)); + sb.append(",maxConcurrencyPercent: ").append(toIndentedString(maxConcurrencyPercent)); + sb.append(",exclusiveConcurrencyPercent: ").append(toIndentedString(exclusiveConcurrencyPercent)); + sb.append(",priority: ").append(toIndentedString(priority)); + sb.append(",maxConcurrency: ").append(toIndentedString(maxConcurrency)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 6409e869c631458a392822c214eabdf03da8e4e3 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:40 +0800 Subject: [PATCH 025/235] feat: update --- ...eAdminBatchUpdateDispatchConfigResult.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminBatchUpdateDispatchConfigResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminBatchUpdateDispatchConfigResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminBatchUpdateDispatchConfigResult.java new file mode 100644 index 000000000..884e9b7ff --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminBatchUpdateDispatchConfigResult.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminBatchUpdateDispatchConfigResult + */ +public class ConsoleAdminBatchUpdateDispatchConfigResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private Boolean model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminBatchUpdateDispatchConfigResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminBatchUpdateDispatchConfigResult model(Boolean model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public Boolean getModel() { + return model; + } + + public void setModel(Boolean model) { + this.model = model; + } + + public ConsoleAdminBatchUpdateDispatchConfigResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminBatchUpdateDispatchConfigResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminBatchUpdateDispatchConfigResult consoleAdminBatchUpdateDispatchConfigResult = (ConsoleAdminBatchUpdateDispatchConfigResult) o; + return Objects.equals(this.success, consoleAdminBatchUpdateDispatchConfigResult.success) && + Objects.equals(this.model, consoleAdminBatchUpdateDispatchConfigResult.model) && + Objects.equals(this.msgInfo, consoleAdminBatchUpdateDispatchConfigResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminBatchUpdateDispatchConfigResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminBatchUpdateDispatchConfigResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 8ce4bdca05feebc739657116fd37f661c10c3192 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:41 +0800 Subject: [PATCH 026/235] feat: update --- .../model/ConsoleAdminCreateGameForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateGameForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateGameForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateGameForms.java new file mode 100644 index 000000000..116b492fe --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateGameForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminCreateGameForms + */ +public class ConsoleAdminCreateGameForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameName = null; + + + private Long platformType = null; + + + private Integer osType = null; + + + public ConsoleAdminCreateGameForms gameName(String gameName) { + this.gameName = gameName; + return this; + } + + /** + * Get gameName + * @return gameName + **/ + public String getGameName() { + return gameName; + } + + public void setGameName(String gameName) { + this.gameName = gameName; + } + + public ConsoleAdminCreateGameForms platformType(Long platformType) { + this.platformType = platformType; + return this; + } + + /** + * Get platformType + * @return platformType + **/ + public Long getPlatformType() { + return platformType; + } + + public void setPlatformType(Long platformType) { + this.platformType = platformType; + } + + public ConsoleAdminCreateGameForms osType(Integer osType) { + this.osType = osType; + return this; + } + + /** + * Get osType + * @return osType + **/ + public Integer getOsType() { + return osType; + } + + public void setOsType(Integer osType) { + this.osType = osType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminCreateGameForms consoleAdminCreateGameForms = (ConsoleAdminCreateGameForms) o; + return Objects.equals(this.gameName, consoleAdminCreateGameForms.gameName) && + Objects.equals(this.platformType, consoleAdminCreateGameForms.platformType) && + Objects.equals(this.osType, consoleAdminCreateGameForms.osType); + } + + @Override + public int hashCode() { + return Objects.hash(gameName, platformType, osType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminCreateGameForms {"); + + sb.append(",gameName: ").append(toIndentedString(gameName)); + sb.append(",platformType: ").append(toIndentedString(platformType)); + sb.append(",osType: ").append(toIndentedString(osType)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From c1a52c8bfd6b3c9028a2524ec305d748dc021b1a Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:42 +0800 Subject: [PATCH 027/235] feat: update --- .../model/ConsoleAdminCreateGameResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateGameResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateGameResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateGameResult.java new file mode 100644 index 000000000..ec6641170 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateGameResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminCreateGameResultModel; +import java.io.Serializable; +/** + * ConsoleAdminCreateGameResult + */ +public class ConsoleAdminCreateGameResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminCreateGameResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminCreateGameResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminCreateGameResult model(ConsoleAdminCreateGameResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminCreateGameResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminCreateGameResultModel model) { + this.model = model; + } + + public ConsoleAdminCreateGameResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminCreateGameResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminCreateGameResult consoleAdminCreateGameResult = (ConsoleAdminCreateGameResult) o; + return Objects.equals(this.success, consoleAdminCreateGameResult.success) && + Objects.equals(this.model, consoleAdminCreateGameResult.model) && + Objects.equals(this.msgInfo, consoleAdminCreateGameResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminCreateGameResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminCreateGameResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 06e537d368dab7930884c2530e398e651f15c9a4 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:44 +0800 Subject: [PATCH 028/235] feat: update --- .../ConsoleAdminCreateGameResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateGameResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateGameResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateGameResultModel.java new file mode 100644 index 000000000..7d66beede --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateGameResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminCreateGameResultModel + */ +public class ConsoleAdminCreateGameResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + public ConsoleAdminCreateGameResultModel gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminCreateGameResultModel consoleAdminCreateGameResultModel = (ConsoleAdminCreateGameResultModel) o; + return Objects.equals(this.gameId, consoleAdminCreateGameResultModel.gameId); + } + + @Override + public int hashCode() { + return Objects.hash(gameId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminCreateGameResultModel {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 31362e2bb60b5800001ec4b0390d9c2b459bbc0b Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:45 +0800 Subject: [PATCH 029/235] feat: update --- .../model/ConsoleAdminCreateOrderForms.java | 240 ++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderForms.java new file mode 100644 index 000000000..23bd2a8ea --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderForms.java @@ -0,0 +1,240 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminCreateOrderFormsAttributeRequestList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminCreateOrderForms + */ +public class ConsoleAdminCreateOrderForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String categoryCode = null; + + + private String commodityCode = null; + + + private String instanceId = null; + + + private String primaryChargeItemCode = null; + + + private List attributeRequestList = new ArrayList(); + + + private String orderType = null; + + + private Boolean autoRenew = null; + + + private String createOrderExtParams = null; + + + public ConsoleAdminCreateOrderForms categoryCode(String categoryCode) { + this.categoryCode = categoryCode; + return this; + } + + /** + * 类目编码 + * @return categoryCode + **/ + public String getCategoryCode() { + return categoryCode; + } + + public void setCategoryCode(String categoryCode) { + this.categoryCode = categoryCode; + } + + public ConsoleAdminCreateOrderForms commodityCode(String commodityCode) { + this.commodityCode = commodityCode; + return this; + } + + /** + * 商品编码 + * @return commodityCode + **/ + public String getCommodityCode() { + return commodityCode; + } + + public void setCommodityCode(String commodityCode) { + this.commodityCode = commodityCode; + } + + public ConsoleAdminCreateOrderForms instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * 实例ID + * @return instanceId + **/ + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public ConsoleAdminCreateOrderForms primaryChargeItemCode(String primaryChargeItemCode) { + this.primaryChargeItemCode = primaryChargeItemCode; + return this; + } + + /** + * 主计费项编码 + * @return primaryChargeItemCode + **/ + public String getPrimaryChargeItemCode() { + return primaryChargeItemCode; + } + + public void setPrimaryChargeItemCode(String primaryChargeItemCode) { + this.primaryChargeItemCode = primaryChargeItemCode; + } + + public ConsoleAdminCreateOrderForms attributeRequestList(List attributeRequestList) { + this.attributeRequestList = attributeRequestList; + return this; + } + + public ConsoleAdminCreateOrderForms addAttributeRequestListItem(ConsoleAdminCreateOrderFormsAttributeRequestList attributeRequestListItem) { + this.attributeRequestList.add(attributeRequestListItem); + return this; + } + + /** + * Get attributeRequestList + * @return attributeRequestList + **/ + public List getAttributeRequestList() { + return attributeRequestList; + } + + public void setAttributeRequestList(List attributeRequestList) { + this.attributeRequestList = attributeRequestList; + } + + public ConsoleAdminCreateOrderForms orderType(String orderType) { + this.orderType = orderType; + return this; + } + + /** + * 订单类型 + * @return orderType + **/ + public String getOrderType() { + return orderType; + } + + public void setOrderType(String orderType) { + this.orderType = orderType; + } + + public ConsoleAdminCreateOrderForms autoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + return this; + } + + /** + * 是否开启自动续费 + * @return autoRenew + **/ + public Boolean getAutoRenew() { + return autoRenew; + } + + public void setAutoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + } + + public ConsoleAdminCreateOrderForms createOrderExtParams(String createOrderExtParams) { + this.createOrderExtParams = createOrderExtParams; + return this; + } + + /** + * 下单扩展信息 + * @return createOrderExtParams + **/ + public String getCreateOrderExtParams() { + return createOrderExtParams; + } + + public void setCreateOrderExtParams(String createOrderExtParams) { + this.createOrderExtParams = createOrderExtParams; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminCreateOrderForms consoleAdminCreateOrderForms = (ConsoleAdminCreateOrderForms) o; + return Objects.equals(this.categoryCode, consoleAdminCreateOrderForms.categoryCode) && + Objects.equals(this.commodityCode, consoleAdminCreateOrderForms.commodityCode) && + Objects.equals(this.instanceId, consoleAdminCreateOrderForms.instanceId) && + Objects.equals(this.primaryChargeItemCode, consoleAdminCreateOrderForms.primaryChargeItemCode) && + Objects.equals(this.attributeRequestList, consoleAdminCreateOrderForms.attributeRequestList) && + Objects.equals(this.orderType, consoleAdminCreateOrderForms.orderType) && + Objects.equals(this.autoRenew, consoleAdminCreateOrderForms.autoRenew) && + Objects.equals(this.createOrderExtParams, consoleAdminCreateOrderForms.createOrderExtParams); + } + + @Override + public int hashCode() { + return Objects.hash(categoryCode, commodityCode, instanceId, primaryChargeItemCode, attributeRequestList, orderType, autoRenew, createOrderExtParams); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminCreateOrderForms {"); + + sb.append(",categoryCode: ").append(toIndentedString(categoryCode)); + sb.append(",commodityCode: ").append(toIndentedString(commodityCode)); + sb.append(",instanceId: ").append(toIndentedString(instanceId)); + sb.append(",primaryChargeItemCode: ").append(toIndentedString(primaryChargeItemCode)); + sb.append(",attributeRequestList: ").append(toIndentedString(attributeRequestList)); + sb.append(",orderType: ").append(toIndentedString(orderType)); + sb.append(",autoRenew: ").append(toIndentedString(autoRenew)); + sb.append(",createOrderExtParams: ").append(toIndentedString(createOrderExtParams)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From cbc0a1d28d367780f0a0e45dabad0e36670fb1cb Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:47 +0800 Subject: [PATCH 030/235] feat: update --- ...nCreateOrderFormsAttributeRequestList.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderFormsAttributeRequestList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderFormsAttributeRequestList.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderFormsAttributeRequestList.java new file mode 100644 index 000000000..0998825f6 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderFormsAttributeRequestList.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminCreateOrderFormsAttributeRequestList + */ +public class ConsoleAdminCreateOrderFormsAttributeRequestList implements Serializable { + private static final long serialVersionUID = 1L; + + private String attributeCode = null; + + + private Integer attributeValue = null; + + + private Long attributeValueCode = null; + + + private String timeUnit = null; + + + public ConsoleAdminCreateOrderFormsAttributeRequestList attributeCode(String attributeCode) { + this.attributeCode = attributeCode; + return this; + } + + /** + * 属性编码 + * @return attributeCode + **/ + public String getAttributeCode() { + return attributeCode; + } + + public void setAttributeCode(String attributeCode) { + this.attributeCode = attributeCode; + } + + public ConsoleAdminCreateOrderFormsAttributeRequestList attributeValue(Integer attributeValue) { + this.attributeValue = attributeValue; + return this; + } + + /** + * 属性值(区间型专用) + * @return attributeValue + **/ + public Integer getAttributeValue() { + return attributeValue; + } + + public void setAttributeValue(Integer attributeValue) { + this.attributeValue = attributeValue; + } + + public ConsoleAdminCreateOrderFormsAttributeRequestList attributeValueCode(Long attributeValueCode) { + this.attributeValueCode = attributeValueCode; + return this; + } + + /** + * 属性值编码(枚举型,时长型 专用) + * @return attributeValueCode + **/ + public Long getAttributeValueCode() { + return attributeValueCode; + } + + public void setAttributeValueCode(Long attributeValueCode) { + this.attributeValueCode = attributeValueCode; + } + + public ConsoleAdminCreateOrderFormsAttributeRequestList timeUnit(String timeUnit) { + this.timeUnit = timeUnit; + return this; + } + + /** + * 时长单位 + * @return timeUnit + **/ + public String getTimeUnit() { + return timeUnit; + } + + public void setTimeUnit(String timeUnit) { + this.timeUnit = timeUnit; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminCreateOrderFormsAttributeRequestList consoleAdminCreateOrderFormsAttributeRequestList = (ConsoleAdminCreateOrderFormsAttributeRequestList) o; + return Objects.equals(this.attributeCode, consoleAdminCreateOrderFormsAttributeRequestList.attributeCode) && + Objects.equals(this.attributeValue, consoleAdminCreateOrderFormsAttributeRequestList.attributeValue) && + Objects.equals(this.attributeValueCode, consoleAdminCreateOrderFormsAttributeRequestList.attributeValueCode) && + Objects.equals(this.timeUnit, consoleAdminCreateOrderFormsAttributeRequestList.timeUnit); + } + + @Override + public int hashCode() { + return Objects.hash(attributeCode, attributeValue, attributeValueCode, timeUnit); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminCreateOrderFormsAttributeRequestList {"); + + sb.append(",attributeCode: ").append(toIndentedString(attributeCode)); + sb.append(",attributeValue: ").append(toIndentedString(attributeValue)); + sb.append(",attributeValueCode: ").append(toIndentedString(attributeValueCode)); + sb.append(",timeUnit: ").append(toIndentedString(timeUnit)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 717775f2996ccb695b1bae1542623c79df6647c7 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:48 +0800 Subject: [PATCH 031/235] feat: update --- .../model/ConsoleAdminCreateOrderResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderResult.java new file mode 100644 index 000000000..cc95ea0e1 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminCreateOrderResultModel; +import java.io.Serializable; +/** + * ConsoleAdminCreateOrderResult + */ +public class ConsoleAdminCreateOrderResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminCreateOrderResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminCreateOrderResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminCreateOrderResult model(ConsoleAdminCreateOrderResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminCreateOrderResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminCreateOrderResultModel model) { + this.model = model; + } + + public ConsoleAdminCreateOrderResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminCreateOrderResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminCreateOrderResult consoleAdminCreateOrderResult = (ConsoleAdminCreateOrderResult) o; + return Objects.equals(this.success, consoleAdminCreateOrderResult.success) && + Objects.equals(this.model, consoleAdminCreateOrderResult.model) && + Objects.equals(this.msgInfo, consoleAdminCreateOrderResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminCreateOrderResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminCreateOrderResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 1e81bd80e0269b8d893b3ca459db4b5f067a0095 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:49 +0800 Subject: [PATCH 032/235] feat: update --- .../ConsoleAdminCreateOrderResultModel.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderResultModel.java new file mode 100644 index 000000000..58cd8d48e --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateOrderResultModel.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminCreateOrderResultModel + */ +public class ConsoleAdminCreateOrderResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String instanceId = null; + + + private String orderId = null; + + + public ConsoleAdminCreateOrderResultModel instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * 实例ID + * @return instanceId + **/ + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public ConsoleAdminCreateOrderResultModel orderId(String orderId) { + this.orderId = orderId; + return this; + } + + /** + * 订单ID + * @return orderId + **/ + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminCreateOrderResultModel consoleAdminCreateOrderResultModel = (ConsoleAdminCreateOrderResultModel) o; + return Objects.equals(this.instanceId, consoleAdminCreateOrderResultModel.instanceId) && + Objects.equals(this.orderId, consoleAdminCreateOrderResultModel.orderId); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, orderId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminCreateOrderResultModel {"); + + sb.append(",instanceId: ").append(toIndentedString(instanceId)); + sb.append(",orderId: ").append(toIndentedString(orderId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 88580a9c90d18bbc529d9fabd13b10e7a2de3e5d Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:51 +0800 Subject: [PATCH 033/235] feat: update --- .../model/ConsoleAdminCreateProjectForms.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateProjectForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateProjectForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateProjectForms.java new file mode 100644 index 000000000..17d728667 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateProjectForms.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminCreateProjectForms + */ +public class ConsoleAdminCreateProjectForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String projectName = null; + + + public ConsoleAdminCreateProjectForms projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminCreateProjectForms consoleAdminCreateProjectForms = (ConsoleAdminCreateProjectForms) o; + return Objects.equals(this.projectName, consoleAdminCreateProjectForms.projectName); + } + + @Override + public int hashCode() { + return Objects.hash(projectName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminCreateProjectForms {"); + + sb.append(",projectName: ").append(toIndentedString(projectName)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 074db9afcb93515ac88b241f378c0d00d17c24e1 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:52 +0800 Subject: [PATCH 034/235] feat: update --- .../ConsoleAdminCreateProjectResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateProjectResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateProjectResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateProjectResult.java new file mode 100644 index 000000000..13d4bc3be --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateProjectResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminCreateProjectResultModel; +import java.io.Serializable; +/** + * ConsoleAdminCreateProjectResult + */ +public class ConsoleAdminCreateProjectResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminCreateProjectResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminCreateProjectResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminCreateProjectResult model(ConsoleAdminCreateProjectResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminCreateProjectResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminCreateProjectResultModel model) { + this.model = model; + } + + public ConsoleAdminCreateProjectResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminCreateProjectResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminCreateProjectResult consoleAdminCreateProjectResult = (ConsoleAdminCreateProjectResult) o; + return Objects.equals(this.success, consoleAdminCreateProjectResult.success) && + Objects.equals(this.model, consoleAdminCreateProjectResult.model) && + Objects.equals(this.msgInfo, consoleAdminCreateProjectResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminCreateProjectResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminCreateProjectResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 707ea81ee305746115bba40db29047130cd66b99 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:53 +0800 Subject: [PATCH 035/235] feat: update --- .../ConsoleAdminCreateProjectResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateProjectResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateProjectResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateProjectResultModel.java new file mode 100644 index 000000000..192302fbf --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminCreateProjectResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminCreateProjectResultModel + */ +public class ConsoleAdminCreateProjectResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String projectId = null; + + + public ConsoleAdminCreateProjectResultModel projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminCreateProjectResultModel consoleAdminCreateProjectResultModel = (ConsoleAdminCreateProjectResultModel) o; + return Objects.equals(this.projectId, consoleAdminCreateProjectResultModel.projectId); + } + + @Override + public int hashCode() { + return Objects.hash(projectId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminCreateProjectResultModel {"); + + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From e9a41dc1f0df52537da2e4211b50ccbd29283d3e Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:55 +0800 Subject: [PATCH 036/235] feat: update --- .../model/ConsoleAdminDeleteGameForms.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameForms.java new file mode 100644 index 000000000..64378677a --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameForms.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminDeleteGameForms + */ +public class ConsoleAdminDeleteGameForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + public ConsoleAdminDeleteGameForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminDeleteGameForms consoleAdminDeleteGameForms = (ConsoleAdminDeleteGameForms) o; + return Objects.equals(this.gameId, consoleAdminDeleteGameForms.gameId); + } + + @Override + public int hashCode() { + return Objects.hash(gameId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminDeleteGameForms {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From b49e82fcfaf0cce1e606c3afb9da820f35621ba0 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:56 +0800 Subject: [PATCH 037/235] feat: update --- .../model/ConsoleAdminDeleteGameResult.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameResult.java new file mode 100644 index 000000000..13bf50aec --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameResult.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminDeleteGameResult + */ +public class ConsoleAdminDeleteGameResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminDeleteGameResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminDeleteGameResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminDeleteGameResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminDeleteGameResult consoleAdminDeleteGameResult = (ConsoleAdminDeleteGameResult) o; + return Objects.equals(this.success, consoleAdminDeleteGameResult.success) && + Objects.equals(this.msgInfo, consoleAdminDeleteGameResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminDeleteGameResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminDeleteGameResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 5ffef4ca3332c2635e2828835027b1d790374773 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:57 +0800 Subject: [PATCH 038/235] feat: update --- .../ConsoleAdminDeleteGameVersionForms.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameVersionForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameVersionForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameVersionForms.java new file mode 100644 index 000000000..4aeba5b8c --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameVersionForms.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminDeleteGameVersionForms + */ +public class ConsoleAdminDeleteGameVersionForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String versionId = null; + + + public ConsoleAdminDeleteGameVersionForms versionId(String versionId) { + this.versionId = versionId; + return this; + } + + /** + * Get versionId + * @return versionId + **/ + public String getVersionId() { + return versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminDeleteGameVersionForms consoleAdminDeleteGameVersionForms = (ConsoleAdminDeleteGameVersionForms) o; + return Objects.equals(this.versionId, consoleAdminDeleteGameVersionForms.versionId); + } + + @Override + public int hashCode() { + return Objects.hash(versionId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminDeleteGameVersionForms {"); + + sb.append(",versionId: ").append(toIndentedString(versionId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From e8d762207c69f420d665adc873ed41f2827d78c4 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:10:59 +0800 Subject: [PATCH 039/235] feat: update --- .../ConsoleAdminDeleteGameVersionResult.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameVersionResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameVersionResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameVersionResult.java new file mode 100644 index 000000000..2e334c0c9 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteGameVersionResult.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminDeleteGameVersionResult + */ +public class ConsoleAdminDeleteGameVersionResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminDeleteGameVersionResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminDeleteGameVersionResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminDeleteGameVersionResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminDeleteGameVersionResult consoleAdminDeleteGameVersionResult = (ConsoleAdminDeleteGameVersionResult) o; + return Objects.equals(this.success, consoleAdminDeleteGameVersionResult.success) && + Objects.equals(this.msgInfo, consoleAdminDeleteGameVersionResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminDeleteGameVersionResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminDeleteGameVersionResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 671c69eb3d2a9760c5d6d09717d306ac5f5121eb Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:00 +0800 Subject: [PATCH 040/235] feat: update --- .../model/ConsoleAdminDeleteProjectForms.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteProjectForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteProjectForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteProjectForms.java new file mode 100644 index 000000000..36e4f1305 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteProjectForms.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminDeleteProjectForms + */ +public class ConsoleAdminDeleteProjectForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String projectId = null; + + + public ConsoleAdminDeleteProjectForms projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminDeleteProjectForms consoleAdminDeleteProjectForms = (ConsoleAdminDeleteProjectForms) o; + return Objects.equals(this.projectId, consoleAdminDeleteProjectForms.projectId); + } + + @Override + public int hashCode() { + return Objects.hash(projectId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminDeleteProjectForms {"); + + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 27d4ab6232067fc49dfcef496fee2cfb2faa9414 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:01 +0800 Subject: [PATCH 041/235] feat: update --- .../ConsoleAdminDeleteProjectResult.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteProjectResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteProjectResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteProjectResult.java new file mode 100644 index 000000000..a3705beae --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminDeleteProjectResult.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminDeleteProjectResult + */ +public class ConsoleAdminDeleteProjectResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminDeleteProjectResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminDeleteProjectResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminDeleteProjectResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminDeleteProjectResult consoleAdminDeleteProjectResult = (ConsoleAdminDeleteProjectResult) o; + return Objects.equals(this.success, consoleAdminDeleteProjectResult.success) && + Objects.equals(this.msgInfo, consoleAdminDeleteProjectResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminDeleteProjectResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminDeleteProjectResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 00e3577afc86f5f0406ab9bfbf47f10139a044d9 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:03 +0800 Subject: [PATCH 042/235] feat: update --- .../ConsoleAdminGetBillFlowInfoForms.java | 276 ++++++++++++++++++ 1 file changed, 276 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoForms.java new file mode 100644 index 000000000..8c51817ea --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoForms.java @@ -0,0 +1,276 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminGetBillFlowInfoForms + */ +public class ConsoleAdminGetBillFlowInfoForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String accountingPeriodFrom = null; + + + private String accountingPeriodTo = null; + + + private String commodityCode = null; + + + private String tenantId = null; + + + private String orderId = null; + + + private String status = null; + + + private String consumeType = null; + + + private String billType = null; + + + private Integer pageNumber = null; + + + private Integer pageSize = null; + + + public ConsoleAdminGetBillFlowInfoForms accountingPeriodFrom(String accountingPeriodFrom) { + this.accountingPeriodFrom = accountingPeriodFrom; + return this; + } + + /** + * Get accountingPeriodFrom + * @return accountingPeriodFrom + **/ + public String getAccountingPeriodFrom() { + return accountingPeriodFrom; + } + + public void setAccountingPeriodFrom(String accountingPeriodFrom) { + this.accountingPeriodFrom = accountingPeriodFrom; + } + + public ConsoleAdminGetBillFlowInfoForms accountingPeriodTo(String accountingPeriodTo) { + this.accountingPeriodTo = accountingPeriodTo; + return this; + } + + /** + * Get accountingPeriodTo + * @return accountingPeriodTo + **/ + public String getAccountingPeriodTo() { + return accountingPeriodTo; + } + + public void setAccountingPeriodTo(String accountingPeriodTo) { + this.accountingPeriodTo = accountingPeriodTo; + } + + public ConsoleAdminGetBillFlowInfoForms commodityCode(String commodityCode) { + this.commodityCode = commodityCode; + return this; + } + + /** + * Get commodityCode + * @return commodityCode + **/ + public String getCommodityCode() { + return commodityCode; + } + + public void setCommodityCode(String commodityCode) { + this.commodityCode = commodityCode; + } + + public ConsoleAdminGetBillFlowInfoForms tenantId(String tenantId) { + this.tenantId = tenantId; + return this; + } + + /** + * Get tenantId + * @return tenantId + **/ + public String getTenantId() { + return tenantId; + } + + public void setTenantId(String tenantId) { + this.tenantId = tenantId; + } + + public ConsoleAdminGetBillFlowInfoForms orderId(String orderId) { + this.orderId = orderId; + return this; + } + + /** + * Get orderId + * @return orderId + **/ + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public ConsoleAdminGetBillFlowInfoForms status(String status) { + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public ConsoleAdminGetBillFlowInfoForms consumeType(String consumeType) { + this.consumeType = consumeType; + return this; + } + + /** + * Get consumeType + * @return consumeType + **/ + public String getConsumeType() { + return consumeType; + } + + public void setConsumeType(String consumeType) { + this.consumeType = consumeType; + } + + public ConsoleAdminGetBillFlowInfoForms billType(String billType) { + this.billType = billType; + return this; + } + + /** + * Get billType + * @return billType + **/ + public String getBillType() { + return billType; + } + + public void setBillType(String billType) { + this.billType = billType; + } + + public ConsoleAdminGetBillFlowInfoForms pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Get pageNumber + * @return pageNumber + **/ + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public ConsoleAdminGetBillFlowInfoForms pageSize(Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Get pageSize + * @return pageSize + **/ + public Integer getPageSize() { + return pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetBillFlowInfoForms consoleAdminGetBillFlowInfoForms = (ConsoleAdminGetBillFlowInfoForms) o; + return Objects.equals(this.accountingPeriodFrom, consoleAdminGetBillFlowInfoForms.accountingPeriodFrom) && + Objects.equals(this.accountingPeriodTo, consoleAdminGetBillFlowInfoForms.accountingPeriodTo) && + Objects.equals(this.commodityCode, consoleAdminGetBillFlowInfoForms.commodityCode) && + Objects.equals(this.tenantId, consoleAdminGetBillFlowInfoForms.tenantId) && + Objects.equals(this.orderId, consoleAdminGetBillFlowInfoForms.orderId) && + Objects.equals(this.status, consoleAdminGetBillFlowInfoForms.status) && + Objects.equals(this.consumeType, consoleAdminGetBillFlowInfoForms.consumeType) && + Objects.equals(this.billType, consoleAdminGetBillFlowInfoForms.billType) && + Objects.equals(this.pageNumber, consoleAdminGetBillFlowInfoForms.pageNumber) && + Objects.equals(this.pageSize, consoleAdminGetBillFlowInfoForms.pageSize); + } + + @Override + public int hashCode() { + return Objects.hash(accountingPeriodFrom, accountingPeriodTo, commodityCode, tenantId, orderId, status, consumeType, billType, pageNumber, pageSize); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetBillFlowInfoForms {"); + + sb.append(",accountingPeriodFrom: ").append(toIndentedString(accountingPeriodFrom)); + sb.append(",accountingPeriodTo: ").append(toIndentedString(accountingPeriodTo)); + sb.append(",commodityCode: ").append(toIndentedString(commodityCode)); + sb.append(",tenantId: ").append(toIndentedString(tenantId)); + sb.append(",orderId: ").append(toIndentedString(orderId)); + sb.append(",status: ").append(toIndentedString(status)); + sb.append(",consumeType: ").append(toIndentedString(consumeType)); + sb.append(",billType: ").append(toIndentedString(billType)); + sb.append(",pageNumber: ").append(toIndentedString(pageNumber)); + sb.append(",pageSize: ").append(toIndentedString(pageSize)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 47b5a8804f2f18d18715a0c901e2ec998926b34f Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:04 +0800 Subject: [PATCH 043/235] feat: update --- .../ConsoleAdminGetBillFlowInfoResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoResult.java new file mode 100644 index 000000000..755c5a9b3 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminGetBillFlowInfoResultModel; +import java.io.Serializable; +/** + * ConsoleAdminGetBillFlowInfoResult + */ +public class ConsoleAdminGetBillFlowInfoResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminGetBillFlowInfoResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminGetBillFlowInfoResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminGetBillFlowInfoResult model(ConsoleAdminGetBillFlowInfoResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminGetBillFlowInfoResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminGetBillFlowInfoResultModel model) { + this.model = model; + } + + public ConsoleAdminGetBillFlowInfoResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminGetBillFlowInfoResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetBillFlowInfoResult consoleAdminGetBillFlowInfoResult = (ConsoleAdminGetBillFlowInfoResult) o; + return Objects.equals(this.success, consoleAdminGetBillFlowInfoResult.success) && + Objects.equals(this.model, consoleAdminGetBillFlowInfoResult.model) && + Objects.equals(this.msgInfo, consoleAdminGetBillFlowInfoResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminGetBillFlowInfoResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetBillFlowInfoResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 6772388ef8698770df39c48612fbec70f333d022 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:05 +0800 Subject: [PATCH 044/235] feat: update --- ...onsoleAdminGetBillFlowInfoResultModel.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoResultModel.java new file mode 100644 index 000000000..ea5d69162 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoResultModel.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminGetBillFlowInfoResultModelItems; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminGetBillFlowInfoResultModel + */ +public class ConsoleAdminGetBillFlowInfoResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer pageNumber = null; + + + private Integer pagesize = null; + + + private Integer totalCount = null; + + + private List items = null; + + + public ConsoleAdminGetBillFlowInfoResultModel pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Get pageNumber + * @return pageNumber + **/ + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public ConsoleAdminGetBillFlowInfoResultModel pagesize(Integer pagesize) { + this.pagesize = pagesize; + return this; + } + + /** + * Get pagesize + * @return pagesize + **/ + public Integer getPagesize() { + return pagesize; + } + + public void setPagesize(Integer pagesize) { + this.pagesize = pagesize; + } + + public ConsoleAdminGetBillFlowInfoResultModel totalCount(Integer totalCount) { + this.totalCount = totalCount; + return this; + } + + /** + * Get totalCount + * @return totalCount + **/ + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public ConsoleAdminGetBillFlowInfoResultModel items(List items) { + this.items = items; + return this; + } + + public ConsoleAdminGetBillFlowInfoResultModel addItemsItem(ConsoleAdminGetBillFlowInfoResultModelItems itemsItem) { + if (this.items == null) { + this.items = new ArrayList(); + } + this.items.add(itemsItem); + return this; + } + + /** + * Get items + * @return items + **/ + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetBillFlowInfoResultModel consoleAdminGetBillFlowInfoResultModel = (ConsoleAdminGetBillFlowInfoResultModel) o; + return Objects.equals(this.pageNumber, consoleAdminGetBillFlowInfoResultModel.pageNumber) && + Objects.equals(this.pagesize, consoleAdminGetBillFlowInfoResultModel.pagesize) && + Objects.equals(this.totalCount, consoleAdminGetBillFlowInfoResultModel.totalCount) && + Objects.equals(this.items, consoleAdminGetBillFlowInfoResultModel.items); + } + + @Override + public int hashCode() { + return Objects.hash(pageNumber, pagesize, totalCount, items); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetBillFlowInfoResultModel {"); + + sb.append(",pageNumber: ").append(toIndentedString(pageNumber)); + sb.append(",pagesize: ").append(toIndentedString(pagesize)); + sb.append(",totalCount: ").append(toIndentedString(totalCount)); + sb.append(",items: ").append(toIndentedString(items)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 1cf9d35f61b66aad5f4c10219b923db4044f970d Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:07 +0800 Subject: [PATCH 045/235] feat: update --- ...eAdminGetBillFlowInfoResultModelItems.java | 408 ++++++++++++++++++ 1 file changed, 408 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoResultModelItems.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoResultModelItems.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoResultModelItems.java new file mode 100644 index 000000000..81ccf0732 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetBillFlowInfoResultModelItems.java @@ -0,0 +1,408 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminGetBillFlowInfoResultModelItems + */ +public class ConsoleAdminGetBillFlowInfoResultModelItems implements Serializable { + private static final long serialVersionUID = 1L; + + private Long consumePeriodStartTime = null; + + + private String totalUnclearAmount = null; + + + private Long amount = null; + + + private String orderId = null; + + + private String billType = null; + + + private String discountAmount = null; + + + private Long actualTotalPayAmount = null; + + + private String refundOrderId = null; + + + private Long consumePeriodEndTime = null; + + + private Long payAmount = null; + + + private String tenantName = null; + + + private String settlementStatus = null; + + + private String voucherPayAmount = null; + + + private String accountingPeriod = null; + + + private String consumeType = null; + + + private String commodityName = null; + + + public ConsoleAdminGetBillFlowInfoResultModelItems consumePeriodStartTime(Long consumePeriodStartTime) { + this.consumePeriodStartTime = consumePeriodStartTime; + return this; + } + + /** + * Get consumePeriodStartTime + * @return consumePeriodStartTime + **/ + public Long getConsumePeriodStartTime() { + return consumePeriodStartTime; + } + + public void setConsumePeriodStartTime(Long consumePeriodStartTime) { + this.consumePeriodStartTime = consumePeriodStartTime; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems totalUnclearAmount(String totalUnclearAmount) { + this.totalUnclearAmount = totalUnclearAmount; + return this; + } + + /** + * Get totalUnclearAmount + * @return totalUnclearAmount + **/ + public String getTotalUnclearAmount() { + return totalUnclearAmount; + } + + public void setTotalUnclearAmount(String totalUnclearAmount) { + this.totalUnclearAmount = totalUnclearAmount; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems amount(Long amount) { + this.amount = amount; + return this; + } + + /** + * Get amount + * @return amount + **/ + public Long getAmount() { + return amount; + } + + public void setAmount(Long amount) { + this.amount = amount; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems orderId(String orderId) { + this.orderId = orderId; + return this; + } + + /** + * Get orderId + * @return orderId + **/ + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems billType(String billType) { + this.billType = billType; + return this; + } + + /** + * Get billType + * @return billType + **/ + public String getBillType() { + return billType; + } + + public void setBillType(String billType) { + this.billType = billType; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems discountAmount(String discountAmount) { + this.discountAmount = discountAmount; + return this; + } + + /** + * Get discountAmount + * @return discountAmount + **/ + public String getDiscountAmount() { + return discountAmount; + } + + public void setDiscountAmount(String discountAmount) { + this.discountAmount = discountAmount; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems actualTotalPayAmount(Long actualTotalPayAmount) { + this.actualTotalPayAmount = actualTotalPayAmount; + return this; + } + + /** + * Get actualTotalPayAmount + * @return actualTotalPayAmount + **/ + public Long getActualTotalPayAmount() { + return actualTotalPayAmount; + } + + public void setActualTotalPayAmount(Long actualTotalPayAmount) { + this.actualTotalPayAmount = actualTotalPayAmount; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems refundOrderId(String refundOrderId) { + this.refundOrderId = refundOrderId; + return this; + } + + /** + * Get refundOrderId + * @return refundOrderId + **/ + public String getRefundOrderId() { + return refundOrderId; + } + + public void setRefundOrderId(String refundOrderId) { + this.refundOrderId = refundOrderId; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems consumePeriodEndTime(Long consumePeriodEndTime) { + this.consumePeriodEndTime = consumePeriodEndTime; + return this; + } + + /** + * Get consumePeriodEndTime + * @return consumePeriodEndTime + **/ + public Long getConsumePeriodEndTime() { + return consumePeriodEndTime; + } + + public void setConsumePeriodEndTime(Long consumePeriodEndTime) { + this.consumePeriodEndTime = consumePeriodEndTime; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems payAmount(Long payAmount) { + this.payAmount = payAmount; + return this; + } + + /** + * Get payAmount + * @return payAmount + **/ + public Long getPayAmount() { + return payAmount; + } + + public void setPayAmount(Long payAmount) { + this.payAmount = payAmount; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems tenantName(String tenantName) { + this.tenantName = tenantName; + return this; + } + + /** + * Get tenantName + * @return tenantName + **/ + public String getTenantName() { + return tenantName; + } + + public void setTenantName(String tenantName) { + this.tenantName = tenantName; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems settlementStatus(String settlementStatus) { + this.settlementStatus = settlementStatus; + return this; + } + + /** + * Get settlementStatus + * @return settlementStatus + **/ + public String getSettlementStatus() { + return settlementStatus; + } + + public void setSettlementStatus(String settlementStatus) { + this.settlementStatus = settlementStatus; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems voucherPayAmount(String voucherPayAmount) { + this.voucherPayAmount = voucherPayAmount; + return this; + } + + /** + * Get voucherPayAmount + * @return voucherPayAmount + **/ + public String getVoucherPayAmount() { + return voucherPayAmount; + } + + public void setVoucherPayAmount(String voucherPayAmount) { + this.voucherPayAmount = voucherPayAmount; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems accountingPeriod(String accountingPeriod) { + this.accountingPeriod = accountingPeriod; + return this; + } + + /** + * Get accountingPeriod + * @return accountingPeriod + **/ + public String getAccountingPeriod() { + return accountingPeriod; + } + + public void setAccountingPeriod(String accountingPeriod) { + this.accountingPeriod = accountingPeriod; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems consumeType(String consumeType) { + this.consumeType = consumeType; + return this; + } + + /** + * Get consumeType + * @return consumeType + **/ + public String getConsumeType() { + return consumeType; + } + + public void setConsumeType(String consumeType) { + this.consumeType = consumeType; + } + + public ConsoleAdminGetBillFlowInfoResultModelItems commodityName(String commodityName) { + this.commodityName = commodityName; + return this; + } + + /** + * Get commodityName + * @return commodityName + **/ + public String getCommodityName() { + return commodityName; + } + + public void setCommodityName(String commodityName) { + this.commodityName = commodityName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetBillFlowInfoResultModelItems consoleAdminGetBillFlowInfoResultModelItems = (ConsoleAdminGetBillFlowInfoResultModelItems) o; + return Objects.equals(this.consumePeriodStartTime, consoleAdminGetBillFlowInfoResultModelItems.consumePeriodStartTime) && + Objects.equals(this.totalUnclearAmount, consoleAdminGetBillFlowInfoResultModelItems.totalUnclearAmount) && + Objects.equals(this.amount, consoleAdminGetBillFlowInfoResultModelItems.amount) && + Objects.equals(this.orderId, consoleAdminGetBillFlowInfoResultModelItems.orderId) && + Objects.equals(this.billType, consoleAdminGetBillFlowInfoResultModelItems.billType) && + Objects.equals(this.discountAmount, consoleAdminGetBillFlowInfoResultModelItems.discountAmount) && + Objects.equals(this.actualTotalPayAmount, consoleAdminGetBillFlowInfoResultModelItems.actualTotalPayAmount) && + Objects.equals(this.refundOrderId, consoleAdminGetBillFlowInfoResultModelItems.refundOrderId) && + Objects.equals(this.consumePeriodEndTime, consoleAdminGetBillFlowInfoResultModelItems.consumePeriodEndTime) && + Objects.equals(this.payAmount, consoleAdminGetBillFlowInfoResultModelItems.payAmount) && + Objects.equals(this.tenantName, consoleAdminGetBillFlowInfoResultModelItems.tenantName) && + Objects.equals(this.settlementStatus, consoleAdminGetBillFlowInfoResultModelItems.settlementStatus) && + Objects.equals(this.voucherPayAmount, consoleAdminGetBillFlowInfoResultModelItems.voucherPayAmount) && + Objects.equals(this.accountingPeriod, consoleAdminGetBillFlowInfoResultModelItems.accountingPeriod) && + Objects.equals(this.consumeType, consoleAdminGetBillFlowInfoResultModelItems.consumeType) && + Objects.equals(this.commodityName, consoleAdminGetBillFlowInfoResultModelItems.commodityName); + } + + @Override + public int hashCode() { + return Objects.hash(consumePeriodStartTime, totalUnclearAmount, amount, orderId, billType, discountAmount, actualTotalPayAmount, refundOrderId, consumePeriodEndTime, payAmount, tenantName, settlementStatus, voucherPayAmount, accountingPeriod, consumeType, commodityName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetBillFlowInfoResultModelItems {"); + + sb.append(",consumePeriodStartTime: ").append(toIndentedString(consumePeriodStartTime)); + sb.append(",totalUnclearAmount: ").append(toIndentedString(totalUnclearAmount)); + sb.append(",amount: ").append(toIndentedString(amount)); + sb.append(",orderId: ").append(toIndentedString(orderId)); + sb.append(",billType: ").append(toIndentedString(billType)); + sb.append(",discountAmount: ").append(toIndentedString(discountAmount)); + sb.append(",actualTotalPayAmount: ").append(toIndentedString(actualTotalPayAmount)); + sb.append(",refundOrderId: ").append(toIndentedString(refundOrderId)); + sb.append(",consumePeriodEndTime: ").append(toIndentedString(consumePeriodEndTime)); + sb.append(",payAmount: ").append(toIndentedString(payAmount)); + sb.append(",tenantName: ").append(toIndentedString(tenantName)); + sb.append(",settlementStatus: ").append(toIndentedString(settlementStatus)); + sb.append(",voucherPayAmount: ").append(toIndentedString(voucherPayAmount)); + sb.append(",accountingPeriod: ").append(toIndentedString(accountingPeriod)); + sb.append(",consumeType: ").append(toIndentedString(consumeType)); + sb.append(",commodityName: ").append(toIndentedString(commodityName)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From d2d818a788ac37eff8fba462fba2f72977fbcf03 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:09 +0800 Subject: [PATCH 046/235] feat: update --- .../ConsoleAdminGetGameVersionForms.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionForms.java new file mode 100644 index 000000000..bcae0919e --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionForms.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminGetGameVersionForms + */ +public class ConsoleAdminGetGameVersionForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String versionId = null; + + + public ConsoleAdminGetGameVersionForms versionId(String versionId) { + this.versionId = versionId; + return this; + } + + /** + * Get versionId + * @return versionId + **/ + public String getVersionId() { + return versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetGameVersionForms consoleAdminGetGameVersionForms = (ConsoleAdminGetGameVersionForms) o; + return Objects.equals(this.versionId, consoleAdminGetGameVersionForms.versionId); + } + + @Override + public int hashCode() { + return Objects.hash(versionId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetGameVersionForms {"); + + sb.append(",versionId: ").append(toIndentedString(versionId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From b893a66a5b248c1c7c5f0b75d1b81d4a17e6d158 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:10 +0800 Subject: [PATCH 047/235] feat: update --- ...nsoleAdminGetGameVersionProgressForms.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionProgressForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionProgressForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionProgressForms.java new file mode 100644 index 000000000..2a61e7da3 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionProgressForms.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminGetGameVersionProgressForms + */ +public class ConsoleAdminGetGameVersionProgressForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String taskId = null; + + + public ConsoleAdminGetGameVersionProgressForms taskId(String taskId) { + this.taskId = taskId; + return this; + } + + /** + * Get taskId + * @return taskId + **/ + public String getTaskId() { + return taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetGameVersionProgressForms consoleAdminGetGameVersionProgressForms = (ConsoleAdminGetGameVersionProgressForms) o; + return Objects.equals(this.taskId, consoleAdminGetGameVersionProgressForms.taskId); + } + + @Override + public int hashCode() { + return Objects.hash(taskId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetGameVersionProgressForms {"); + + sb.append(",taskId: ").append(toIndentedString(taskId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From d72597e529faf43ab138da46e652956f9bdd8de8 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:11 +0800 Subject: [PATCH 048/235] feat: update --- ...soleAdminGetGameVersionProgressResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionProgressResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionProgressResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionProgressResult.java new file mode 100644 index 000000000..eda6f1297 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionProgressResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminGetGameVersionProgressResultModel; +import java.io.Serializable; +/** + * ConsoleAdminGetGameVersionProgressResult + */ +public class ConsoleAdminGetGameVersionProgressResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminGetGameVersionProgressResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminGetGameVersionProgressResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminGetGameVersionProgressResult model(ConsoleAdminGetGameVersionProgressResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminGetGameVersionProgressResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminGetGameVersionProgressResultModel model) { + this.model = model; + } + + public ConsoleAdminGetGameVersionProgressResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminGetGameVersionProgressResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetGameVersionProgressResult consoleAdminGetGameVersionProgressResult = (ConsoleAdminGetGameVersionProgressResult) o; + return Objects.equals(this.success, consoleAdminGetGameVersionProgressResult.success) && + Objects.equals(this.model, consoleAdminGetGameVersionProgressResult.model) && + Objects.equals(this.msgInfo, consoleAdminGetGameVersionProgressResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminGetGameVersionProgressResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetGameVersionProgressResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 098efa819ab08fc4b3a33665c3a337a9f47fca08 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:12 +0800 Subject: [PATCH 049/235] feat: update --- ...dminGetGameVersionProgressResultModel.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionProgressResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionProgressResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionProgressResultModel.java new file mode 100644 index 000000000..e1cc3337d --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionProgressResultModel.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.io.Serializable; +/** + * ConsoleAdminGetGameVersionProgressResultModel + */ +public class ConsoleAdminGetGameVersionProgressResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Map extra = null; + + + private String description = null; + + + private String event = null; + + + private String status = null; + + + public ConsoleAdminGetGameVersionProgressResultModel extra(Map extra) { + this.extra = extra; + return this; + } + + public ConsoleAdminGetGameVersionProgressResultModel putExtraItem(String key, String extraItem) { + if (this.extra == null) { + this.extra = new HashMap(); + } + this.extra.put(key, extraItem); + return this; + } + + /** + * 提供不固定的额外信息 + * @return extra + **/ + public Map getExtra() { + return extra; + } + + public void setExtra(Map extra) { + this.extra = extra; + } + + public ConsoleAdminGetGameVersionProgressResultModel description(String description) { + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public ConsoleAdminGetGameVersionProgressResultModel event(String event) { + this.event = event; + return this; + } + + /** + * Get event + * @return event + **/ + public String getEvent() { + return event; + } + + public void setEvent(String event) { + this.event = event; + } + + public ConsoleAdminGetGameVersionProgressResultModel status(String status) { + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetGameVersionProgressResultModel consoleAdminGetGameVersionProgressResultModel = (ConsoleAdminGetGameVersionProgressResultModel) o; + return Objects.equals(this.extra, consoleAdminGetGameVersionProgressResultModel.extra) && + Objects.equals(this.description, consoleAdminGetGameVersionProgressResultModel.description) && + Objects.equals(this.event, consoleAdminGetGameVersionProgressResultModel.event) && + Objects.equals(this.status, consoleAdminGetGameVersionProgressResultModel.status); + } + + @Override + public int hashCode() { + return Objects.hash(extra, description, event, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetGameVersionProgressResultModel {"); + + sb.append(",extra: ").append(toIndentedString(extra)); + sb.append(",description: ").append(toIndentedString(description)); + sb.append(",event: ").append(toIndentedString(event)); + sb.append(",status: ").append(toIndentedString(status)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 96cf41fae5e15958b2d7eb6440e1d05a635f640d Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:14 +0800 Subject: [PATCH 050/235] feat: update --- .../ConsoleAdminGetGameVersionResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionResult.java new file mode 100644 index 000000000..e50f536b7 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminGetGameVersionResultModel; +import java.io.Serializable; +/** + * ConsoleAdminGetGameVersionResult + */ +public class ConsoleAdminGetGameVersionResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminGetGameVersionResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminGetGameVersionResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminGetGameVersionResult model(ConsoleAdminGetGameVersionResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminGetGameVersionResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminGetGameVersionResultModel model) { + this.model = model; + } + + public ConsoleAdminGetGameVersionResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminGetGameVersionResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetGameVersionResult consoleAdminGetGameVersionResult = (ConsoleAdminGetGameVersionResult) o; + return Objects.equals(this.success, consoleAdminGetGameVersionResult.success) && + Objects.equals(this.model, consoleAdminGetGameVersionResult.model) && + Objects.equals(this.msgInfo, consoleAdminGetGameVersionResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminGetGameVersionResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetGameVersionResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From aef6a9b9f16fe1a91c030783efe0f8e7ab537456 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:15 +0800 Subject: [PATCH 051/235] feat: update --- ...ConsoleAdminGetGameVersionResultModel.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionResultModel.java new file mode 100644 index 000000000..d204571eb --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetGameVersionResultModel.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminGetGameVersionResultModel + */ +public class ConsoleAdminGetGameVersionResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String versionId = null; + + + private String versionName = null; + + + public ConsoleAdminGetGameVersionResultModel versionId(String versionId) { + this.versionId = versionId; + return this; + } + + /** + * Get versionId + * @return versionId + **/ + public String getVersionId() { + return versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + } + + public ConsoleAdminGetGameVersionResultModel versionName(String versionName) { + this.versionName = versionName; + return this; + } + + /** + * Get versionName + * @return versionName + **/ + public String getVersionName() { + return versionName; + } + + public void setVersionName(String versionName) { + this.versionName = versionName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetGameVersionResultModel consoleAdminGetGameVersionResultModel = (ConsoleAdminGetGameVersionResultModel) o; + return Objects.equals(this.versionId, consoleAdminGetGameVersionResultModel.versionId) && + Objects.equals(this.versionName, consoleAdminGetGameVersionResultModel.versionName); + } + + @Override + public int hashCode() { + return Objects.hash(versionId, versionName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetGameVersionResultModel {"); + + sb.append(",versionId: ").append(toIndentedString(versionId)); + sb.append(",versionName: ").append(toIndentedString(versionName)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 5b7fb4da21472cacee6fcae8e626f51936d6be8c Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:16 +0800 Subject: [PATCH 052/235] feat: update --- .../model/ConsoleAdminGetOrderForms.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderForms.java new file mode 100644 index 000000000..64aaeb646 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderForms.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminGetOrderForms + */ +public class ConsoleAdminGetOrderForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String orderId = null; + + + public ConsoleAdminGetOrderForms orderId(String orderId) { + this.orderId = orderId; + return this; + } + + /** + * 订单号 + * @return orderId + **/ + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetOrderForms consoleAdminGetOrderForms = (ConsoleAdminGetOrderForms) o; + return Objects.equals(this.orderId, consoleAdminGetOrderForms.orderId); + } + + @Override + public int hashCode() { + return Objects.hash(orderId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetOrderForms {"); + + sb.append(",orderId: ").append(toIndentedString(orderId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 60a9f44b7fa19193fd7c3adec50216ca0cf8b110 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:18 +0800 Subject: [PATCH 053/235] feat: update --- .../model/ConsoleAdminGetOrderResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderResult.java new file mode 100644 index 000000000..8ffd3fc38 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminGetOrderResultModel; +import java.io.Serializable; +/** + * ConsoleAdminGetOrderResult + */ +public class ConsoleAdminGetOrderResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminGetOrderResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminGetOrderResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminGetOrderResult model(ConsoleAdminGetOrderResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminGetOrderResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminGetOrderResultModel model) { + this.model = model; + } + + public ConsoleAdminGetOrderResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminGetOrderResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetOrderResult consoleAdminGetOrderResult = (ConsoleAdminGetOrderResult) o; + return Objects.equals(this.success, consoleAdminGetOrderResult.success) && + Objects.equals(this.model, consoleAdminGetOrderResult.model) && + Objects.equals(this.msgInfo, consoleAdminGetOrderResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminGetOrderResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetOrderResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 5698a677d93ae5896eb69046a6a56fe3919a7685 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:19 +0800 Subject: [PATCH 054/235] feat: update --- .../ConsoleAdminGetOrderResultModel.java | 947 ++++++++++++++++++ 1 file changed, 947 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderResultModel.java new file mode 100644 index 000000000..e8eae5ab8 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderResultModel.java @@ -0,0 +1,947 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminGetOrderResultModelAttributeList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminGetOrderResultModel + */ +public class ConsoleAdminGetOrderResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String orderType = null; + + + private String orderId = null; + + + private List attributeList = null; + + + private String chargeType = null; + + + private Long discountAmount = null; + + + private Long creditPayAmount = null; + + + private Long downgradeRefundAmount = null; + + + private Long downgradeCreditRefundAmount = null; + + + private String discountDetail = null; + + + private String promotionName = null; + + + private String instanceId = null; + + + private Long payAmount = null; + + + private String tenantName = null; + + + private String commodityCode = null; + + + private Boolean autoRenew = null; + + + private String currency = null; + + + private Long startTime = null; + + + private Long downgradeBalanceRefundAmount = null; + + + private String primaryPriceType = null; + + + private Long finishTime = null; + + + private Long amount = null; + + + private Integer quantity = null; + + + private Long deliveryEndTime = null; + + + private Long refundTime = null; + + + private String buyDurationUnit = null; + + + private String primaryChargeItemCode = null; + + + private String payUserId = null; + + + private String categoryCode = null; + + + private Long buyDuration = null; + + + private Long balancePayAmount = null; + + + private Long actualPayAmount = null; + + + private Long createTime = null; + + + private Long tenantId = null; + + + private Long paymentEndTime = null; + + + private String buyType = null; + + + private Long voucherPayAmount = null; + + + private String buyerUserId = null; + + + private Long endTime = null; + + + private String commodityName = null; + + + private String status = null; + + + public ConsoleAdminGetOrderResultModel orderType(String orderType) { + this.orderType = orderType; + return this; + } + + /** + * 订单类型 + * @return orderType + **/ + public String getOrderType() { + return orderType; + } + + public void setOrderType(String orderType) { + this.orderType = orderType; + } + + public ConsoleAdminGetOrderResultModel orderId(String orderId) { + this.orderId = orderId; + return this; + } + + /** + * 订单号 + * @return orderId + **/ + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public ConsoleAdminGetOrderResultModel attributeList(List attributeList) { + this.attributeList = attributeList; + return this; + } + + public ConsoleAdminGetOrderResultModel addAttributeListItem(ConsoleAdminGetOrderResultModelAttributeList attributeListItem) { + if (this.attributeList == null) { + this.attributeList = new ArrayList(); + } + this.attributeList.add(attributeListItem); + return this; + } + + /** + * 配置详情 + * @return attributeList + **/ + public List getAttributeList() { + return attributeList; + } + + public void setAttributeList(List attributeList) { + this.attributeList = attributeList; + } + + public ConsoleAdminGetOrderResultModel chargeType(String chargeType) { + this.chargeType = chargeType; + return this; + } + + /** + * 付费方式 + * @return chargeType + **/ + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public ConsoleAdminGetOrderResultModel discountAmount(Long discountAmount) { + this.discountAmount = discountAmount; + return this; + } + + /** + * 优惠金额(单位:分) + * @return discountAmount + **/ + public Long getDiscountAmount() { + return discountAmount; + } + + public void setDiscountAmount(Long discountAmount) { + this.discountAmount = discountAmount; + } + + public ConsoleAdminGetOrderResultModel creditPayAmount(Long creditPayAmount) { + this.creditPayAmount = creditPayAmount; + return this; + } + + /** + * 信控支付金额(单位:分) + * @return creditPayAmount + **/ + public Long getCreditPayAmount() { + return creditPayAmount; + } + + public void setCreditPayAmount(Long creditPayAmount) { + this.creditPayAmount = creditPayAmount; + } + + public ConsoleAdminGetOrderResultModel downgradeRefundAmount(Long downgradeRefundAmount) { + this.downgradeRefundAmount = downgradeRefundAmount; + return this; + } + + /** + * 降配退款金额 + * @return downgradeRefundAmount + **/ + public Long getDowngradeRefundAmount() { + return downgradeRefundAmount; + } + + public void setDowngradeRefundAmount(Long downgradeRefundAmount) { + this.downgradeRefundAmount = downgradeRefundAmount; + } + + public ConsoleAdminGetOrderResultModel downgradeCreditRefundAmount(Long downgradeCreditRefundAmount) { + this.downgradeCreditRefundAmount = downgradeCreditRefundAmount; + return this; + } + + /** + * 降配信控应退款金额 + * @return downgradeCreditRefundAmount + **/ + public Long getDowngradeCreditRefundAmount() { + return downgradeCreditRefundAmount; + } + + public void setDowngradeCreditRefundAmount(Long downgradeCreditRefundAmount) { + this.downgradeCreditRefundAmount = downgradeCreditRefundAmount; + } + + public ConsoleAdminGetOrderResultModel discountDetail(String discountDetail) { + this.discountDetail = discountDetail; + return this; + } + + /** + * 优惠详细信息 + * @return discountDetail + **/ + public String getDiscountDetail() { + return discountDetail; + } + + public void setDiscountDetail(String discountDetail) { + this.discountDetail = discountDetail; + } + + public ConsoleAdminGetOrderResultModel promotionName(String promotionName) { + this.promotionName = promotionName; + return this; + } + + /** + * 优惠名称 + * @return promotionName + **/ + public String getPromotionName() { + return promotionName; + } + + public void setPromotionName(String promotionName) { + this.promotionName = promotionName; + } + + public ConsoleAdminGetOrderResultModel instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * 实例ID + * @return instanceId + **/ + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public ConsoleAdminGetOrderResultModel payAmount(Long payAmount) { + this.payAmount = payAmount; + return this; + } + + /** + * 应付金额(单位:分) + * @return payAmount + **/ + public Long getPayAmount() { + return payAmount; + } + + public void setPayAmount(Long payAmount) { + this.payAmount = payAmount; + } + + public ConsoleAdminGetOrderResultModel tenantName(String tenantName) { + this.tenantName = tenantName; + return this; + } + + /** + * 租户名称 + * @return tenantName + **/ + public String getTenantName() { + return tenantName; + } + + public void setTenantName(String tenantName) { + this.tenantName = tenantName; + } + + public ConsoleAdminGetOrderResultModel commodityCode(String commodityCode) { + this.commodityCode = commodityCode; + return this; + } + + /** + * 商品编码 + * @return commodityCode + **/ + public String getCommodityCode() { + return commodityCode; + } + + public void setCommodityCode(String commodityCode) { + this.commodityCode = commodityCode; + } + + public ConsoleAdminGetOrderResultModel autoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + return this; + } + + /** + * 是否自动续费 + * @return autoRenew + **/ + public Boolean getAutoRenew() { + return autoRenew; + } + + public void setAutoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + } + + public ConsoleAdminGetOrderResultModel currency(String currency) { + this.currency = currency; + return this; + } + + /** + * 币种 + * @return currency + **/ + public String getCurrency() { + return currency; + } + + public void setCurrency(String currency) { + this.currency = currency; + } + + public ConsoleAdminGetOrderResultModel startTime(Long startTime) { + this.startTime = startTime; + return this; + } + + /** + * 开始时间 + * @return startTime + **/ + public Long getStartTime() { + return startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + } + + public ConsoleAdminGetOrderResultModel downgradeBalanceRefundAmount(Long downgradeBalanceRefundAmount) { + this.downgradeBalanceRefundAmount = downgradeBalanceRefundAmount; + return this; + } + + /** + * 降配现金应退款金额 + * @return downgradeBalanceRefundAmount + **/ + public Long getDowngradeBalanceRefundAmount() { + return downgradeBalanceRefundAmount; + } + + public void setDowngradeBalanceRefundAmount(Long downgradeBalanceRefundAmount) { + this.downgradeBalanceRefundAmount = downgradeBalanceRefundAmount; + } + + public ConsoleAdminGetOrderResultModel primaryPriceType(String primaryPriceType) { + this.primaryPriceType = primaryPriceType; + return this; + } + + /** + * 主计费项价格类型 + * @return primaryPriceType + **/ + public String getPrimaryPriceType() { + return primaryPriceType; + } + + public void setPrimaryPriceType(String primaryPriceType) { + this.primaryPriceType = primaryPriceType; + } + + public ConsoleAdminGetOrderResultModel finishTime(Long finishTime) { + this.finishTime = finishTime; + return this; + } + + /** + * 订单完成时间 + * @return finishTime + **/ + public Long getFinishTime() { + return finishTime; + } + + public void setFinishTime(Long finishTime) { + this.finishTime = finishTime; + } + + public ConsoleAdminGetOrderResultModel amount(Long amount) { + this.amount = amount; + return this; + } + + /** + * 订单总金额(单位:分) + * @return amount + **/ + public Long getAmount() { + return amount; + } + + public void setAmount(Long amount) { + this.amount = amount; + } + + public ConsoleAdminGetOrderResultModel quantity(Integer quantity) { + this.quantity = quantity; + return this; + } + + /** + * 数量 + * @return quantity + **/ + public Integer getQuantity() { + return quantity; + } + + public void setQuantity(Integer quantity) { + this.quantity = quantity; + } + + public ConsoleAdminGetOrderResultModel deliveryEndTime(Long deliveryEndTime) { + this.deliveryEndTime = deliveryEndTime; + return this; + } + + /** + * 发货完成时间 + * @return deliveryEndTime + **/ + public Long getDeliveryEndTime() { + return deliveryEndTime; + } + + public void setDeliveryEndTime(Long deliveryEndTime) { + this.deliveryEndTime = deliveryEndTime; + } + + public ConsoleAdminGetOrderResultModel refundTime(Long refundTime) { + this.refundTime = refundTime; + return this; + } + + /** + * 售中退款时间 + * @return refundTime + **/ + public Long getRefundTime() { + return refundTime; + } + + public void setRefundTime(Long refundTime) { + this.refundTime = refundTime; + } + + public ConsoleAdminGetOrderResultModel buyDurationUnit(String buyDurationUnit) { + this.buyDurationUnit = buyDurationUnit; + return this; + } + + /** + * 购买时长单位 + * @return buyDurationUnit + **/ + public String getBuyDurationUnit() { + return buyDurationUnit; + } + + public void setBuyDurationUnit(String buyDurationUnit) { + this.buyDurationUnit = buyDurationUnit; + } + + public ConsoleAdminGetOrderResultModel primaryChargeItemCode(String primaryChargeItemCode) { + this.primaryChargeItemCode = primaryChargeItemCode; + return this; + } + + /** + * 主计费项编码 + * @return primaryChargeItemCode + **/ + public String getPrimaryChargeItemCode() { + return primaryChargeItemCode; + } + + public void setPrimaryChargeItemCode(String primaryChargeItemCode) { + this.primaryChargeItemCode = primaryChargeItemCode; + } + + public ConsoleAdminGetOrderResultModel payUserId(String payUserId) { + this.payUserId = payUserId; + return this; + } + + /** + * 支付用户ID + * @return payUserId + **/ + public String getPayUserId() { + return payUserId; + } + + public void setPayUserId(String payUserId) { + this.payUserId = payUserId; + } + + public ConsoleAdminGetOrderResultModel categoryCode(String categoryCode) { + this.categoryCode = categoryCode; + return this; + } + + /** + * 类目编码 + * @return categoryCode + **/ + public String getCategoryCode() { + return categoryCode; + } + + public void setCategoryCode(String categoryCode) { + this.categoryCode = categoryCode; + } + + public ConsoleAdminGetOrderResultModel buyDuration(Long buyDuration) { + this.buyDuration = buyDuration; + return this; + } + + /** + * 购买时长 + * @return buyDuration + **/ + public Long getBuyDuration() { + return buyDuration; + } + + public void setBuyDuration(Long buyDuration) { + this.buyDuration = buyDuration; + } + + public ConsoleAdminGetOrderResultModel balancePayAmount(Long balancePayAmount) { + this.balancePayAmount = balancePayAmount; + return this; + } + + /** + * 余额支付金额(单位:分) + * @return balancePayAmount + **/ + public Long getBalancePayAmount() { + return balancePayAmount; + } + + public void setBalancePayAmount(Long balancePayAmount) { + this.balancePayAmount = balancePayAmount; + } + + public ConsoleAdminGetOrderResultModel actualPayAmount(Long actualPayAmount) { + this.actualPayAmount = actualPayAmount; + return this; + } + + /** + * 实付金额(单位:分) + * @return actualPayAmount + **/ + public Long getActualPayAmount() { + return actualPayAmount; + } + + public void setActualPayAmount(Long actualPayAmount) { + this.actualPayAmount = actualPayAmount; + } + + public ConsoleAdminGetOrderResultModel createTime(Long createTime) { + this.createTime = createTime; + return this; + } + + /** + * 订单创建时间 + * @return createTime + **/ + public Long getCreateTime() { + return createTime; + } + + public void setCreateTime(Long createTime) { + this.createTime = createTime; + } + + public ConsoleAdminGetOrderResultModel tenantId(Long tenantId) { + this.tenantId = tenantId; + return this; + } + + /** + * 租户ID + * @return tenantId + **/ + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } + + public ConsoleAdminGetOrderResultModel paymentEndTime(Long paymentEndTime) { + this.paymentEndTime = paymentEndTime; + return this; + } + + /** + * 支付完成时间 + * @return paymentEndTime + **/ + public Long getPaymentEndTime() { + return paymentEndTime; + } + + public void setPaymentEndTime(Long paymentEndTime) { + this.paymentEndTime = paymentEndTime; + } + + public ConsoleAdminGetOrderResultModel buyType(String buyType) { + this.buyType = buyType; + return this; + } + + /** + * 售卖类型 + * @return buyType + **/ + public String getBuyType() { + return buyType; + } + + public void setBuyType(String buyType) { + this.buyType = buyType; + } + + public ConsoleAdminGetOrderResultModel voucherPayAmount(Long voucherPayAmount) { + this.voucherPayAmount = voucherPayAmount; + return this; + } + + /** + * 代金券抵扣金额(单位:分) + * @return voucherPayAmount + **/ + public Long getVoucherPayAmount() { + return voucherPayAmount; + } + + public void setVoucherPayAmount(Long voucherPayAmount) { + this.voucherPayAmount = voucherPayAmount; + } + + public ConsoleAdminGetOrderResultModel buyerUserId(String buyerUserId) { + this.buyerUserId = buyerUserId; + return this; + } + + /** + * 下单用户ID + * @return buyerUserId + **/ + public String getBuyerUserId() { + return buyerUserId; + } + + public void setBuyerUserId(String buyerUserId) { + this.buyerUserId = buyerUserId; + } + + public ConsoleAdminGetOrderResultModel endTime(Long endTime) { + this.endTime = endTime; + return this; + } + + /** + * 截止时间 + * @return endTime + **/ + public Long getEndTime() { + return endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + } + + public ConsoleAdminGetOrderResultModel commodityName(String commodityName) { + this.commodityName = commodityName; + return this; + } + + /** + * 商品名称 + * @return commodityName + **/ + public String getCommodityName() { + return commodityName; + } + + public void setCommodityName(String commodityName) { + this.commodityName = commodityName; + } + + public ConsoleAdminGetOrderResultModel status(String status) { + this.status = status; + return this; + } + + /** + * 订单状态 + * @return status + **/ + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetOrderResultModel consoleAdminGetOrderResultModel = (ConsoleAdminGetOrderResultModel) o; + return Objects.equals(this.orderType, consoleAdminGetOrderResultModel.orderType) && + Objects.equals(this.orderId, consoleAdminGetOrderResultModel.orderId) && + Objects.equals(this.attributeList, consoleAdminGetOrderResultModel.attributeList) && + Objects.equals(this.chargeType, consoleAdminGetOrderResultModel.chargeType) && + Objects.equals(this.discountAmount, consoleAdminGetOrderResultModel.discountAmount) && + Objects.equals(this.creditPayAmount, consoleAdminGetOrderResultModel.creditPayAmount) && + Objects.equals(this.downgradeRefundAmount, consoleAdminGetOrderResultModel.downgradeRefundAmount) && + Objects.equals(this.downgradeCreditRefundAmount, consoleAdminGetOrderResultModel.downgradeCreditRefundAmount) && + Objects.equals(this.discountDetail, consoleAdminGetOrderResultModel.discountDetail) && + Objects.equals(this.promotionName, consoleAdminGetOrderResultModel.promotionName) && + Objects.equals(this.instanceId, consoleAdminGetOrderResultModel.instanceId) && + Objects.equals(this.payAmount, consoleAdminGetOrderResultModel.payAmount) && + Objects.equals(this.tenantName, consoleAdminGetOrderResultModel.tenantName) && + Objects.equals(this.commodityCode, consoleAdminGetOrderResultModel.commodityCode) && + Objects.equals(this.autoRenew, consoleAdminGetOrderResultModel.autoRenew) && + Objects.equals(this.currency, consoleAdminGetOrderResultModel.currency) && + Objects.equals(this.startTime, consoleAdminGetOrderResultModel.startTime) && + Objects.equals(this.downgradeBalanceRefundAmount, consoleAdminGetOrderResultModel.downgradeBalanceRefundAmount) && + Objects.equals(this.primaryPriceType, consoleAdminGetOrderResultModel.primaryPriceType) && + Objects.equals(this.finishTime, consoleAdminGetOrderResultModel.finishTime) && + Objects.equals(this.amount, consoleAdminGetOrderResultModel.amount) && + Objects.equals(this.quantity, consoleAdminGetOrderResultModel.quantity) && + Objects.equals(this.deliveryEndTime, consoleAdminGetOrderResultModel.deliveryEndTime) && + Objects.equals(this.refundTime, consoleAdminGetOrderResultModel.refundTime) && + Objects.equals(this.buyDurationUnit, consoleAdminGetOrderResultModel.buyDurationUnit) && + Objects.equals(this.primaryChargeItemCode, consoleAdminGetOrderResultModel.primaryChargeItemCode) && + Objects.equals(this.payUserId, consoleAdminGetOrderResultModel.payUserId) && + Objects.equals(this.categoryCode, consoleAdminGetOrderResultModel.categoryCode) && + Objects.equals(this.buyDuration, consoleAdminGetOrderResultModel.buyDuration) && + Objects.equals(this.balancePayAmount, consoleAdminGetOrderResultModel.balancePayAmount) && + Objects.equals(this.actualPayAmount, consoleAdminGetOrderResultModel.actualPayAmount) && + Objects.equals(this.createTime, consoleAdminGetOrderResultModel.createTime) && + Objects.equals(this.tenantId, consoleAdminGetOrderResultModel.tenantId) && + Objects.equals(this.paymentEndTime, consoleAdminGetOrderResultModel.paymentEndTime) && + Objects.equals(this.buyType, consoleAdminGetOrderResultModel.buyType) && + Objects.equals(this.voucherPayAmount, consoleAdminGetOrderResultModel.voucherPayAmount) && + Objects.equals(this.buyerUserId, consoleAdminGetOrderResultModel.buyerUserId) && + Objects.equals(this.endTime, consoleAdminGetOrderResultModel.endTime) && + Objects.equals(this.commodityName, consoleAdminGetOrderResultModel.commodityName) && + Objects.equals(this.status, consoleAdminGetOrderResultModel.status); + } + + @Override + public int hashCode() { + return Objects.hash(orderType, orderId, attributeList, chargeType, discountAmount, creditPayAmount, downgradeRefundAmount, downgradeCreditRefundAmount, discountDetail, promotionName, instanceId, payAmount, tenantName, commodityCode, autoRenew, currency, startTime, downgradeBalanceRefundAmount, primaryPriceType, finishTime, amount, quantity, deliveryEndTime, refundTime, buyDurationUnit, primaryChargeItemCode, payUserId, categoryCode, buyDuration, balancePayAmount, actualPayAmount, createTime, tenantId, paymentEndTime, buyType, voucherPayAmount, buyerUserId, endTime, commodityName, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetOrderResultModel {"); + + sb.append(",orderType: ").append(toIndentedString(orderType)); + sb.append(",orderId: ").append(toIndentedString(orderId)); + sb.append(",attributeList: ").append(toIndentedString(attributeList)); + sb.append(",chargeType: ").append(toIndentedString(chargeType)); + sb.append(",discountAmount: ").append(toIndentedString(discountAmount)); + sb.append(",creditPayAmount: ").append(toIndentedString(creditPayAmount)); + sb.append(",downgradeRefundAmount: ").append(toIndentedString(downgradeRefundAmount)); + sb.append(",downgradeCreditRefundAmount: ").append(toIndentedString(downgradeCreditRefundAmount)); + sb.append(",discountDetail: ").append(toIndentedString(discountDetail)); + sb.append(",promotionName: ").append(toIndentedString(promotionName)); + sb.append(",instanceId: ").append(toIndentedString(instanceId)); + sb.append(",payAmount: ").append(toIndentedString(payAmount)); + sb.append(",tenantName: ").append(toIndentedString(tenantName)); + sb.append(",commodityCode: ").append(toIndentedString(commodityCode)); + sb.append(",autoRenew: ").append(toIndentedString(autoRenew)); + sb.append(",currency: ").append(toIndentedString(currency)); + sb.append(",startTime: ").append(toIndentedString(startTime)); + sb.append(",downgradeBalanceRefundAmount: ").append(toIndentedString(downgradeBalanceRefundAmount)); + sb.append(",primaryPriceType: ").append(toIndentedString(primaryPriceType)); + sb.append(",finishTime: ").append(toIndentedString(finishTime)); + sb.append(",amount: ").append(toIndentedString(amount)); + sb.append(",quantity: ").append(toIndentedString(quantity)); + sb.append(",deliveryEndTime: ").append(toIndentedString(deliveryEndTime)); + sb.append(",refundTime: ").append(toIndentedString(refundTime)); + sb.append(",buyDurationUnit: ").append(toIndentedString(buyDurationUnit)); + sb.append(",primaryChargeItemCode: ").append(toIndentedString(primaryChargeItemCode)); + sb.append(",payUserId: ").append(toIndentedString(payUserId)); + sb.append(",categoryCode: ").append(toIndentedString(categoryCode)); + sb.append(",buyDuration: ").append(toIndentedString(buyDuration)); + sb.append(",balancePayAmount: ").append(toIndentedString(balancePayAmount)); + sb.append(",actualPayAmount: ").append(toIndentedString(actualPayAmount)); + sb.append(",createTime: ").append(toIndentedString(createTime)); + sb.append(",tenantId: ").append(toIndentedString(tenantId)); + sb.append(",paymentEndTime: ").append(toIndentedString(paymentEndTime)); + sb.append(",buyType: ").append(toIndentedString(buyType)); + sb.append(",voucherPayAmount: ").append(toIndentedString(voucherPayAmount)); + sb.append(",buyerUserId: ").append(toIndentedString(buyerUserId)); + sb.append(",endTime: ").append(toIndentedString(endTime)); + sb.append(",commodityName: ").append(toIndentedString(commodityName)); + sb.append(",status: ").append(toIndentedString(status)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 1adabbd0b5f9b59a7d3956c78baa1ef804d8960f Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:20 +0800 Subject: [PATCH 055/235] feat: update --- ...AdminGetOrderResultModelAttributeList.java | 232 ++++++++++++++++++ 1 file changed, 232 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderResultModelAttributeList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderResultModelAttributeList.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderResultModelAttributeList.java new file mode 100644 index 000000000..810b65d04 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminGetOrderResultModelAttributeList.java @@ -0,0 +1,232 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminGetOrderResultModelAttributeList + */ +public class ConsoleAdminGetOrderResultModelAttributeList implements Serializable { + private static final long serialVersionUID = 1L; + + private String attributeCode = null; + + + private Long timeStart = null; + + + private String attributeValueName = null; + + + private Long timeTo = null; + + + private Integer attributeValue = null; + + + private String attributeName = null; + + + private Long attributeValueCode = null; + + + private String timeUnit = null; + + + public ConsoleAdminGetOrderResultModelAttributeList attributeCode(String attributeCode) { + this.attributeCode = attributeCode; + return this; + } + + /** + * Get attributeCode + * @return attributeCode + **/ + public String getAttributeCode() { + return attributeCode; + } + + public void setAttributeCode(String attributeCode) { + this.attributeCode = attributeCode; + } + + public ConsoleAdminGetOrderResultModelAttributeList timeStart(Long timeStart) { + this.timeStart = timeStart; + return this; + } + + /** + * Get timeStart + * @return timeStart + **/ + public Long getTimeStart() { + return timeStart; + } + + public void setTimeStart(Long timeStart) { + this.timeStart = timeStart; + } + + public ConsoleAdminGetOrderResultModelAttributeList attributeValueName(String attributeValueName) { + this.attributeValueName = attributeValueName; + return this; + } + + /** + * Get attributeValueName + * @return attributeValueName + **/ + public String getAttributeValueName() { + return attributeValueName; + } + + public void setAttributeValueName(String attributeValueName) { + this.attributeValueName = attributeValueName; + } + + public ConsoleAdminGetOrderResultModelAttributeList timeTo(Long timeTo) { + this.timeTo = timeTo; + return this; + } + + /** + * Get timeTo + * @return timeTo + **/ + public Long getTimeTo() { + return timeTo; + } + + public void setTimeTo(Long timeTo) { + this.timeTo = timeTo; + } + + public ConsoleAdminGetOrderResultModelAttributeList attributeValue(Integer attributeValue) { + this.attributeValue = attributeValue; + return this; + } + + /** + * Get attributeValue + * @return attributeValue + **/ + public Integer getAttributeValue() { + return attributeValue; + } + + public void setAttributeValue(Integer attributeValue) { + this.attributeValue = attributeValue; + } + + public ConsoleAdminGetOrderResultModelAttributeList attributeName(String attributeName) { + this.attributeName = attributeName; + return this; + } + + /** + * Get attributeName + * @return attributeName + **/ + public String getAttributeName() { + return attributeName; + } + + public void setAttributeName(String attributeName) { + this.attributeName = attributeName; + } + + public ConsoleAdminGetOrderResultModelAttributeList attributeValueCode(Long attributeValueCode) { + this.attributeValueCode = attributeValueCode; + return this; + } + + /** + * Get attributeValueCode + * @return attributeValueCode + **/ + public Long getAttributeValueCode() { + return attributeValueCode; + } + + public void setAttributeValueCode(Long attributeValueCode) { + this.attributeValueCode = attributeValueCode; + } + + public ConsoleAdminGetOrderResultModelAttributeList timeUnit(String timeUnit) { + this.timeUnit = timeUnit; + return this; + } + + /** + * Get timeUnit + * @return timeUnit + **/ + public String getTimeUnit() { + return timeUnit; + } + + public void setTimeUnit(String timeUnit) { + this.timeUnit = timeUnit; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminGetOrderResultModelAttributeList consoleAdminGetOrderResultModelAttributeList = (ConsoleAdminGetOrderResultModelAttributeList) o; + return Objects.equals(this.attributeCode, consoleAdminGetOrderResultModelAttributeList.attributeCode) && + Objects.equals(this.timeStart, consoleAdminGetOrderResultModelAttributeList.timeStart) && + Objects.equals(this.attributeValueName, consoleAdminGetOrderResultModelAttributeList.attributeValueName) && + Objects.equals(this.timeTo, consoleAdminGetOrderResultModelAttributeList.timeTo) && + Objects.equals(this.attributeValue, consoleAdminGetOrderResultModelAttributeList.attributeValue) && + Objects.equals(this.attributeName, consoleAdminGetOrderResultModelAttributeList.attributeName) && + Objects.equals(this.attributeValueCode, consoleAdminGetOrderResultModelAttributeList.attributeValueCode) && + Objects.equals(this.timeUnit, consoleAdminGetOrderResultModelAttributeList.timeUnit); + } + + @Override + public int hashCode() { + return Objects.hash(attributeCode, timeStart, attributeValueName, timeTo, attributeValue, attributeName, attributeValueCode, timeUnit); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminGetOrderResultModelAttributeList {"); + + sb.append(",attributeCode: ").append(toIndentedString(attributeCode)); + sb.append(",timeStart: ").append(toIndentedString(timeStart)); + sb.append(",attributeValueName: ").append(toIndentedString(attributeValueName)); + sb.append(",timeTo: ").append(toIndentedString(timeTo)); + sb.append(",attributeValue: ").append(toIndentedString(attributeValue)); + sb.append(",attributeName: ").append(toIndentedString(attributeName)); + sb.append(",attributeValueCode: ").append(toIndentedString(attributeValueCode)); + sb.append(",timeUnit: ").append(toIndentedString(timeUnit)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 09b4762fa0a674e3aa257248cdfccf143e7c3ac9 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:22 +0800 Subject: [PATCH 056/235] feat: update --- ...leAdminListActivateableInstancesForms.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesForms.java new file mode 100644 index 000000000..26afcf414 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesForms.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListActivateableInstancesForms + */ +public class ConsoleAdminListActivateableInstancesForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String projectId = null; + + + private String versionId = null; + + + public ConsoleAdminListActivateableInstancesForms projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public ConsoleAdminListActivateableInstancesForms versionId(String versionId) { + this.versionId = versionId; + return this; + } + + /** + * Get versionId + * @return versionId + **/ + public String getVersionId() { + return versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListActivateableInstancesForms consoleAdminListActivateableInstancesForms = (ConsoleAdminListActivateableInstancesForms) o; + return Objects.equals(this.projectId, consoleAdminListActivateableInstancesForms.projectId) && + Objects.equals(this.versionId, consoleAdminListActivateableInstancesForms.versionId); + } + + @Override + public int hashCode() { + return Objects.hash(projectId, versionId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListActivateableInstancesForms {"); + + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append(",versionId: ").append(toIndentedString(versionId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 4db8cb5496fee2aad30c9c0b8789289eea56b7bc Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:23 +0800 Subject: [PATCH 057/235] feat: update --- ...eAdminListActivateableInstancesResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesResult.java new file mode 100644 index 000000000..13562c98a --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListActivateableInstancesResultModel; +import java.io.Serializable; +/** + * ConsoleAdminListActivateableInstancesResult + */ +public class ConsoleAdminListActivateableInstancesResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminListActivateableInstancesResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminListActivateableInstancesResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminListActivateableInstancesResult model(ConsoleAdminListActivateableInstancesResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminListActivateableInstancesResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminListActivateableInstancesResultModel model) { + this.model = model; + } + + public ConsoleAdminListActivateableInstancesResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminListActivateableInstancesResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListActivateableInstancesResult consoleAdminListActivateableInstancesResult = (ConsoleAdminListActivateableInstancesResult) o; + return Objects.equals(this.success, consoleAdminListActivateableInstancesResult.success) && + Objects.equals(this.model, consoleAdminListActivateableInstancesResult.model) && + Objects.equals(this.msgInfo, consoleAdminListActivateableInstancesResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminListActivateableInstancesResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListActivateableInstancesResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From fad499a3b685e7d06ec1d7cb113ddc5f33048a64 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:24 +0800 Subject: [PATCH 058/235] feat: update --- ...nListActivateableInstancesResultModel.java | 111 ++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesResultModel.java new file mode 100644 index 000000000..b9aa0574e --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesResultModel.java @@ -0,0 +1,111 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListActivateableInstancesResultModelDataList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminListActivateableInstancesResultModel + */ +public class ConsoleAdminListActivateableInstancesResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private List dataList = null; + + + private Long count = null; + + + public ConsoleAdminListActivateableInstancesResultModel dataList(List dataList) { + this.dataList = dataList; + return this; + } + + public ConsoleAdminListActivateableInstancesResultModel addDataListItem(ConsoleAdminListActivateableInstancesResultModelDataList dataListItem) { + if (this.dataList == null) { + this.dataList = new ArrayList(); + } + this.dataList.add(dataListItem); + return this; + } + + /** + * Get dataList + * @return dataList + **/ + public List getDataList() { + return dataList; + } + + public void setDataList(List dataList) { + this.dataList = dataList; + } + + public ConsoleAdminListActivateableInstancesResultModel count(Long count) { + this.count = count; + return this; + } + + /** + * Get count + * @return count + **/ + public Long getCount() { + return count; + } + + public void setCount(Long count) { + this.count = count; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListActivateableInstancesResultModel consoleAdminListActivateableInstancesResultModel = (ConsoleAdminListActivateableInstancesResultModel) o; + return Objects.equals(this.dataList, consoleAdminListActivateableInstancesResultModel.dataList) && + Objects.equals(this.count, consoleAdminListActivateableInstancesResultModel.count); + } + + @Override + public int hashCode() { + return Objects.hash(dataList, count); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListActivateableInstancesResultModel {"); + + sb.append(",dataList: ").append(toIndentedString(dataList)); + sb.append(",count: ").append(toIndentedString(count)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From e9a3d13eae1ebfbc571c68bb56ad7523798cb277 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:26 +0800 Subject: [PATCH 059/235] feat: update --- ...ivateableInstancesResultModelDataList.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesResultModelDataList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesResultModelDataList.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesResultModelDataList.java new file mode 100644 index 000000000..ca34ce3f6 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivateableInstancesResultModelDataList.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListActivateableInstancesResultModelDataList + */ +public class ConsoleAdminListActivateableInstancesResultModelDataList implements Serializable { + private static final long serialVersionUID = 1L; + + private String cloudGameInstanceId = null; + + + private String cloudGameInstanceName = null; + + + private Integer containerCount = null; + + + private Integer maxConcurrency = null; + + + public ConsoleAdminListActivateableInstancesResultModelDataList cloudGameInstanceId(String cloudGameInstanceId) { + this.cloudGameInstanceId = cloudGameInstanceId; + return this; + } + + /** + * Get cloudGameInstanceId + * @return cloudGameInstanceId + **/ + public String getCloudGameInstanceId() { + return cloudGameInstanceId; + } + + public void setCloudGameInstanceId(String cloudGameInstanceId) { + this.cloudGameInstanceId = cloudGameInstanceId; + } + + public ConsoleAdminListActivateableInstancesResultModelDataList cloudGameInstanceName(String cloudGameInstanceName) { + this.cloudGameInstanceName = cloudGameInstanceName; + return this; + } + + /** + * Get cloudGameInstanceName + * @return cloudGameInstanceName + **/ + public String getCloudGameInstanceName() { + return cloudGameInstanceName; + } + + public void setCloudGameInstanceName(String cloudGameInstanceName) { + this.cloudGameInstanceName = cloudGameInstanceName; + } + + public ConsoleAdminListActivateableInstancesResultModelDataList containerCount(Integer containerCount) { + this.containerCount = containerCount; + return this; + } + + /** + * Get containerCount + * @return containerCount + **/ + public Integer getContainerCount() { + return containerCount; + } + + public void setContainerCount(Integer containerCount) { + this.containerCount = containerCount; + } + + public ConsoleAdminListActivateableInstancesResultModelDataList maxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + return this; + } + + /** + * Get maxConcurrency + * @return maxConcurrency + **/ + public Integer getMaxConcurrency() { + return maxConcurrency; + } + + public void setMaxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListActivateableInstancesResultModelDataList consoleAdminListActivateableInstancesResultModelDataList = (ConsoleAdminListActivateableInstancesResultModelDataList) o; + return Objects.equals(this.cloudGameInstanceId, consoleAdminListActivateableInstancesResultModelDataList.cloudGameInstanceId) && + Objects.equals(this.cloudGameInstanceName, consoleAdminListActivateableInstancesResultModelDataList.cloudGameInstanceName) && + Objects.equals(this.containerCount, consoleAdminListActivateableInstancesResultModelDataList.containerCount) && + Objects.equals(this.maxConcurrency, consoleAdminListActivateableInstancesResultModelDataList.maxConcurrency); + } + + @Override + public int hashCode() { + return Objects.hash(cloudGameInstanceId, cloudGameInstanceName, containerCount, maxConcurrency); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListActivateableInstancesResultModelDataList {"); + + sb.append(",cloudGameInstanceId: ").append(toIndentedString(cloudGameInstanceId)); + sb.append(",cloudGameInstanceName: ").append(toIndentedString(cloudGameInstanceName)); + sb.append(",containerCount: ").append(toIndentedString(containerCount)); + sb.append(",maxConcurrency: ").append(toIndentedString(maxConcurrency)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 0f86908e78f361d46b5f044aecc355236fa6bac3 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:27 +0800 Subject: [PATCH 060/235] feat: update --- ...nsoleAdminListActivatedInstancesForms.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesForms.java new file mode 100644 index 000000000..b4b8c48c3 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesForms.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListActivatedInstancesForms + */ +public class ConsoleAdminListActivatedInstancesForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String projectId = null; + + + public ConsoleAdminListActivatedInstancesForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public ConsoleAdminListActivatedInstancesForms projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListActivatedInstancesForms consoleAdminListActivatedInstancesForms = (ConsoleAdminListActivatedInstancesForms) o; + return Objects.equals(this.gameId, consoleAdminListActivatedInstancesForms.gameId) && + Objects.equals(this.projectId, consoleAdminListActivatedInstancesForms.projectId); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, projectId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListActivatedInstancesForms {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 42d06be61e9addfc5bdfe84460a9bd5d143e4afa Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:28 +0800 Subject: [PATCH 061/235] feat: update --- ...soleAdminListActivatedInstancesResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesResult.java new file mode 100644 index 000000000..1e613e83e --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListActivatedInstancesResultModel; +import java.io.Serializable; +/** + * ConsoleAdminListActivatedInstancesResult + */ +public class ConsoleAdminListActivatedInstancesResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminListActivatedInstancesResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminListActivatedInstancesResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminListActivatedInstancesResult model(ConsoleAdminListActivatedInstancesResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminListActivatedInstancesResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminListActivatedInstancesResultModel model) { + this.model = model; + } + + public ConsoleAdminListActivatedInstancesResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminListActivatedInstancesResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListActivatedInstancesResult consoleAdminListActivatedInstancesResult = (ConsoleAdminListActivatedInstancesResult) o; + return Objects.equals(this.success, consoleAdminListActivatedInstancesResult.success) && + Objects.equals(this.model, consoleAdminListActivatedInstancesResult.model) && + Objects.equals(this.msgInfo, consoleAdminListActivatedInstancesResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminListActivatedInstancesResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListActivatedInstancesResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From e91e10591ecb1909653c652183f771af02c659b2 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:29 +0800 Subject: [PATCH 062/235] feat: update --- ...dminListActivatedInstancesResultModel.java | 111 ++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesResultModel.java new file mode 100644 index 000000000..8fc14a831 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesResultModel.java @@ -0,0 +1,111 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListActivatedInstancesResultModelDataList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminListActivatedInstancesResultModel + */ +public class ConsoleAdminListActivatedInstancesResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private List dataList = null; + + + private Long count = null; + + + public ConsoleAdminListActivatedInstancesResultModel dataList(List dataList) { + this.dataList = dataList; + return this; + } + + public ConsoleAdminListActivatedInstancesResultModel addDataListItem(ConsoleAdminListActivatedInstancesResultModelDataList dataListItem) { + if (this.dataList == null) { + this.dataList = new ArrayList(); + } + this.dataList.add(dataListItem); + return this; + } + + /** + * Get dataList + * @return dataList + **/ + public List getDataList() { + return dataList; + } + + public void setDataList(List dataList) { + this.dataList = dataList; + } + + public ConsoleAdminListActivatedInstancesResultModel count(Long count) { + this.count = count; + return this; + } + + /** + * Get count + * @return count + **/ + public Long getCount() { + return count; + } + + public void setCount(Long count) { + this.count = count; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListActivatedInstancesResultModel consoleAdminListActivatedInstancesResultModel = (ConsoleAdminListActivatedInstancesResultModel) o; + return Objects.equals(this.dataList, consoleAdminListActivatedInstancesResultModel.dataList) && + Objects.equals(this.count, consoleAdminListActivatedInstancesResultModel.count); + } + + @Override + public int hashCode() { + return Objects.hash(dataList, count); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListActivatedInstancesResultModel {"); + + sb.append(",dataList: ").append(toIndentedString(dataList)); + sb.append(",count: ").append(toIndentedString(count)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 059d1470675d31d04087ea15aeb09f42b06c0c8f Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:31 +0800 Subject: [PATCH 063/235] feat: update --- ...ActivatedInstancesResultModelDataList.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesResultModelDataList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesResultModelDataList.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesResultModelDataList.java new file mode 100644 index 000000000..789ece920 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListActivatedInstancesResultModelDataList.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListActivatedInstancesResultModelDataList + */ +public class ConsoleAdminListActivatedInstancesResultModelDataList implements Serializable { + private static final long serialVersionUID = 1L; + + private String cloudGameInstanceId = null; + + + private String cloudGameInstanceName = null; + + + private Integer containerCount = null; + + + private Integer maxConcurrency = null; + + + public ConsoleAdminListActivatedInstancesResultModelDataList cloudGameInstanceId(String cloudGameInstanceId) { + this.cloudGameInstanceId = cloudGameInstanceId; + return this; + } + + /** + * Get cloudGameInstanceId + * @return cloudGameInstanceId + **/ + public String getCloudGameInstanceId() { + return cloudGameInstanceId; + } + + public void setCloudGameInstanceId(String cloudGameInstanceId) { + this.cloudGameInstanceId = cloudGameInstanceId; + } + + public ConsoleAdminListActivatedInstancesResultModelDataList cloudGameInstanceName(String cloudGameInstanceName) { + this.cloudGameInstanceName = cloudGameInstanceName; + return this; + } + + /** + * Get cloudGameInstanceName + * @return cloudGameInstanceName + **/ + public String getCloudGameInstanceName() { + return cloudGameInstanceName; + } + + public void setCloudGameInstanceName(String cloudGameInstanceName) { + this.cloudGameInstanceName = cloudGameInstanceName; + } + + public ConsoleAdminListActivatedInstancesResultModelDataList containerCount(Integer containerCount) { + this.containerCount = containerCount; + return this; + } + + /** + * Get containerCount + * @return containerCount + **/ + public Integer getContainerCount() { + return containerCount; + } + + public void setContainerCount(Integer containerCount) { + this.containerCount = containerCount; + } + + public ConsoleAdminListActivatedInstancesResultModelDataList maxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + return this; + } + + /** + * Get maxConcurrency + * @return maxConcurrency + **/ + public Integer getMaxConcurrency() { + return maxConcurrency; + } + + public void setMaxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListActivatedInstancesResultModelDataList consoleAdminListActivatedInstancesResultModelDataList = (ConsoleAdminListActivatedInstancesResultModelDataList) o; + return Objects.equals(this.cloudGameInstanceId, consoleAdminListActivatedInstancesResultModelDataList.cloudGameInstanceId) && + Objects.equals(this.cloudGameInstanceName, consoleAdminListActivatedInstancesResultModelDataList.cloudGameInstanceName) && + Objects.equals(this.containerCount, consoleAdminListActivatedInstancesResultModelDataList.containerCount) && + Objects.equals(this.maxConcurrency, consoleAdminListActivatedInstancesResultModelDataList.maxConcurrency); + } + + @Override + public int hashCode() { + return Objects.hash(cloudGameInstanceId, cloudGameInstanceName, containerCount, maxConcurrency); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListActivatedInstancesResultModelDataList {"); + + sb.append(",cloudGameInstanceId: ").append(toIndentedString(cloudGameInstanceId)); + sb.append(",cloudGameInstanceName: ").append(toIndentedString(cloudGameInstanceName)); + sb.append(",containerCount: ").append(toIndentedString(containerCount)); + sb.append(",maxConcurrency: ").append(toIndentedString(maxConcurrency)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 99a4229e758637fb3ff90e92902f9a73ff7ae3ad Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:33 +0800 Subject: [PATCH 064/235] feat: update --- ...onsoleAdminListControllersOfGameForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameForms.java new file mode 100644 index 000000000..59ca276ac --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListControllersOfGameForms + */ +public class ConsoleAdminListControllersOfGameForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String nextToken = null; + + + private Integer maxResults = null; + + + public ConsoleAdminListControllersOfGameForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public ConsoleAdminListControllersOfGameForms nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ConsoleAdminListControllersOfGameForms maxResults(Integer maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Get maxResults + * @return maxResults + **/ + public Integer getMaxResults() { + return maxResults; + } + + public void setMaxResults(Integer maxResults) { + this.maxResults = maxResults; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListControllersOfGameForms consoleAdminListControllersOfGameForms = (ConsoleAdminListControllersOfGameForms) o; + return Objects.equals(this.gameId, consoleAdminListControllersOfGameForms.gameId) && + Objects.equals(this.nextToken, consoleAdminListControllersOfGameForms.nextToken) && + Objects.equals(this.maxResults, consoleAdminListControllersOfGameForms.maxResults); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, nextToken, maxResults); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListControllersOfGameForms {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append(",maxResults: ").append(toIndentedString(maxResults)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 1cde1abba461a290145080fef8ca589030b8f008 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:34 +0800 Subject: [PATCH 065/235] feat: update --- ...nsoleAdminListControllersOfGameResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameResult.java new file mode 100644 index 000000000..f1d0fc39e --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListControllersOfGameResultModel; +import java.io.Serializable; +/** + * ConsoleAdminListControllersOfGameResult + */ +public class ConsoleAdminListControllersOfGameResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminListControllersOfGameResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminListControllersOfGameResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminListControllersOfGameResult model(ConsoleAdminListControllersOfGameResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminListControllersOfGameResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminListControllersOfGameResultModel model) { + this.model = model; + } + + public ConsoleAdminListControllersOfGameResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminListControllersOfGameResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListControllersOfGameResult consoleAdminListControllersOfGameResult = (ConsoleAdminListControllersOfGameResult) o; + return Objects.equals(this.success, consoleAdminListControllersOfGameResult.success) && + Objects.equals(this.model, consoleAdminListControllersOfGameResult.model) && + Objects.equals(this.msgInfo, consoleAdminListControllersOfGameResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminListControllersOfGameResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListControllersOfGameResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 36c4879ec1099b722788595d2510206aad42381f Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:35 +0800 Subject: [PATCH 066/235] feat: update --- ...AdminListControllersOfGameResultModel.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameResultModel.java new file mode 100644 index 000000000..5164464f0 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameResultModel.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListControllersOfGameResultModelDataList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminListControllersOfGameResultModel + */ +public class ConsoleAdminListControllersOfGameResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String nextToken = null; + + + private Integer maxResults = null; + + + private List dataList = null; + + + private Long count = null; + + + public ConsoleAdminListControllersOfGameResultModel nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ConsoleAdminListControllersOfGameResultModel maxResults(Integer maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Get maxResults + * @return maxResults + **/ + public Integer getMaxResults() { + return maxResults; + } + + public void setMaxResults(Integer maxResults) { + this.maxResults = maxResults; + } + + public ConsoleAdminListControllersOfGameResultModel dataList(List dataList) { + this.dataList = dataList; + return this; + } + + public ConsoleAdminListControllersOfGameResultModel addDataListItem(ConsoleAdminListControllersOfGameResultModelDataList dataListItem) { + if (this.dataList == null) { + this.dataList = new ArrayList(); + } + this.dataList.add(dataListItem); + return this; + } + + /** + * Get dataList + * @return dataList + **/ + public List getDataList() { + return dataList; + } + + public void setDataList(List dataList) { + this.dataList = dataList; + } + + public ConsoleAdminListControllersOfGameResultModel count(Long count) { + this.count = count; + return this; + } + + /** + * Get count + * @return count + **/ + public Long getCount() { + return count; + } + + public void setCount(Long count) { + this.count = count; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListControllersOfGameResultModel consoleAdminListControllersOfGameResultModel = (ConsoleAdminListControllersOfGameResultModel) o; + return Objects.equals(this.nextToken, consoleAdminListControllersOfGameResultModel.nextToken) && + Objects.equals(this.maxResults, consoleAdminListControllersOfGameResultModel.maxResults) && + Objects.equals(this.dataList, consoleAdminListControllersOfGameResultModel.dataList) && + Objects.equals(this.count, consoleAdminListControllersOfGameResultModel.count); + } + + @Override + public int hashCode() { + return Objects.hash(nextToken, maxResults, dataList, count); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListControllersOfGameResultModel {"); + + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append(",maxResults: ").append(toIndentedString(maxResults)); + sb.append(",dataList: ").append(toIndentedString(dataList)); + sb.append(",count: ").append(toIndentedString(count)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From f66e2a019e647598a0bb7ee3ac8e6cb1903fe67f Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:37 +0800 Subject: [PATCH 067/235] feat: update --- ...tControllersOfGameResultModelDataList.java | 210 ++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameResultModelDataList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameResultModelDataList.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameResultModelDataList.java new file mode 100644 index 000000000..ea4a94bde --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListControllersOfGameResultModelDataList.java @@ -0,0 +1,210 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListControllersOfGameResultModelDataList + */ +public class ConsoleAdminListControllersOfGameResultModelDataList implements Serializable { + private static final long serialVersionUID = 1L; + + private String bgPic = null; + + + private String ctltype = null; + + + private String name = null; + + + private String id = null; + + + private Integer type = null; + + + private Integer priority = null; + + + private String config = null; + + + public ConsoleAdminListControllersOfGameResultModelDataList bgPic(String bgPic) { + this.bgPic = bgPic; + return this; + } + + /** + * Get bgPic + * @return bgPic + **/ + public String getBgPic() { + return bgPic; + } + + public void setBgPic(String bgPic) { + this.bgPic = bgPic; + } + + public ConsoleAdminListControllersOfGameResultModelDataList ctltype(String ctltype) { + this.ctltype = ctltype; + return this; + } + + /** + * Get ctltype + * @return ctltype + **/ + public String getCtltype() { + return ctltype; + } + + public void setCtltype(String ctltype) { + this.ctltype = ctltype; + } + + public ConsoleAdminListControllersOfGameResultModelDataList name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public ConsoleAdminListControllersOfGameResultModelDataList id(String id) { + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public ConsoleAdminListControllersOfGameResultModelDataList type(Integer type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public ConsoleAdminListControllersOfGameResultModelDataList priority(Integer priority) { + this.priority = priority; + return this; + } + + /** + * Get priority + * @return priority + **/ + public Integer getPriority() { + return priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + public ConsoleAdminListControllersOfGameResultModelDataList config(String config) { + this.config = config; + return this; + } + + /** + * Get config + * @return config + **/ + public String getConfig() { + return config; + } + + public void setConfig(String config) { + this.config = config; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListControllersOfGameResultModelDataList consoleAdminListControllersOfGameResultModelDataList = (ConsoleAdminListControllersOfGameResultModelDataList) o; + return Objects.equals(this.bgPic, consoleAdminListControllersOfGameResultModelDataList.bgPic) && + Objects.equals(this.ctltype, consoleAdminListControllersOfGameResultModelDataList.ctltype) && + Objects.equals(this.name, consoleAdminListControllersOfGameResultModelDataList.name) && + Objects.equals(this.id, consoleAdminListControllersOfGameResultModelDataList.id) && + Objects.equals(this.type, consoleAdminListControllersOfGameResultModelDataList.type) && + Objects.equals(this.priority, consoleAdminListControllersOfGameResultModelDataList.priority) && + Objects.equals(this.config, consoleAdminListControllersOfGameResultModelDataList.config); + } + + @Override + public int hashCode() { + return Objects.hash(bgPic, ctltype, name, id, type, priority, config); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListControllersOfGameResultModelDataList {"); + + sb.append(",bgPic: ").append(toIndentedString(bgPic)); + sb.append(",ctltype: ").append(toIndentedString(ctltype)); + sb.append(",name: ").append(toIndentedString(name)); + sb.append(",id: ").append(toIndentedString(id)); + sb.append(",type: ").append(toIndentedString(type)); + sb.append(",priority: ").append(toIndentedString(priority)); + sb.append(",config: ").append(toIndentedString(config)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 403f659c617fc18855101c91dbfce8477ec8696a Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:38 +0800 Subject: [PATCH 068/235] feat: update --- ...soleAdminListDeployableInstancesForms.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesForms.java new file mode 100644 index 000000000..d56596fb8 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesForms.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListDeployableInstancesForms + */ +public class ConsoleAdminListDeployableInstancesForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String versionId = null; + + + private String projectId = null; + + + private Long pageSize = null; + + + private Long pageNumber = null; + + + public ConsoleAdminListDeployableInstancesForms versionId(String versionId) { + this.versionId = versionId; + return this; + } + + /** + * Get versionId + * @return versionId + **/ + public String getVersionId() { + return versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + } + + public ConsoleAdminListDeployableInstancesForms projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public ConsoleAdminListDeployableInstancesForms pageSize(Long pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Get pageSize + * @return pageSize + **/ + public Long getPageSize() { + return pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + } + + public ConsoleAdminListDeployableInstancesForms pageNumber(Long pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Get pageNumber + * @return pageNumber + **/ + public Long getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Long pageNumber) { + this.pageNumber = pageNumber; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListDeployableInstancesForms consoleAdminListDeployableInstancesForms = (ConsoleAdminListDeployableInstancesForms) o; + return Objects.equals(this.versionId, consoleAdminListDeployableInstancesForms.versionId) && + Objects.equals(this.projectId, consoleAdminListDeployableInstancesForms.projectId) && + Objects.equals(this.pageSize, consoleAdminListDeployableInstancesForms.pageSize) && + Objects.equals(this.pageNumber, consoleAdminListDeployableInstancesForms.pageNumber); + } + + @Override + public int hashCode() { + return Objects.hash(versionId, projectId, pageSize, pageNumber); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListDeployableInstancesForms {"); + + sb.append(",versionId: ").append(toIndentedString(versionId)); + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append(",pageSize: ").append(toIndentedString(pageSize)); + sb.append(",pageNumber: ").append(toIndentedString(pageNumber)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 98f104cf49d9d67be8693c0e5e9edb23daa872c5 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:39 +0800 Subject: [PATCH 069/235] feat: update --- ...oleAdminListDeployableInstancesResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesResult.java new file mode 100644 index 000000000..f98ee9445 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListDeployableInstancesResultModel; +import java.io.Serializable; +/** + * ConsoleAdminListDeployableInstancesResult + */ +public class ConsoleAdminListDeployableInstancesResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminListDeployableInstancesResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminListDeployableInstancesResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminListDeployableInstancesResult model(ConsoleAdminListDeployableInstancesResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminListDeployableInstancesResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminListDeployableInstancesResultModel model) { + this.model = model; + } + + public ConsoleAdminListDeployableInstancesResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminListDeployableInstancesResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListDeployableInstancesResult consoleAdminListDeployableInstancesResult = (ConsoleAdminListDeployableInstancesResult) o; + return Objects.equals(this.success, consoleAdminListDeployableInstancesResult.success) && + Objects.equals(this.model, consoleAdminListDeployableInstancesResult.model) && + Objects.equals(this.msgInfo, consoleAdminListDeployableInstancesResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminListDeployableInstancesResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListDeployableInstancesResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From c42c7f8901354c00fae8d5c4888c20731286f1e8 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:40 +0800 Subject: [PATCH 070/235] feat: update --- ...minListDeployableInstancesResultModel.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesResultModel.java new file mode 100644 index 000000000..998f039b3 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesResultModel.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListDeployableInstancesResultModelDataList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminListDeployableInstancesResultModel + */ +public class ConsoleAdminListDeployableInstancesResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Long pageNumber = null; + + + private List dataList = null; + + + private Long pageSize = null; + + + private Long totalCount = null; + + + public ConsoleAdminListDeployableInstancesResultModel pageNumber(Long pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Get pageNumber + * @return pageNumber + **/ + public Long getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Long pageNumber) { + this.pageNumber = pageNumber; + } + + public ConsoleAdminListDeployableInstancesResultModel dataList(List dataList) { + this.dataList = dataList; + return this; + } + + public ConsoleAdminListDeployableInstancesResultModel addDataListItem(ConsoleAdminListDeployableInstancesResultModelDataList dataListItem) { + if (this.dataList == null) { + this.dataList = new ArrayList(); + } + this.dataList.add(dataListItem); + return this; + } + + /** + * Get dataList + * @return dataList + **/ + public List getDataList() { + return dataList; + } + + public void setDataList(List dataList) { + this.dataList = dataList; + } + + public ConsoleAdminListDeployableInstancesResultModel pageSize(Long pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Get pageSize + * @return pageSize + **/ + public Long getPageSize() { + return pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + } + + public ConsoleAdminListDeployableInstancesResultModel totalCount(Long totalCount) { + this.totalCount = totalCount; + return this; + } + + /** + * Get totalCount + * @return totalCount + **/ + public Long getTotalCount() { + return totalCount; + } + + public void setTotalCount(Long totalCount) { + this.totalCount = totalCount; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListDeployableInstancesResultModel consoleAdminListDeployableInstancesResultModel = (ConsoleAdminListDeployableInstancesResultModel) o; + return Objects.equals(this.pageNumber, consoleAdminListDeployableInstancesResultModel.pageNumber) && + Objects.equals(this.dataList, consoleAdminListDeployableInstancesResultModel.dataList) && + Objects.equals(this.pageSize, consoleAdminListDeployableInstancesResultModel.pageSize) && + Objects.equals(this.totalCount, consoleAdminListDeployableInstancesResultModel.totalCount); + } + + @Override + public int hashCode() { + return Objects.hash(pageNumber, dataList, pageSize, totalCount); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListDeployableInstancesResultModel {"); + + sb.append(",pageNumber: ").append(toIndentedString(pageNumber)); + sb.append(",dataList: ").append(toIndentedString(dataList)); + sb.append(",pageSize: ").append(toIndentedString(pageSize)); + sb.append(",totalCount: ").append(toIndentedString(totalCount)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From d20942b924b1109abe838b0bd3219253e3ab2194 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:42 +0800 Subject: [PATCH 071/235] feat: update --- ...eployableInstancesResultModelDataList.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesResultModelDataList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesResultModelDataList.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesResultModelDataList.java new file mode 100644 index 000000000..65f7a28f5 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListDeployableInstancesResultModelDataList.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListDeployableInstancesResultModelDataList + */ +public class ConsoleAdminListDeployableInstancesResultModelDataList implements Serializable { + private static final long serialVersionUID = 1L; + + private String cloudGameInstanceId = null; + + + private String cloudGameInstanceName = null; + + + public ConsoleAdminListDeployableInstancesResultModelDataList cloudGameInstanceId(String cloudGameInstanceId) { + this.cloudGameInstanceId = cloudGameInstanceId; + return this; + } + + /** + * Get cloudGameInstanceId + * @return cloudGameInstanceId + **/ + public String getCloudGameInstanceId() { + return cloudGameInstanceId; + } + + public void setCloudGameInstanceId(String cloudGameInstanceId) { + this.cloudGameInstanceId = cloudGameInstanceId; + } + + public ConsoleAdminListDeployableInstancesResultModelDataList cloudGameInstanceName(String cloudGameInstanceName) { + this.cloudGameInstanceName = cloudGameInstanceName; + return this; + } + + /** + * Get cloudGameInstanceName + * @return cloudGameInstanceName + **/ + public String getCloudGameInstanceName() { + return cloudGameInstanceName; + } + + public void setCloudGameInstanceName(String cloudGameInstanceName) { + this.cloudGameInstanceName = cloudGameInstanceName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListDeployableInstancesResultModelDataList consoleAdminListDeployableInstancesResultModelDataList = (ConsoleAdminListDeployableInstancesResultModelDataList) o; + return Objects.equals(this.cloudGameInstanceId, consoleAdminListDeployableInstancesResultModelDataList.cloudGameInstanceId) && + Objects.equals(this.cloudGameInstanceName, consoleAdminListDeployableInstancesResultModelDataList.cloudGameInstanceName); + } + + @Override + public int hashCode() { + return Objects.hash(cloudGameInstanceId, cloudGameInstanceName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListDeployableInstancesResultModelDataList {"); + + sb.append(",cloudGameInstanceId: ").append(toIndentedString(cloudGameInstanceId)); + sb.append(",cloudGameInstanceName: ").append(toIndentedString(cloudGameInstanceName)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 79a1e3b60fc8cacd05dbcde14b05df812cc97408 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:43 +0800 Subject: [PATCH 072/235] feat: update --- ...inListGameDeployDetailsOfProjectForms.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectForms.java new file mode 100644 index 000000000..69259ab6e --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectForms.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListGameDeployDetailsOfProjectForms + */ +public class ConsoleAdminListGameDeployDetailsOfProjectForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String projectId = null; + + + private String gameId = null; + + + public ConsoleAdminListGameDeployDetailsOfProjectForms projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public ConsoleAdminListGameDeployDetailsOfProjectForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListGameDeployDetailsOfProjectForms consoleAdminListGameDeployDetailsOfProjectForms = (ConsoleAdminListGameDeployDetailsOfProjectForms) o; + return Objects.equals(this.projectId, consoleAdminListGameDeployDetailsOfProjectForms.projectId) && + Objects.equals(this.gameId, consoleAdminListGameDeployDetailsOfProjectForms.gameId); + } + + @Override + public int hashCode() { + return Objects.hash(projectId, gameId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListGameDeployDetailsOfProjectForms {"); + + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 53aa76bfaabbd93cd681c62ce62fa3c6155e1e9c Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:44 +0800 Subject: [PATCH 073/235] feat: update --- ...nListGameDeployDetailsOfProjectResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectResult.java new file mode 100644 index 000000000..5f3931d4f --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListGameDeployDetailsOfProjectResultModel; +import java.io.Serializable; +/** + * ConsoleAdminListGameDeployDetailsOfProjectResult + */ +public class ConsoleAdminListGameDeployDetailsOfProjectResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminListGameDeployDetailsOfProjectResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminListGameDeployDetailsOfProjectResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminListGameDeployDetailsOfProjectResult model(ConsoleAdminListGameDeployDetailsOfProjectResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminListGameDeployDetailsOfProjectResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminListGameDeployDetailsOfProjectResultModel model) { + this.model = model; + } + + public ConsoleAdminListGameDeployDetailsOfProjectResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminListGameDeployDetailsOfProjectResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListGameDeployDetailsOfProjectResult consoleAdminListGameDeployDetailsOfProjectResult = (ConsoleAdminListGameDeployDetailsOfProjectResult) o; + return Objects.equals(this.success, consoleAdminListGameDeployDetailsOfProjectResult.success) && + Objects.equals(this.model, consoleAdminListGameDeployDetailsOfProjectResult.model) && + Objects.equals(this.msgInfo, consoleAdminListGameDeployDetailsOfProjectResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminListGameDeployDetailsOfProjectResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListGameDeployDetailsOfProjectResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From e04037e659c7fa03a5c74f56fe5315607e3f4fee Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:46 +0800 Subject: [PATCH 074/235] feat: update --- ...GameDeployDetailsOfProjectResultModel.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectResultModel.java new file mode 100644 index 000000000..5810a307d --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectResultModel.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminListGameDeployDetailsOfProjectResultModel + */ +public class ConsoleAdminListGameDeployDetailsOfProjectResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String nextToken = null; + + + private Integer maxResults = null; + + + private List dataList = null; + + + private Long count = null; + + + public ConsoleAdminListGameDeployDetailsOfProjectResultModel nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ConsoleAdminListGameDeployDetailsOfProjectResultModel maxResults(Integer maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Get maxResults + * @return maxResults + **/ + public Integer getMaxResults() { + return maxResults; + } + + public void setMaxResults(Integer maxResults) { + this.maxResults = maxResults; + } + + public ConsoleAdminListGameDeployDetailsOfProjectResultModel dataList(List dataList) { + this.dataList = dataList; + return this; + } + + public ConsoleAdminListGameDeployDetailsOfProjectResultModel addDataListItem(ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList dataListItem) { + if (this.dataList == null) { + this.dataList = new ArrayList(); + } + this.dataList.add(dataListItem); + return this; + } + + /** + * Get dataList + * @return dataList + **/ + public List getDataList() { + return dataList; + } + + public void setDataList(List dataList) { + this.dataList = dataList; + } + + public ConsoleAdminListGameDeployDetailsOfProjectResultModel count(Long count) { + this.count = count; + return this; + } + + /** + * Get count + * @return count + **/ + public Long getCount() { + return count; + } + + public void setCount(Long count) { + this.count = count; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListGameDeployDetailsOfProjectResultModel consoleAdminListGameDeployDetailsOfProjectResultModel = (ConsoleAdminListGameDeployDetailsOfProjectResultModel) o; + return Objects.equals(this.nextToken, consoleAdminListGameDeployDetailsOfProjectResultModel.nextToken) && + Objects.equals(this.maxResults, consoleAdminListGameDeployDetailsOfProjectResultModel.maxResults) && + Objects.equals(this.dataList, consoleAdminListGameDeployDetailsOfProjectResultModel.dataList) && + Objects.equals(this.count, consoleAdminListGameDeployDetailsOfProjectResultModel.count); + } + + @Override + public int hashCode() { + return Objects.hash(nextToken, maxResults, dataList, count); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListGameDeployDetailsOfProjectResultModel {"); + + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append(",maxResults: ").append(toIndentedString(maxResults)); + sb.append(",dataList: ").append(toIndentedString(dataList)); + sb.append(",count: ").append(toIndentedString(count)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 8c7aa981bc4bffc71d4ac070163d90136d1eaba3 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:47 +0800 Subject: [PATCH 075/235] feat: update --- ...oyDetailsOfProjectResultModelDataList.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList.java new file mode 100644 index 000000000..361465cd2 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList + */ +public class ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList implements Serializable { + private static final long serialVersionUID = 1L; + + private String versionId = null; + + + private String autoActiveStatus = null; + + + private String versionName = null; + + + private String deployStatus = null; + + + public ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList versionId(String versionId) { + this.versionId = versionId; + return this; + } + + /** + * Get versionId + * @return versionId + **/ + public String getVersionId() { + return versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + } + + public ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList autoActiveStatus(String autoActiveStatus) { + this.autoActiveStatus = autoActiveStatus; + return this; + } + + /** + * Get autoActiveStatus + * @return autoActiveStatus + **/ + public String getAutoActiveStatus() { + return autoActiveStatus; + } + + public void setAutoActiveStatus(String autoActiveStatus) { + this.autoActiveStatus = autoActiveStatus; + } + + public ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList versionName(String versionName) { + this.versionName = versionName; + return this; + } + + /** + * Get versionName + * @return versionName + **/ + public String getVersionName() { + return versionName; + } + + public void setVersionName(String versionName) { + this.versionName = versionName; + } + + public ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList deployStatus(String deployStatus) { + this.deployStatus = deployStatus; + return this; + } + + /** + * Get deployStatus + * @return deployStatus + **/ + public String getDeployStatus() { + return deployStatus; + } + + public void setDeployStatus(String deployStatus) { + this.deployStatus = deployStatus; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList consoleAdminListGameDeployDetailsOfProjectResultModelDataList = (ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList) o; + return Objects.equals(this.versionId, consoleAdminListGameDeployDetailsOfProjectResultModelDataList.versionId) && + Objects.equals(this.autoActiveStatus, consoleAdminListGameDeployDetailsOfProjectResultModelDataList.autoActiveStatus) && + Objects.equals(this.versionName, consoleAdminListGameDeployDetailsOfProjectResultModelDataList.versionName) && + Objects.equals(this.deployStatus, consoleAdminListGameDeployDetailsOfProjectResultModelDataList.deployStatus); + } + + @Override + public int hashCode() { + return Objects.hash(versionId, autoActiveStatus, versionName, deployStatus); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListGameDeployDetailsOfProjectResultModelDataList {"); + + sb.append(",versionId: ").append(toIndentedString(versionId)); + sb.append(",autoActiveStatus: ").append(toIndentedString(autoActiveStatus)); + sb.append(",versionName: ").append(toIndentedString(versionName)); + sb.append(",deployStatus: ").append(toIndentedString(deployStatus)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 434c7c4151f043aacb334012a5b605bdc2fad184 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:48 +0800 Subject: [PATCH 076/235] feat: update --- .../ConsoleAdminListGameVersionsForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsForms.java new file mode 100644 index 000000000..5410d65e5 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListGameVersionsForms + */ +public class ConsoleAdminListGameVersionsForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String nextToken = null; + + + private Integer maxResults = null; + + + private String gameId = null; + + + public ConsoleAdminListGameVersionsForms nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ConsoleAdminListGameVersionsForms maxResults(Integer maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Get maxResults + * @return maxResults + **/ + public Integer getMaxResults() { + return maxResults; + } + + public void setMaxResults(Integer maxResults) { + this.maxResults = maxResults; + } + + public ConsoleAdminListGameVersionsForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListGameVersionsForms consoleAdminListGameVersionsForms = (ConsoleAdminListGameVersionsForms) o; + return Objects.equals(this.nextToken, consoleAdminListGameVersionsForms.nextToken) && + Objects.equals(this.maxResults, consoleAdminListGameVersionsForms.maxResults) && + Objects.equals(this.gameId, consoleAdminListGameVersionsForms.gameId); + } + + @Override + public int hashCode() { + return Objects.hash(nextToken, maxResults, gameId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListGameVersionsForms {"); + + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append(",maxResults: ").append(toIndentedString(maxResults)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 29447f2e3f67713aadf7ee0007aa77b860cf05ec Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:49 +0800 Subject: [PATCH 077/235] feat: update --- .../ConsoleAdminListGameVersionsResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsResult.java new file mode 100644 index 000000000..7e908b0b0 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListGameVersionsResultModel; +import java.io.Serializable; +/** + * ConsoleAdminListGameVersionsResult + */ +public class ConsoleAdminListGameVersionsResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminListGameVersionsResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminListGameVersionsResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminListGameVersionsResult model(ConsoleAdminListGameVersionsResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminListGameVersionsResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminListGameVersionsResultModel model) { + this.model = model; + } + + public ConsoleAdminListGameVersionsResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminListGameVersionsResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListGameVersionsResult consoleAdminListGameVersionsResult = (ConsoleAdminListGameVersionsResult) o; + return Objects.equals(this.success, consoleAdminListGameVersionsResult.success) && + Objects.equals(this.model, consoleAdminListGameVersionsResult.model) && + Objects.equals(this.msgInfo, consoleAdminListGameVersionsResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminListGameVersionsResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListGameVersionsResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 14cfe5f4b180ced80a14be83b1f714a2840a5a9a Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:51 +0800 Subject: [PATCH 078/235] feat: update --- ...nsoleAdminListGameVersionsResultModel.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsResultModel.java new file mode 100644 index 000000000..6cd36135a --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsResultModel.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListGameVersionsResultModelDataList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminListGameVersionsResultModel + */ +public class ConsoleAdminListGameVersionsResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer maxResults = null; + + + private String nextToken = null; + + + private List dataList = null; + + + private Long count = null; + + + public ConsoleAdminListGameVersionsResultModel maxResults(Integer maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Get maxResults + * @return maxResults + **/ + public Integer getMaxResults() { + return maxResults; + } + + public void setMaxResults(Integer maxResults) { + this.maxResults = maxResults; + } + + public ConsoleAdminListGameVersionsResultModel nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ConsoleAdminListGameVersionsResultModel dataList(List dataList) { + this.dataList = dataList; + return this; + } + + public ConsoleAdminListGameVersionsResultModel addDataListItem(ConsoleAdminListGameVersionsResultModelDataList dataListItem) { + if (this.dataList == null) { + this.dataList = new ArrayList(); + } + this.dataList.add(dataListItem); + return this; + } + + /** + * Get dataList + * @return dataList + **/ + public List getDataList() { + return dataList; + } + + public void setDataList(List dataList) { + this.dataList = dataList; + } + + public ConsoleAdminListGameVersionsResultModel count(Long count) { + this.count = count; + return this; + } + + /** + * Get count + * @return count + **/ + public Long getCount() { + return count; + } + + public void setCount(Long count) { + this.count = count; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListGameVersionsResultModel consoleAdminListGameVersionsResultModel = (ConsoleAdminListGameVersionsResultModel) o; + return Objects.equals(this.maxResults, consoleAdminListGameVersionsResultModel.maxResults) && + Objects.equals(this.nextToken, consoleAdminListGameVersionsResultModel.nextToken) && + Objects.equals(this.dataList, consoleAdminListGameVersionsResultModel.dataList) && + Objects.equals(this.count, consoleAdminListGameVersionsResultModel.count); + } + + @Override + public int hashCode() { + return Objects.hash(maxResults, nextToken, dataList, count); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListGameVersionsResultModel {"); + + sb.append(",maxResults: ").append(toIndentedString(maxResults)); + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append(",dataList: ").append(toIndentedString(dataList)); + sb.append(",count: ").append(toIndentedString(count)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From d31a910f19b311f77269aa04caa2eb205b973c69 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:52 +0800 Subject: [PATCH 079/235] feat: update --- ...inListGameVersionsResultModelDataList.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsResultModelDataList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsResultModelDataList.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsResultModelDataList.java new file mode 100644 index 000000000..bfe7d5f31 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGameVersionsResultModelDataList.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListGameVersionsResultModelDataList + */ +public class ConsoleAdminListGameVersionsResultModelDataList implements Serializable { + private static final long serialVersionUID = 1L; + + private String versionId = null; + + + private String adaptState = null; + + + private Long adaptFinishTime = null; + + + private String versionName = null; + + + public ConsoleAdminListGameVersionsResultModelDataList versionId(String versionId) { + this.versionId = versionId; + return this; + } + + /** + * Get versionId + * @return versionId + **/ + public String getVersionId() { + return versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + } + + public ConsoleAdminListGameVersionsResultModelDataList adaptState(String adaptState) { + this.adaptState = adaptState; + return this; + } + + /** + * Get adaptState + * @return adaptState + **/ + public String getAdaptState() { + return adaptState; + } + + public void setAdaptState(String adaptState) { + this.adaptState = adaptState; + } + + public ConsoleAdminListGameVersionsResultModelDataList adaptFinishTime(Long adaptFinishTime) { + this.adaptFinishTime = adaptFinishTime; + return this; + } + + /** + * Get adaptFinishTime + * @return adaptFinishTime + **/ + public Long getAdaptFinishTime() { + return adaptFinishTime; + } + + public void setAdaptFinishTime(Long adaptFinishTime) { + this.adaptFinishTime = adaptFinishTime; + } + + public ConsoleAdminListGameVersionsResultModelDataList versionName(String versionName) { + this.versionName = versionName; + return this; + } + + /** + * Get versionName + * @return versionName + **/ + public String getVersionName() { + return versionName; + } + + public void setVersionName(String versionName) { + this.versionName = versionName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListGameVersionsResultModelDataList consoleAdminListGameVersionsResultModelDataList = (ConsoleAdminListGameVersionsResultModelDataList) o; + return Objects.equals(this.versionId, consoleAdminListGameVersionsResultModelDataList.versionId) && + Objects.equals(this.adaptState, consoleAdminListGameVersionsResultModelDataList.adaptState) && + Objects.equals(this.adaptFinishTime, consoleAdminListGameVersionsResultModelDataList.adaptFinishTime) && + Objects.equals(this.versionName, consoleAdminListGameVersionsResultModelDataList.versionName); + } + + @Override + public int hashCode() { + return Objects.hash(versionId, adaptState, adaptFinishTime, versionName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListGameVersionsResultModelDataList {"); + + sb.append(",versionId: ").append(toIndentedString(versionId)); + sb.append(",adaptState: ").append(toIndentedString(adaptState)); + sb.append(",adaptFinishTime: ").append(toIndentedString(adaptFinishTime)); + sb.append(",versionName: ").append(toIndentedString(versionName)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From a5e5367ec96efa07359a500162badaec3d3c6dcc Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:53 +0800 Subject: [PATCH 080/235] feat: update --- .../model/ConsoleAdminListGamesForms.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesForms.java new file mode 100644 index 000000000..177e40346 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesForms.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListGamesForms + */ +public class ConsoleAdminListGamesForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String nextToken = null; + + + private Integer maxResults = null; + + + public ConsoleAdminListGamesForms nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ConsoleAdminListGamesForms maxResults(Integer maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Get maxResults + * @return maxResults + **/ + public Integer getMaxResults() { + return maxResults; + } + + public void setMaxResults(Integer maxResults) { + this.maxResults = maxResults; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListGamesForms consoleAdminListGamesForms = (ConsoleAdminListGamesForms) o; + return Objects.equals(this.nextToken, consoleAdminListGamesForms.nextToken) && + Objects.equals(this.maxResults, consoleAdminListGamesForms.maxResults); + } + + @Override + public int hashCode() { + return Objects.hash(nextToken, maxResults); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListGamesForms {"); + + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append(",maxResults: ").append(toIndentedString(maxResults)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 0e6fdd38995f4cd9d9f142a4a9d630f6ed64ddb1 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:55 +0800 Subject: [PATCH 081/235] feat: update --- .../model/ConsoleAdminListGamesResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesResult.java new file mode 100644 index 000000000..736b826d7 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListGamesResultModel; +import java.io.Serializable; +/** + * ConsoleAdminListGamesResult + */ +public class ConsoleAdminListGamesResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminListGamesResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminListGamesResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminListGamesResult model(ConsoleAdminListGamesResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminListGamesResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminListGamesResultModel model) { + this.model = model; + } + + public ConsoleAdminListGamesResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminListGamesResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListGamesResult consoleAdminListGamesResult = (ConsoleAdminListGamesResult) o; + return Objects.equals(this.success, consoleAdminListGamesResult.success) && + Objects.equals(this.model, consoleAdminListGamesResult.model) && + Objects.equals(this.msgInfo, consoleAdminListGamesResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminListGamesResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListGamesResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 540d25af8f9531e8458f6a562a5835f35d57c8d5 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:56 +0800 Subject: [PATCH 082/235] feat: update --- .../ConsoleAdminListGamesResultModel.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesResultModel.java new file mode 100644 index 000000000..3fd045dfc --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesResultModel.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListGamesResultModelDataList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminListGamesResultModel + */ +public class ConsoleAdminListGamesResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer maxResults = null; + + + private String nextToken = null; + + + private List dataList = null; + + + private String count = null; + + + public ConsoleAdminListGamesResultModel maxResults(Integer maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Get maxResults + * @return maxResults + **/ + public Integer getMaxResults() { + return maxResults; + } + + public void setMaxResults(Integer maxResults) { + this.maxResults = maxResults; + } + + public ConsoleAdminListGamesResultModel nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ConsoleAdminListGamesResultModel dataList(List dataList) { + this.dataList = dataList; + return this; + } + + public ConsoleAdminListGamesResultModel addDataListItem(ConsoleAdminListGamesResultModelDataList dataListItem) { + if (this.dataList == null) { + this.dataList = new ArrayList(); + } + this.dataList.add(dataListItem); + return this; + } + + /** + * Get dataList + * @return dataList + **/ + public List getDataList() { + return dataList; + } + + public void setDataList(List dataList) { + this.dataList = dataList; + } + + public ConsoleAdminListGamesResultModel count(String count) { + this.count = count; + return this; + } + + /** + * Get count + * @return count + **/ + public String getCount() { + return count; + } + + public void setCount(String count) { + this.count = count; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListGamesResultModel consoleAdminListGamesResultModel = (ConsoleAdminListGamesResultModel) o; + return Objects.equals(this.maxResults, consoleAdminListGamesResultModel.maxResults) && + Objects.equals(this.nextToken, consoleAdminListGamesResultModel.nextToken) && + Objects.equals(this.dataList, consoleAdminListGamesResultModel.dataList) && + Objects.equals(this.count, consoleAdminListGamesResultModel.count); + } + + @Override + public int hashCode() { + return Objects.hash(maxResults, nextToken, dataList, count); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListGamesResultModel {"); + + sb.append(",maxResults: ").append(toIndentedString(maxResults)); + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append(",dataList: ").append(toIndentedString(dataList)); + sb.append(",count: ").append(toIndentedString(count)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From ee855309ef68a703cb1ca9d8615a2add290af7d9 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:57 +0800 Subject: [PATCH 083/235] feat: update --- ...soleAdminListGamesResultModelDataList.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesResultModelDataList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesResultModelDataList.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesResultModelDataList.java new file mode 100644 index 000000000..153d25a16 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListGamesResultModelDataList.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListGamesResultModelDataList + */ +public class ConsoleAdminListGamesResultModelDataList implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String gameName = null; + + + private Long platformType = null; + + + public ConsoleAdminListGamesResultModelDataList gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public ConsoleAdminListGamesResultModelDataList gameName(String gameName) { + this.gameName = gameName; + return this; + } + + /** + * Get gameName + * @return gameName + **/ + public String getGameName() { + return gameName; + } + + public void setGameName(String gameName) { + this.gameName = gameName; + } + + public ConsoleAdminListGamesResultModelDataList platformType(Long platformType) { + this.platformType = platformType; + return this; + } + + /** + * Get platformType + * @return platformType + **/ + public Long getPlatformType() { + return platformType; + } + + public void setPlatformType(Long platformType) { + this.platformType = platformType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListGamesResultModelDataList consoleAdminListGamesResultModelDataList = (ConsoleAdminListGamesResultModelDataList) o; + return Objects.equals(this.gameId, consoleAdminListGamesResultModelDataList.gameId) && + Objects.equals(this.gameName, consoleAdminListGamesResultModelDataList.gameName) && + Objects.equals(this.platformType, consoleAdminListGamesResultModelDataList.platformType); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, gameName, platformType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListGamesResultModelDataList {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",gameName: ").append(toIndentedString(gameName)); + sb.append(",platformType: ").append(toIndentedString(platformType)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From cce0b1e8cb10e0085638439690d7b14ba8b2a173 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:11:59 +0800 Subject: [PATCH 084/235] feat: update --- ...nsoleAdminListInstancesOfProjectForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectForms.java new file mode 100644 index 000000000..4bedc8283 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListInstancesOfProjectForms + */ +public class ConsoleAdminListInstancesOfProjectForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String nextToken = null; + + + private Integer maxResult = null; + + + private String projectId = null; + + + public ConsoleAdminListInstancesOfProjectForms nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ConsoleAdminListInstancesOfProjectForms maxResult(Integer maxResult) { + this.maxResult = maxResult; + return this; + } + + /** + * Get maxResult + * @return maxResult + **/ + public Integer getMaxResult() { + return maxResult; + } + + public void setMaxResult(Integer maxResult) { + this.maxResult = maxResult; + } + + public ConsoleAdminListInstancesOfProjectForms projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListInstancesOfProjectForms consoleAdminListInstancesOfProjectForms = (ConsoleAdminListInstancesOfProjectForms) o; + return Objects.equals(this.nextToken, consoleAdminListInstancesOfProjectForms.nextToken) && + Objects.equals(this.maxResult, consoleAdminListInstancesOfProjectForms.maxResult) && + Objects.equals(this.projectId, consoleAdminListInstancesOfProjectForms.projectId); + } + + @Override + public int hashCode() { + return Objects.hash(nextToken, maxResult, projectId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListInstancesOfProjectForms {"); + + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append(",maxResult: ").append(toIndentedString(maxResult)); + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From fdfffb87919e4f229eaaf9d7ba62fc16bce6c6e0 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:00 +0800 Subject: [PATCH 085/235] feat: update --- ...soleAdminListInstancesOfProjectResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectResult.java new file mode 100644 index 000000000..b33ef07e0 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListInstancesOfProjectResultModel; +import java.io.Serializable; +/** + * ConsoleAdminListInstancesOfProjectResult + */ +public class ConsoleAdminListInstancesOfProjectResult implements Serializable { + private static final long serialVersionUID = 1L; + + private String success = null; + + + private ConsoleAdminListInstancesOfProjectResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminListInstancesOfProjectResult success(String success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public String getSuccess() { + return success; + } + + public void setSuccess(String success) { + this.success = success; + } + + public ConsoleAdminListInstancesOfProjectResult model(ConsoleAdminListInstancesOfProjectResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminListInstancesOfProjectResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminListInstancesOfProjectResultModel model) { + this.model = model; + } + + public ConsoleAdminListInstancesOfProjectResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminListInstancesOfProjectResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListInstancesOfProjectResult consoleAdminListInstancesOfProjectResult = (ConsoleAdminListInstancesOfProjectResult) o; + return Objects.equals(this.success, consoleAdminListInstancesOfProjectResult.success) && + Objects.equals(this.model, consoleAdminListInstancesOfProjectResult.model) && + Objects.equals(this.msgInfo, consoleAdminListInstancesOfProjectResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminListInstancesOfProjectResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListInstancesOfProjectResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 87bdc9bddbf65d1d3c7a19c84de81c745bf694e0 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:01 +0800 Subject: [PATCH 086/235] feat: update --- ...dminListInstancesOfProjectResultModel.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectResultModel.java new file mode 100644 index 000000000..0e8d880b0 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectResultModel.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListInstancesOfProjectResultModelDataList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminListInstancesOfProjectResultModel + */ +public class ConsoleAdminListInstancesOfProjectResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer maxResult = null; + + + private String nextToken = null; + + + private List dataList = null; + + + private Integer count = null; + + + public ConsoleAdminListInstancesOfProjectResultModel maxResult(Integer maxResult) { + this.maxResult = maxResult; + return this; + } + + /** + * Get maxResult + * @return maxResult + **/ + public Integer getMaxResult() { + return maxResult; + } + + public void setMaxResult(Integer maxResult) { + this.maxResult = maxResult; + } + + public ConsoleAdminListInstancesOfProjectResultModel nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ConsoleAdminListInstancesOfProjectResultModel dataList(List dataList) { + this.dataList = dataList; + return this; + } + + public ConsoleAdminListInstancesOfProjectResultModel addDataListItem(ConsoleAdminListInstancesOfProjectResultModelDataList dataListItem) { + if (this.dataList == null) { + this.dataList = new ArrayList(); + } + this.dataList.add(dataListItem); + return this; + } + + /** + * Get dataList + * @return dataList + **/ + public List getDataList() { + return dataList; + } + + public void setDataList(List dataList) { + this.dataList = dataList; + } + + public ConsoleAdminListInstancesOfProjectResultModel count(Integer count) { + this.count = count; + return this; + } + + /** + * Get count + * @return count + **/ + public Integer getCount() { + return count; + } + + public void setCount(Integer count) { + this.count = count; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListInstancesOfProjectResultModel consoleAdminListInstancesOfProjectResultModel = (ConsoleAdminListInstancesOfProjectResultModel) o; + return Objects.equals(this.maxResult, consoleAdminListInstancesOfProjectResultModel.maxResult) && + Objects.equals(this.nextToken, consoleAdminListInstancesOfProjectResultModel.nextToken) && + Objects.equals(this.dataList, consoleAdminListInstancesOfProjectResultModel.dataList) && + Objects.equals(this.count, consoleAdminListInstancesOfProjectResultModel.count); + } + + @Override + public int hashCode() { + return Objects.hash(maxResult, nextToken, dataList, count); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListInstancesOfProjectResultModel {"); + + sb.append(",maxResult: ").append(toIndentedString(maxResult)); + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append(",dataList: ").append(toIndentedString(dataList)); + sb.append(",count: ").append(toIndentedString(count)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 03642d6278b28ee90fefc213bfac42728e7f6309 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:03 +0800 Subject: [PATCH 087/235] feat: update --- ...InstancesOfProjectResultModelDataList.java | 386 ++++++++++++++++++ 1 file changed, 386 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectResultModelDataList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectResultModelDataList.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectResultModelDataList.java new file mode 100644 index 000000000..cc55e931a --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListInstancesOfProjectResultModelDataList.java @@ -0,0 +1,386 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListInstancesOfProjectResultModelDataList + */ +public class ConsoleAdminListInstancesOfProjectResultModelDataList implements Serializable { + private static final long serialVersionUID = 1L; + + private String commoditySpecificationCnName = null; + + + private String bandwidthChargeType = null; + + + private Integer effectiveTime = null; + + + private String platformType = null; + + + private String paymentType = null; + + + private String token = null; + + + private Integer expireTime = null; + + + private String commodityInstanceName = null; + + + private String commodityInstanceId = null; + + + private String region = null; + + + private String projectName = null; + + + private String projectId = null; + + + private String containerCount = null; + + + private String status = null; + + + private String tradeChannel = null; + + + public ConsoleAdminListInstancesOfProjectResultModelDataList commoditySpecificationCnName(String commoditySpecificationCnName) { + this.commoditySpecificationCnName = commoditySpecificationCnName; + return this; + } + + /** + * Get commoditySpecificationCnName + * @return commoditySpecificationCnName + **/ + public String getCommoditySpecificationCnName() { + return commoditySpecificationCnName; + } + + public void setCommoditySpecificationCnName(String commoditySpecificationCnName) { + this.commoditySpecificationCnName = commoditySpecificationCnName; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList bandwidthChargeType(String bandwidthChargeType) { + this.bandwidthChargeType = bandwidthChargeType; + return this; + } + + /** + * Get bandwidthChargeType + * @return bandwidthChargeType + **/ + public String getBandwidthChargeType() { + return bandwidthChargeType; + } + + public void setBandwidthChargeType(String bandwidthChargeType) { + this.bandwidthChargeType = bandwidthChargeType; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList effectiveTime(Integer effectiveTime) { + this.effectiveTime = effectiveTime; + return this; + } + + /** + * Get effectiveTime + * @return effectiveTime + **/ + public Integer getEffectiveTime() { + return effectiveTime; + } + + public void setEffectiveTime(Integer effectiveTime) { + this.effectiveTime = effectiveTime; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList platformType(String platformType) { + this.platformType = platformType; + return this; + } + + /** + * Get platformType + * @return platformType + **/ + public String getPlatformType() { + return platformType; + } + + public void setPlatformType(String platformType) { + this.platformType = platformType; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList paymentType(String paymentType) { + this.paymentType = paymentType; + return this; + } + + /** + * Get paymentType + * @return paymentType + **/ + public String getPaymentType() { + return paymentType; + } + + public void setPaymentType(String paymentType) { + this.paymentType = paymentType; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList token(String token) { + this.token = token; + return this; + } + + /** + * Get token + * @return token + **/ + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList expireTime(Integer expireTime) { + this.expireTime = expireTime; + return this; + } + + /** + * Get expireTime + * @return expireTime + **/ + public Integer getExpireTime() { + return expireTime; + } + + public void setExpireTime(Integer expireTime) { + this.expireTime = expireTime; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList commodityInstanceName(String commodityInstanceName) { + this.commodityInstanceName = commodityInstanceName; + return this; + } + + /** + * Get commodityInstanceName + * @return commodityInstanceName + **/ + public String getCommodityInstanceName() { + return commodityInstanceName; + } + + public void setCommodityInstanceName(String commodityInstanceName) { + this.commodityInstanceName = commodityInstanceName; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList commodityInstanceId(String commodityInstanceId) { + this.commodityInstanceId = commodityInstanceId; + return this; + } + + /** + * Get commodityInstanceId + * @return commodityInstanceId + **/ + public String getCommodityInstanceId() { + return commodityInstanceId; + } + + public void setCommodityInstanceId(String commodityInstanceId) { + this.commodityInstanceId = commodityInstanceId; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList region(String region) { + this.region = region; + return this; + } + + /** + * Get region + * @return region + **/ + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList containerCount(String containerCount) { + this.containerCount = containerCount; + return this; + } + + /** + * Get containerCount + * @return containerCount + **/ + public String getContainerCount() { + return containerCount; + } + + public void setContainerCount(String containerCount) { + this.containerCount = containerCount; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList status(String status) { + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public ConsoleAdminListInstancesOfProjectResultModelDataList tradeChannel(String tradeChannel) { + this.tradeChannel = tradeChannel; + return this; + } + + /** + * Get tradeChannel + * @return tradeChannel + **/ + public String getTradeChannel() { + return tradeChannel; + } + + public void setTradeChannel(String tradeChannel) { + this.tradeChannel = tradeChannel; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListInstancesOfProjectResultModelDataList consoleAdminListInstancesOfProjectResultModelDataList = (ConsoleAdminListInstancesOfProjectResultModelDataList) o; + return Objects.equals(this.commoditySpecificationCnName, consoleAdminListInstancesOfProjectResultModelDataList.commoditySpecificationCnName) && + Objects.equals(this.bandwidthChargeType, consoleAdminListInstancesOfProjectResultModelDataList.bandwidthChargeType) && + Objects.equals(this.effectiveTime, consoleAdminListInstancesOfProjectResultModelDataList.effectiveTime) && + Objects.equals(this.platformType, consoleAdminListInstancesOfProjectResultModelDataList.platformType) && + Objects.equals(this.paymentType, consoleAdminListInstancesOfProjectResultModelDataList.paymentType) && + Objects.equals(this.token, consoleAdminListInstancesOfProjectResultModelDataList.token) && + Objects.equals(this.expireTime, consoleAdminListInstancesOfProjectResultModelDataList.expireTime) && + Objects.equals(this.commodityInstanceName, consoleAdminListInstancesOfProjectResultModelDataList.commodityInstanceName) && + Objects.equals(this.commodityInstanceId, consoleAdminListInstancesOfProjectResultModelDataList.commodityInstanceId) && + Objects.equals(this.region, consoleAdminListInstancesOfProjectResultModelDataList.region) && + Objects.equals(this.projectName, consoleAdminListInstancesOfProjectResultModelDataList.projectName) && + Objects.equals(this.projectId, consoleAdminListInstancesOfProjectResultModelDataList.projectId) && + Objects.equals(this.containerCount, consoleAdminListInstancesOfProjectResultModelDataList.containerCount) && + Objects.equals(this.status, consoleAdminListInstancesOfProjectResultModelDataList.status) && + Objects.equals(this.tradeChannel, consoleAdminListInstancesOfProjectResultModelDataList.tradeChannel); + } + + @Override + public int hashCode() { + return Objects.hash(commoditySpecificationCnName, bandwidthChargeType, effectiveTime, platformType, paymentType, token, expireTime, commodityInstanceName, commodityInstanceId, region, projectName, projectId, containerCount, status, tradeChannel); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListInstancesOfProjectResultModelDataList {"); + + sb.append(",commoditySpecificationCnName: ").append(toIndentedString(commoditySpecificationCnName)); + sb.append(",bandwidthChargeType: ").append(toIndentedString(bandwidthChargeType)); + sb.append(",effectiveTime: ").append(toIndentedString(effectiveTime)); + sb.append(",platformType: ").append(toIndentedString(platformType)); + sb.append(",paymentType: ").append(toIndentedString(paymentType)); + sb.append(",token: ").append(toIndentedString(token)); + sb.append(",expireTime: ").append(toIndentedString(expireTime)); + sb.append(",commodityInstanceName: ").append(toIndentedString(commodityInstanceName)); + sb.append(",commodityInstanceId: ").append(toIndentedString(commodityInstanceId)); + sb.append(",region: ").append(toIndentedString(region)); + sb.append(",projectName: ").append(toIndentedString(projectName)); + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append(",containerCount: ").append(toIndentedString(containerCount)); + sb.append(",status: ").append(toIndentedString(status)); + sb.append(",tradeChannel: ").append(toIndentedString(tradeChannel)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 673a0527e571aa8e00827b2e76b1df8cd72179c4 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:04 +0800 Subject: [PATCH 088/235] feat: update --- .../model/ConsoleAdminListMonthBillForms.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillForms.java new file mode 100644 index 000000000..5e15202b4 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillForms.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListMonthBillForms + */ +public class ConsoleAdminListMonthBillForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String accountingPeriodFrom = null; + + + private String accountingPeriodTo = null; + + + private Integer pageNumber = null; + + + private Integer pageSize = null; + + + public ConsoleAdminListMonthBillForms accountingPeriodFrom(String accountingPeriodFrom) { + this.accountingPeriodFrom = accountingPeriodFrom; + return this; + } + + /** + * Get accountingPeriodFrom + * @return accountingPeriodFrom + **/ + public String getAccountingPeriodFrom() { + return accountingPeriodFrom; + } + + public void setAccountingPeriodFrom(String accountingPeriodFrom) { + this.accountingPeriodFrom = accountingPeriodFrom; + } + + public ConsoleAdminListMonthBillForms accountingPeriodTo(String accountingPeriodTo) { + this.accountingPeriodTo = accountingPeriodTo; + return this; + } + + /** + * Get accountingPeriodTo + * @return accountingPeriodTo + **/ + public String getAccountingPeriodTo() { + return accountingPeriodTo; + } + + public void setAccountingPeriodTo(String accountingPeriodTo) { + this.accountingPeriodTo = accountingPeriodTo; + } + + public ConsoleAdminListMonthBillForms pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Get pageNumber + * @return pageNumber + **/ + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public ConsoleAdminListMonthBillForms pageSize(Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Get pageSize + * @return pageSize + **/ + public Integer getPageSize() { + return pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListMonthBillForms consoleAdminListMonthBillForms = (ConsoleAdminListMonthBillForms) o; + return Objects.equals(this.accountingPeriodFrom, consoleAdminListMonthBillForms.accountingPeriodFrom) && + Objects.equals(this.accountingPeriodTo, consoleAdminListMonthBillForms.accountingPeriodTo) && + Objects.equals(this.pageNumber, consoleAdminListMonthBillForms.pageNumber) && + Objects.equals(this.pageSize, consoleAdminListMonthBillForms.pageSize); + } + + @Override + public int hashCode() { + return Objects.hash(accountingPeriodFrom, accountingPeriodTo, pageNumber, pageSize); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListMonthBillForms {"); + + sb.append(",accountingPeriodFrom: ").append(toIndentedString(accountingPeriodFrom)); + sb.append(",accountingPeriodTo: ").append(toIndentedString(accountingPeriodTo)); + sb.append(",pageNumber: ").append(toIndentedString(pageNumber)); + sb.append(",pageSize: ").append(toIndentedString(pageSize)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 6afa68a3d6cb7aa983cdae5048b815e93f38e90b Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:05 +0800 Subject: [PATCH 089/235] feat: update --- .../ConsoleAdminListMonthBillResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillResult.java new file mode 100644 index 000000000..0efac057f --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListMonthBillResultModel; +import java.io.Serializable; +/** + * ConsoleAdminListMonthBillResult + */ +public class ConsoleAdminListMonthBillResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminListMonthBillResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminListMonthBillResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminListMonthBillResult model(ConsoleAdminListMonthBillResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminListMonthBillResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminListMonthBillResultModel model) { + this.model = model; + } + + public ConsoleAdminListMonthBillResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminListMonthBillResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListMonthBillResult consoleAdminListMonthBillResult = (ConsoleAdminListMonthBillResult) o; + return Objects.equals(this.success, consoleAdminListMonthBillResult.success) && + Objects.equals(this.model, consoleAdminListMonthBillResult.model) && + Objects.equals(this.msgInfo, consoleAdminListMonthBillResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminListMonthBillResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListMonthBillResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 88c3d98f042d3e9abc42fdd24b6854be1332ff2e Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:07 +0800 Subject: [PATCH 090/235] feat: update --- .../ConsoleAdminListMonthBillResultModel.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillResultModel.java new file mode 100644 index 000000000..0db342796 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillResultModel.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListMonthBillResultModelItems; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminListMonthBillResultModel + */ +public class ConsoleAdminListMonthBillResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer pageNumber = null; + + + private Integer pageSize = null; + + + private Long totalCount = null; + + + private List items = null; + + + public ConsoleAdminListMonthBillResultModel pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * 页码 + * @return pageNumber + **/ + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public ConsoleAdminListMonthBillResultModel pageSize(Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * 没页数量 + * @return pageSize + **/ + public Integer getPageSize() { + return pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public ConsoleAdminListMonthBillResultModel totalCount(Long totalCount) { + this.totalCount = totalCount; + return this; + } + + /** + * 总数量 + * @return totalCount + **/ + public Long getTotalCount() { + return totalCount; + } + + public void setTotalCount(Long totalCount) { + this.totalCount = totalCount; + } + + public ConsoleAdminListMonthBillResultModel items(List items) { + this.items = items; + return this; + } + + public ConsoleAdminListMonthBillResultModel addItemsItem(ConsoleAdminListMonthBillResultModelItems itemsItem) { + if (this.items == null) { + this.items = new ArrayList(); + } + this.items.add(itemsItem); + return this; + } + + /** + * 列表 + * @return items + **/ + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListMonthBillResultModel consoleAdminListMonthBillResultModel = (ConsoleAdminListMonthBillResultModel) o; + return Objects.equals(this.pageNumber, consoleAdminListMonthBillResultModel.pageNumber) && + Objects.equals(this.pageSize, consoleAdminListMonthBillResultModel.pageSize) && + Objects.equals(this.totalCount, consoleAdminListMonthBillResultModel.totalCount) && + Objects.equals(this.items, consoleAdminListMonthBillResultModel.items); + } + + @Override + public int hashCode() { + return Objects.hash(pageNumber, pageSize, totalCount, items); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListMonthBillResultModel {"); + + sb.append(",pageNumber: ").append(toIndentedString(pageNumber)); + sb.append(",pageSize: ").append(toIndentedString(pageSize)); + sb.append(",totalCount: ").append(toIndentedString(totalCount)); + sb.append(",items: ").append(toIndentedString(items)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 57b5cb4eacb921bac9ea279ce71a0a270f9809e2 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:08 +0800 Subject: [PATCH 091/235] feat: update --- ...oleAdminListMonthBillResultModelItems.java | 210 ++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillResultModelItems.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillResultModelItems.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillResultModelItems.java new file mode 100644 index 000000000..e47efd88e --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListMonthBillResultModelItems.java @@ -0,0 +1,210 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListMonthBillResultModelItems + */ +public class ConsoleAdminListMonthBillResultModelItems implements Serializable { + private static final long serialVersionUID = 1L; + + private String latestPaidTime = null; + + + private String tenantName = null; + + + private Long tenantId = null; + + + private String billStatus = null; + + + private String accountingPeriod = null; + + + private String billOutgoingTime = null; + + + private Long cashPayAmount = null; + + + public ConsoleAdminListMonthBillResultModelItems latestPaidTime(String latestPaidTime) { + this.latestPaidTime = latestPaidTime; + return this; + } + + /** + * 到期还款日期 + * @return latestPaidTime + **/ + public String getLatestPaidTime() { + return latestPaidTime; + } + + public void setLatestPaidTime(String latestPaidTime) { + this.latestPaidTime = latestPaidTime; + } + + public ConsoleAdminListMonthBillResultModelItems tenantName(String tenantName) { + this.tenantName = tenantName; + return this; + } + + /** + * 租户名称 + * @return tenantName + **/ + public String getTenantName() { + return tenantName; + } + + public void setTenantName(String tenantName) { + this.tenantName = tenantName; + } + + public ConsoleAdminListMonthBillResultModelItems tenantId(Long tenantId) { + this.tenantId = tenantId; + return this; + } + + /** + * 租户ID + * @return tenantId + **/ + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } + + public ConsoleAdminListMonthBillResultModelItems billStatus(String billStatus) { + this.billStatus = billStatus; + return this; + } + + /** + * 账单状态 + * @return billStatus + **/ + public String getBillStatus() { + return billStatus; + } + + public void setBillStatus(String billStatus) { + this.billStatus = billStatus; + } + + public ConsoleAdminListMonthBillResultModelItems accountingPeriod(String accountingPeriod) { + this.accountingPeriod = accountingPeriod; + return this; + } + + /** + * 账期 + * @return accountingPeriod + **/ + public String getAccountingPeriod() { + return accountingPeriod; + } + + public void setAccountingPeriod(String accountingPeriod) { + this.accountingPeriod = accountingPeriod; + } + + public ConsoleAdminListMonthBillResultModelItems billOutgoingTime(String billOutgoingTime) { + this.billOutgoingTime = billOutgoingTime; + return this; + } + + /** + * 已出账的日期 + * @return billOutgoingTime + **/ + public String getBillOutgoingTime() { + return billOutgoingTime; + } + + public void setBillOutgoingTime(String billOutgoingTime) { + this.billOutgoingTime = billOutgoingTime; + } + + public ConsoleAdminListMonthBillResultModelItems cashPayAmount(Long cashPayAmount) { + this.cashPayAmount = cashPayAmount; + return this; + } + + /** + * 消费金额 + * @return cashPayAmount + **/ + public Long getCashPayAmount() { + return cashPayAmount; + } + + public void setCashPayAmount(Long cashPayAmount) { + this.cashPayAmount = cashPayAmount; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListMonthBillResultModelItems consoleAdminListMonthBillResultModelItems = (ConsoleAdminListMonthBillResultModelItems) o; + return Objects.equals(this.latestPaidTime, consoleAdminListMonthBillResultModelItems.latestPaidTime) && + Objects.equals(this.tenantName, consoleAdminListMonthBillResultModelItems.tenantName) && + Objects.equals(this.tenantId, consoleAdminListMonthBillResultModelItems.tenantId) && + Objects.equals(this.billStatus, consoleAdminListMonthBillResultModelItems.billStatus) && + Objects.equals(this.accountingPeriod, consoleAdminListMonthBillResultModelItems.accountingPeriod) && + Objects.equals(this.billOutgoingTime, consoleAdminListMonthBillResultModelItems.billOutgoingTime) && + Objects.equals(this.cashPayAmount, consoleAdminListMonthBillResultModelItems.cashPayAmount); + } + + @Override + public int hashCode() { + return Objects.hash(latestPaidTime, tenantName, tenantId, billStatus, accountingPeriod, billOutgoingTime, cashPayAmount); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListMonthBillResultModelItems {"); + + sb.append(",latestPaidTime: ").append(toIndentedString(latestPaidTime)); + sb.append(",tenantName: ").append(toIndentedString(tenantName)); + sb.append(",tenantId: ").append(toIndentedString(tenantId)); + sb.append(",billStatus: ").append(toIndentedString(billStatus)); + sb.append(",accountingPeriod: ").append(toIndentedString(accountingPeriod)); + sb.append(",billOutgoingTime: ").append(toIndentedString(billOutgoingTime)); + sb.append(",cashPayAmount: ").append(toIndentedString(cashPayAmount)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 04ff4eb53722f4314759213f0b86d033d2dbf0e1 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:09 +0800 Subject: [PATCH 092/235] feat: update --- .../model/ConsoleAdminListProjectsForms.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsForms.java new file mode 100644 index 000000000..fc13d4c2e --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsForms.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListProjectsForms + */ +public class ConsoleAdminListProjectsForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String nextToken = null; + + + private Integer maxResults = null; + + + public ConsoleAdminListProjectsForms nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ConsoleAdminListProjectsForms maxResults(Integer maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Get maxResults + * @return maxResults + **/ + public Integer getMaxResults() { + return maxResults; + } + + public void setMaxResults(Integer maxResults) { + this.maxResults = maxResults; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListProjectsForms consoleAdminListProjectsForms = (ConsoleAdminListProjectsForms) o; + return Objects.equals(this.nextToken, consoleAdminListProjectsForms.nextToken) && + Objects.equals(this.maxResults, consoleAdminListProjectsForms.maxResults); + } + + @Override + public int hashCode() { + return Objects.hash(nextToken, maxResults); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListProjectsForms {"); + + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append(",maxResults: ").append(toIndentedString(maxResults)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 60fd7bf3109921915f42a6346c37193162ba9f45 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:10 +0800 Subject: [PATCH 093/235] feat: update --- .../model/ConsoleAdminListProjectsResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsResult.java new file mode 100644 index 000000000..5ff9f50bc --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListProjectsResultModel; +import java.io.Serializable; +/** + * ConsoleAdminListProjectsResult + */ +public class ConsoleAdminListProjectsResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminListProjectsResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminListProjectsResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminListProjectsResult model(ConsoleAdminListProjectsResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminListProjectsResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminListProjectsResultModel model) { + this.model = model; + } + + public ConsoleAdminListProjectsResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminListProjectsResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListProjectsResult consoleAdminListProjectsResult = (ConsoleAdminListProjectsResult) o; + return Objects.equals(this.success, consoleAdminListProjectsResult.success) && + Objects.equals(this.model, consoleAdminListProjectsResult.model) && + Objects.equals(this.msgInfo, consoleAdminListProjectsResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminListProjectsResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListProjectsResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From c8b528d4b4a4cfab910b6c86136e285e9b2c881b Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:12 +0800 Subject: [PATCH 094/235] feat: update --- .../ConsoleAdminListProjectsResultModel.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsResultModel.java new file mode 100644 index 000000000..725395834 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsResultModel.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListProjectsResultModelDataList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminListProjectsResultModel + */ +public class ConsoleAdminListProjectsResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer maxResults = null; + + + private String nextToken = null; + + + private List dataList = null; + + + private Long count = null; + + + public ConsoleAdminListProjectsResultModel maxResults(Integer maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Get maxResults + * @return maxResults + **/ + public Integer getMaxResults() { + return maxResults; + } + + public void setMaxResults(Integer maxResults) { + this.maxResults = maxResults; + } + + public ConsoleAdminListProjectsResultModel nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ConsoleAdminListProjectsResultModel dataList(List dataList) { + this.dataList = dataList; + return this; + } + + public ConsoleAdminListProjectsResultModel addDataListItem(ConsoleAdminListProjectsResultModelDataList dataListItem) { + if (this.dataList == null) { + this.dataList = new ArrayList(); + } + this.dataList.add(dataListItem); + return this; + } + + /** + * Get dataList + * @return dataList + **/ + public List getDataList() { + return dataList; + } + + public void setDataList(List dataList) { + this.dataList = dataList; + } + + public ConsoleAdminListProjectsResultModel count(Long count) { + this.count = count; + return this; + } + + /** + * Get count + * @return count + **/ + public Long getCount() { + return count; + } + + public void setCount(Long count) { + this.count = count; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListProjectsResultModel consoleAdminListProjectsResultModel = (ConsoleAdminListProjectsResultModel) o; + return Objects.equals(this.maxResults, consoleAdminListProjectsResultModel.maxResults) && + Objects.equals(this.nextToken, consoleAdminListProjectsResultModel.nextToken) && + Objects.equals(this.dataList, consoleAdminListProjectsResultModel.dataList) && + Objects.equals(this.count, consoleAdminListProjectsResultModel.count); + } + + @Override + public int hashCode() { + return Objects.hash(maxResults, nextToken, dataList, count); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListProjectsResultModel {"); + + sb.append(",maxResults: ").append(toIndentedString(maxResults)); + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append(",dataList: ").append(toIndentedString(dataList)); + sb.append(",count: ").append(toIndentedString(count)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 24761b789948388000ee491ca41a67b437c1eec9 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:13 +0800 Subject: [PATCH 095/235] feat: update --- ...eAdminListProjectsResultModelDataList.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsResultModelDataList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsResultModelDataList.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsResultModelDataList.java new file mode 100644 index 000000000..2696989d8 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListProjectsResultModelDataList.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListProjectsResultModelDataList + */ +public class ConsoleAdminListProjectsResultModelDataList implements Serializable { + private static final long serialVersionUID = 1L; + + private String projectName = null; + + + private String projectId = null; + + + public ConsoleAdminListProjectsResultModelDataList projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public ConsoleAdminListProjectsResultModelDataList projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListProjectsResultModelDataList consoleAdminListProjectsResultModelDataList = (ConsoleAdminListProjectsResultModelDataList) o; + return Objects.equals(this.projectName, consoleAdminListProjectsResultModelDataList.projectName) && + Objects.equals(this.projectId, consoleAdminListProjectsResultModelDataList.projectId); + } + + @Override + public int hashCode() { + return Objects.hash(projectName, projectId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListProjectsResultModelDataList {"); + + sb.append(",projectName: ").append(toIndentedString(projectName)); + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 5df414938f8023f274595b8384dfdf6c804d148f Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:14 +0800 Subject: [PATCH 096/235] feat: update --- ...eAdminListVersionDeployInstancesForms.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesForms.java new file mode 100644 index 000000000..96598c351 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesForms.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListVersionDeployInstancesForms + */ +public class ConsoleAdminListVersionDeployInstancesForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String projectId = null; + + + private String gameId = null; + + + private String versionId = null; + + + private String deployStatus = null; + + + public ConsoleAdminListVersionDeployInstancesForms projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public ConsoleAdminListVersionDeployInstancesForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public ConsoleAdminListVersionDeployInstancesForms versionId(String versionId) { + this.versionId = versionId; + return this; + } + + /** + * Get versionId + * @return versionId + **/ + public String getVersionId() { + return versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + } + + public ConsoleAdminListVersionDeployInstancesForms deployStatus(String deployStatus) { + this.deployStatus = deployStatus; + return this; + } + + /** + * Get deployStatus + * @return deployStatus + **/ + public String getDeployStatus() { + return deployStatus; + } + + public void setDeployStatus(String deployStatus) { + this.deployStatus = deployStatus; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListVersionDeployInstancesForms consoleAdminListVersionDeployInstancesForms = (ConsoleAdminListVersionDeployInstancesForms) o; + return Objects.equals(this.projectId, consoleAdminListVersionDeployInstancesForms.projectId) && + Objects.equals(this.gameId, consoleAdminListVersionDeployInstancesForms.gameId) && + Objects.equals(this.versionId, consoleAdminListVersionDeployInstancesForms.versionId) && + Objects.equals(this.deployStatus, consoleAdminListVersionDeployInstancesForms.deployStatus); + } + + @Override + public int hashCode() { + return Objects.hash(projectId, gameId, versionId, deployStatus); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListVersionDeployInstancesForms {"); + + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",versionId: ").append(toIndentedString(versionId)); + sb.append(",deployStatus: ").append(toIndentedString(deployStatus)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 55c68f380b02fa2d2a30762328d43095b96b94b5 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:15 +0800 Subject: [PATCH 097/235] feat: update --- ...AdminListVersionDeployInstancesResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesResult.java new file mode 100644 index 000000000..05be9ecf6 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListVersionDeployInstancesResultModel; +import java.io.Serializable; +/** + * ConsoleAdminListVersionDeployInstancesResult + */ +public class ConsoleAdminListVersionDeployInstancesResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminListVersionDeployInstancesResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminListVersionDeployInstancesResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminListVersionDeployInstancesResult model(ConsoleAdminListVersionDeployInstancesResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminListVersionDeployInstancesResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminListVersionDeployInstancesResultModel model) { + this.model = model; + } + + public ConsoleAdminListVersionDeployInstancesResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminListVersionDeployInstancesResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListVersionDeployInstancesResult consoleAdminListVersionDeployInstancesResult = (ConsoleAdminListVersionDeployInstancesResult) o; + return Objects.equals(this.success, consoleAdminListVersionDeployInstancesResult.success) && + Objects.equals(this.model, consoleAdminListVersionDeployInstancesResult.model) && + Objects.equals(this.msgInfo, consoleAdminListVersionDeployInstancesResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminListVersionDeployInstancesResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListVersionDeployInstancesResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 3ea27e7d1b7cf791fa8f2e42bd3fc19d814aa57e Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:17 +0800 Subject: [PATCH 098/235] feat: update --- ...ListVersionDeployInstancesResultModel.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesResultModel.java new file mode 100644 index 000000000..ba5ac014c --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesResultModel.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListVersionDeployInstancesResultModelDataList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminListVersionDeployInstancesResultModel + */ +public class ConsoleAdminListVersionDeployInstancesResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String nextToken = null; + + + private Integer maxResults = null; + + + private List dataList = null; + + + private Long count = null; + + + public ConsoleAdminListVersionDeployInstancesResultModel nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ConsoleAdminListVersionDeployInstancesResultModel maxResults(Integer maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Get maxResults + * @return maxResults + **/ + public Integer getMaxResults() { + return maxResults; + } + + public void setMaxResults(Integer maxResults) { + this.maxResults = maxResults; + } + + public ConsoleAdminListVersionDeployInstancesResultModel dataList(List dataList) { + this.dataList = dataList; + return this; + } + + public ConsoleAdminListVersionDeployInstancesResultModel addDataListItem(ConsoleAdminListVersionDeployInstancesResultModelDataList dataListItem) { + if (this.dataList == null) { + this.dataList = new ArrayList(); + } + this.dataList.add(dataListItem); + return this; + } + + /** + * Get dataList + * @return dataList + **/ + public List getDataList() { + return dataList; + } + + public void setDataList(List dataList) { + this.dataList = dataList; + } + + public ConsoleAdminListVersionDeployInstancesResultModel count(Long count) { + this.count = count; + return this; + } + + /** + * Get count + * @return count + **/ + public Long getCount() { + return count; + } + + public void setCount(Long count) { + this.count = count; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListVersionDeployInstancesResultModel consoleAdminListVersionDeployInstancesResultModel = (ConsoleAdminListVersionDeployInstancesResultModel) o; + return Objects.equals(this.nextToken, consoleAdminListVersionDeployInstancesResultModel.nextToken) && + Objects.equals(this.maxResults, consoleAdminListVersionDeployInstancesResultModel.maxResults) && + Objects.equals(this.dataList, consoleAdminListVersionDeployInstancesResultModel.dataList) && + Objects.equals(this.count, consoleAdminListVersionDeployInstancesResultModel.count); + } + + @Override + public int hashCode() { + return Objects.hash(nextToken, maxResults, dataList, count); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListVersionDeployInstancesResultModel {"); + + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append(",maxResults: ").append(toIndentedString(maxResults)); + sb.append(",dataList: ").append(toIndentedString(dataList)); + sb.append(",count: ").append(toIndentedString(count)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From c5cda4e74889a4b8fe6cf9b5c19da120367ee7f6 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:18 +0800 Subject: [PATCH 099/235] feat: update --- ...ionDeployInstancesResultModelDataList.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesResultModelDataList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesResultModelDataList.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesResultModelDataList.java new file mode 100644 index 000000000..e81c0ff7e --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminListVersionDeployInstancesResultModelDataList.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminListVersionDeployInstancesResultModelDataList + */ +public class ConsoleAdminListVersionDeployInstancesResultModelDataList implements Serializable { + private static final long serialVersionUID = 1L; + + private String cloudGameInstanceId = null; + + + private String cloudGameInstanceName = null; + + + public ConsoleAdminListVersionDeployInstancesResultModelDataList cloudGameInstanceId(String cloudGameInstanceId) { + this.cloudGameInstanceId = cloudGameInstanceId; + return this; + } + + /** + * Get cloudGameInstanceId + * @return cloudGameInstanceId + **/ + public String getCloudGameInstanceId() { + return cloudGameInstanceId; + } + + public void setCloudGameInstanceId(String cloudGameInstanceId) { + this.cloudGameInstanceId = cloudGameInstanceId; + } + + public ConsoleAdminListVersionDeployInstancesResultModelDataList cloudGameInstanceName(String cloudGameInstanceName) { + this.cloudGameInstanceName = cloudGameInstanceName; + return this; + } + + /** + * Get cloudGameInstanceName + * @return cloudGameInstanceName + **/ + public String getCloudGameInstanceName() { + return cloudGameInstanceName; + } + + public void setCloudGameInstanceName(String cloudGameInstanceName) { + this.cloudGameInstanceName = cloudGameInstanceName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminListVersionDeployInstancesResultModelDataList consoleAdminListVersionDeployInstancesResultModelDataList = (ConsoleAdminListVersionDeployInstancesResultModelDataList) o; + return Objects.equals(this.cloudGameInstanceId, consoleAdminListVersionDeployInstancesResultModelDataList.cloudGameInstanceId) && + Objects.equals(this.cloudGameInstanceName, consoleAdminListVersionDeployInstancesResultModelDataList.cloudGameInstanceName); + } + + @Override + public int hashCode() { + return Objects.hash(cloudGameInstanceId, cloudGameInstanceName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminListVersionDeployInstancesResultModelDataList {"); + + sb.append(",cloudGameInstanceId: ").append(toIndentedString(cloudGameInstanceId)); + sb.append(",cloudGameInstanceName: ").append(toIndentedString(cloudGameInstanceName)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From f4dde03d664d4692e380568abee3dddde998c847 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:19 +0800 Subject: [PATCH 100/235] feat: update --- ...AdminQueryAdaptResultByVersionIdForms.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminQueryAdaptResultByVersionIdForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminQueryAdaptResultByVersionIdForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminQueryAdaptResultByVersionIdForms.java new file mode 100644 index 000000000..c6b6952c1 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminQueryAdaptResultByVersionIdForms.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminQueryAdaptResultByVersionIdForms + */ +public class ConsoleAdminQueryAdaptResultByVersionIdForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String mixVersionId = null; + + + public ConsoleAdminQueryAdaptResultByVersionIdForms mixVersionId(String mixVersionId) { + this.mixVersionId = mixVersionId; + return this; + } + + /** + * Get mixVersionId + * @return mixVersionId + **/ + public String getMixVersionId() { + return mixVersionId; + } + + public void setMixVersionId(String mixVersionId) { + this.mixVersionId = mixVersionId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminQueryAdaptResultByVersionIdForms consoleAdminQueryAdaptResultByVersionIdForms = (ConsoleAdminQueryAdaptResultByVersionIdForms) o; + return Objects.equals(this.mixVersionId, consoleAdminQueryAdaptResultByVersionIdForms.mixVersionId); + } + + @Override + public int hashCode() { + return Objects.hash(mixVersionId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminQueryAdaptResultByVersionIdForms {"); + + sb.append(",mixVersionId: ").append(toIndentedString(mixVersionId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 15a40b204d86d0f245d99651ddf39b96a1b5f1e6 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:21 +0800 Subject: [PATCH 101/235] feat: update --- ...dminQueryAdaptResultByVersionIdResult.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminQueryAdaptResultByVersionIdResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminQueryAdaptResultByVersionIdResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminQueryAdaptResultByVersionIdResult.java new file mode 100644 index 000000000..c028082f6 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminQueryAdaptResultByVersionIdResult.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminQueryAdaptResultByVersionIdResultModel; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminQueryAdaptResultByVersionIdResult + */ +public class ConsoleAdminQueryAdaptResultByVersionIdResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private List model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminQueryAdaptResultByVersionIdResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResult model(List model) { + this.model = model; + return this; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResult addModelItem(ConsoleAdminQueryAdaptResultByVersionIdResultModel modelItem) { + if (this.model == null) { + this.model = new ArrayList(); + } + this.model.add(modelItem); + return this; + } + + /** + * Get model + * @return model + **/ + public List getModel() { + return model; + } + + public void setModel(List model) { + this.model = model; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminQueryAdaptResultByVersionIdResult consoleAdminQueryAdaptResultByVersionIdResult = (ConsoleAdminQueryAdaptResultByVersionIdResult) o; + return Objects.equals(this.success, consoleAdminQueryAdaptResultByVersionIdResult.success) && + Objects.equals(this.model, consoleAdminQueryAdaptResultByVersionIdResult.model) && + Objects.equals(this.msgInfo, consoleAdminQueryAdaptResultByVersionIdResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminQueryAdaptResultByVersionIdResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminQueryAdaptResultByVersionIdResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From d106ffce82d7fe11734c41390f92d2f1090c588f Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:22 +0800 Subject: [PATCH 102/235] feat: update --- ...ueryAdaptResultByVersionIdResultModel.java | 419 ++++++++++++++++++ 1 file changed, 419 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminQueryAdaptResultByVersionIdResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminQueryAdaptResultByVersionIdResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminQueryAdaptResultByVersionIdResultModel.java new file mode 100644 index 000000000..453cfd7a9 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminQueryAdaptResultByVersionIdResultModel.java @@ -0,0 +1,419 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.io.Serializable; +/** + * ConsoleAdminQueryAdaptResultByVersionIdResultModel + */ +public class ConsoleAdminQueryAdaptResultByVersionIdResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String adaptFileSourceName = null; + + + private String dictFrameRate = null; + + + private String dictMachineTypeVm = null; + + + private Integer containerType = null; + + + private Integer sandbox = null; + + + private Integer platformType = null; + + + private Integer priority = null; + + + private String resolution = null; + + + private String adaptFileSource = null; + + + private Integer required = null; + + + private Integer maxConcurrency = null; + + + private Integer state = null; + + + private Integer pipelineType = null; + + + private String dictPicQuality = null; + + + private String dictIsvName = null; + + + private Map calculationEvaluation = null; + + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel adaptFileSourceName(String adaptFileSourceName) { + this.adaptFileSourceName = adaptFileSourceName; + return this; + } + + /** + * Get adaptFileSourceName + * @return adaptFileSourceName + **/ + public String getAdaptFileSourceName() { + return adaptFileSourceName; + } + + public void setAdaptFileSourceName(String adaptFileSourceName) { + this.adaptFileSourceName = adaptFileSourceName; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel dictFrameRate(String dictFrameRate) { + this.dictFrameRate = dictFrameRate; + return this; + } + + /** + * Get dictFrameRate + * @return dictFrameRate + **/ + public String getDictFrameRate() { + return dictFrameRate; + } + + public void setDictFrameRate(String dictFrameRate) { + this.dictFrameRate = dictFrameRate; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel dictMachineTypeVm(String dictMachineTypeVm) { + this.dictMachineTypeVm = dictMachineTypeVm; + return this; + } + + /** + * Get dictMachineTypeVm + * @return dictMachineTypeVm + **/ + public String getDictMachineTypeVm() { + return dictMachineTypeVm; + } + + public void setDictMachineTypeVm(String dictMachineTypeVm) { + this.dictMachineTypeVm = dictMachineTypeVm; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel containerType(Integer containerType) { + this.containerType = containerType; + return this; + } + + /** + * Get containerType + * @return containerType + **/ + public Integer getContainerType() { + return containerType; + } + + public void setContainerType(Integer containerType) { + this.containerType = containerType; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel sandbox(Integer sandbox) { + this.sandbox = sandbox; + return this; + } + + /** + * Get sandbox + * @return sandbox + **/ + public Integer getSandbox() { + return sandbox; + } + + public void setSandbox(Integer sandbox) { + this.sandbox = sandbox; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel platformType(Integer platformType) { + this.platformType = platformType; + return this; + } + + /** + * Get platformType + * @return platformType + **/ + public Integer getPlatformType() { + return platformType; + } + + public void setPlatformType(Integer platformType) { + this.platformType = platformType; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel priority(Integer priority) { + this.priority = priority; + return this; + } + + /** + * Get priority + * @return priority + **/ + public Integer getPriority() { + return priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel resolution(String resolution) { + this.resolution = resolution; + return this; + } + + /** + * Get resolution + * @return resolution + **/ + public String getResolution() { + return resolution; + } + + public void setResolution(String resolution) { + this.resolution = resolution; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel adaptFileSource(String adaptFileSource) { + this.adaptFileSource = adaptFileSource; + return this; + } + + /** + * Get adaptFileSource + * @return adaptFileSource + **/ + public String getAdaptFileSource() { + return adaptFileSource; + } + + public void setAdaptFileSource(String adaptFileSource) { + this.adaptFileSource = adaptFileSource; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel required(Integer required) { + this.required = required; + return this; + } + + /** + * Get required + * @return required + **/ + public Integer getRequired() { + return required; + } + + public void setRequired(Integer required) { + this.required = required; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel maxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + return this; + } + + /** + * Get maxConcurrency + * @return maxConcurrency + **/ + public Integer getMaxConcurrency() { + return maxConcurrency; + } + + public void setMaxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel state(Integer state) { + this.state = state; + return this; + } + + /** + * Get state + * @return state + **/ + public Integer getState() { + return state; + } + + public void setState(Integer state) { + this.state = state; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel pipelineType(Integer pipelineType) { + this.pipelineType = pipelineType; + return this; + } + + /** + * Get pipelineType + * @return pipelineType + **/ + public Integer getPipelineType() { + return pipelineType; + } + + public void setPipelineType(Integer pipelineType) { + this.pipelineType = pipelineType; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel dictPicQuality(String dictPicQuality) { + this.dictPicQuality = dictPicQuality; + return this; + } + + /** + * Get dictPicQuality + * @return dictPicQuality + **/ + public String getDictPicQuality() { + return dictPicQuality; + } + + public void setDictPicQuality(String dictPicQuality) { + this.dictPicQuality = dictPicQuality; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel dictIsvName(String dictIsvName) { + this.dictIsvName = dictIsvName; + return this; + } + + /** + * Get dictIsvName + * @return dictIsvName + **/ + public String getDictIsvName() { + return dictIsvName; + } + + public void setDictIsvName(String dictIsvName) { + this.dictIsvName = dictIsvName; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel calculationEvaluation(Map calculationEvaluation) { + this.calculationEvaluation = calculationEvaluation; + return this; + } + + public ConsoleAdminQueryAdaptResultByVersionIdResultModel putCalculationEvaluationItem(String key, String calculationEvaluationItem) { + if (this.calculationEvaluation == null) { + this.calculationEvaluation = new HashMap(); + } + this.calculationEvaluation.put(key, calculationEvaluationItem); + return this; + } + + /** + * Get calculationEvaluation + * @return calculationEvaluation + **/ + public Map getCalculationEvaluation() { + return calculationEvaluation; + } + + public void setCalculationEvaluation(Map calculationEvaluation) { + this.calculationEvaluation = calculationEvaluation; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminQueryAdaptResultByVersionIdResultModel consoleAdminQueryAdaptResultByVersionIdResultModel = (ConsoleAdminQueryAdaptResultByVersionIdResultModel) o; + return Objects.equals(this.adaptFileSourceName, consoleAdminQueryAdaptResultByVersionIdResultModel.adaptFileSourceName) && + Objects.equals(this.dictFrameRate, consoleAdminQueryAdaptResultByVersionIdResultModel.dictFrameRate) && + Objects.equals(this.dictMachineTypeVm, consoleAdminQueryAdaptResultByVersionIdResultModel.dictMachineTypeVm) && + Objects.equals(this.containerType, consoleAdminQueryAdaptResultByVersionIdResultModel.containerType) && + Objects.equals(this.sandbox, consoleAdminQueryAdaptResultByVersionIdResultModel.sandbox) && + Objects.equals(this.platformType, consoleAdminQueryAdaptResultByVersionIdResultModel.platformType) && + Objects.equals(this.priority, consoleAdminQueryAdaptResultByVersionIdResultModel.priority) && + Objects.equals(this.resolution, consoleAdminQueryAdaptResultByVersionIdResultModel.resolution) && + Objects.equals(this.adaptFileSource, consoleAdminQueryAdaptResultByVersionIdResultModel.adaptFileSource) && + Objects.equals(this.required, consoleAdminQueryAdaptResultByVersionIdResultModel.required) && + Objects.equals(this.maxConcurrency, consoleAdminQueryAdaptResultByVersionIdResultModel.maxConcurrency) && + Objects.equals(this.state, consoleAdminQueryAdaptResultByVersionIdResultModel.state) && + Objects.equals(this.pipelineType, consoleAdminQueryAdaptResultByVersionIdResultModel.pipelineType) && + Objects.equals(this.dictPicQuality, consoleAdminQueryAdaptResultByVersionIdResultModel.dictPicQuality) && + Objects.equals(this.dictIsvName, consoleAdminQueryAdaptResultByVersionIdResultModel.dictIsvName) && + Objects.equals(this.calculationEvaluation, consoleAdminQueryAdaptResultByVersionIdResultModel.calculationEvaluation); + } + + @Override + public int hashCode() { + return Objects.hash(adaptFileSourceName, dictFrameRate, dictMachineTypeVm, containerType, sandbox, platformType, priority, resolution, adaptFileSource, required, maxConcurrency, state, pipelineType, dictPicQuality, dictIsvName, calculationEvaluation); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminQueryAdaptResultByVersionIdResultModel {"); + + sb.append(",adaptFileSourceName: ").append(toIndentedString(adaptFileSourceName)); + sb.append(",dictFrameRate: ").append(toIndentedString(dictFrameRate)); + sb.append(",dictMachineTypeVm: ").append(toIndentedString(dictMachineTypeVm)); + sb.append(",containerType: ").append(toIndentedString(containerType)); + sb.append(",sandbox: ").append(toIndentedString(sandbox)); + sb.append(",platformType: ").append(toIndentedString(platformType)); + sb.append(",priority: ").append(toIndentedString(priority)); + sb.append(",resolution: ").append(toIndentedString(resolution)); + sb.append(",adaptFileSource: ").append(toIndentedString(adaptFileSource)); + sb.append(",required: ").append(toIndentedString(required)); + sb.append(",maxConcurrency: ").append(toIndentedString(maxConcurrency)); + sb.append(",state: ").append(toIndentedString(state)); + sb.append(",pipelineType: ").append(toIndentedString(pipelineType)); + sb.append(",dictPicQuality: ").append(toIndentedString(dictPicQuality)); + sb.append(",dictIsvName: ").append(toIndentedString(dictIsvName)); + sb.append(",calculationEvaluation: ").append(toIndentedString(calculationEvaluation)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From cac68199f95b87c6fd579a7babd8ba6b78f912b1 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:24 +0800 Subject: [PATCH 103/235] feat: update --- ...nsoleAdminRecommendSpecificationForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRecommendSpecificationForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRecommendSpecificationForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRecommendSpecificationForms.java new file mode 100644 index 000000000..905535660 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRecommendSpecificationForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminRecommendSpecificationForms + */ +public class ConsoleAdminRecommendSpecificationForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String gameVersionId = null; + + + private Integer platformType = null; + + + public ConsoleAdminRecommendSpecificationForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public ConsoleAdminRecommendSpecificationForms gameVersionId(String gameVersionId) { + this.gameVersionId = gameVersionId; + return this; + } + + /** + * Get gameVersionId + * @return gameVersionId + **/ + public String getGameVersionId() { + return gameVersionId; + } + + public void setGameVersionId(String gameVersionId) { + this.gameVersionId = gameVersionId; + } + + public ConsoleAdminRecommendSpecificationForms platformType(Integer platformType) { + this.platformType = platformType; + return this; + } + + /** + * Get platformType + * @return platformType + **/ + public Integer getPlatformType() { + return platformType; + } + + public void setPlatformType(Integer platformType) { + this.platformType = platformType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminRecommendSpecificationForms consoleAdminRecommendSpecificationForms = (ConsoleAdminRecommendSpecificationForms) o; + return Objects.equals(this.gameId, consoleAdminRecommendSpecificationForms.gameId) && + Objects.equals(this.gameVersionId, consoleAdminRecommendSpecificationForms.gameVersionId) && + Objects.equals(this.platformType, consoleAdminRecommendSpecificationForms.platformType); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, gameVersionId, platformType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminRecommendSpecificationForms {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",gameVersionId: ").append(toIndentedString(gameVersionId)); + sb.append(",platformType: ").append(toIndentedString(platformType)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 4afdfda841b105a9c13dca803853e55c5ac1d91e Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:25 +0800 Subject: [PATCH 104/235] feat: update --- ...soleAdminRecommendSpecificationResult.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRecommendSpecificationResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRecommendSpecificationResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRecommendSpecificationResult.java new file mode 100644 index 000000000..12a5543ef --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRecommendSpecificationResult.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminRecommendSpecificationResultModel; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ConsoleAdminRecommendSpecificationResult + */ +public class ConsoleAdminRecommendSpecificationResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private List model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminRecommendSpecificationResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminRecommendSpecificationResult model(List model) { + this.model = model; + return this; + } + + public ConsoleAdminRecommendSpecificationResult addModelItem(ConsoleAdminRecommendSpecificationResultModel modelItem) { + if (this.model == null) { + this.model = new ArrayList(); + } + this.model.add(modelItem); + return this; + } + + /** + * Get model + * @return model + **/ + public List getModel() { + return model; + } + + public void setModel(List model) { + this.model = model; + } + + public ConsoleAdminRecommendSpecificationResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminRecommendSpecificationResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminRecommendSpecificationResult consoleAdminRecommendSpecificationResult = (ConsoleAdminRecommendSpecificationResult) o; + return Objects.equals(this.success, consoleAdminRecommendSpecificationResult.success) && + Objects.equals(this.model, consoleAdminRecommendSpecificationResult.model) && + Objects.equals(this.msgInfo, consoleAdminRecommendSpecificationResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminRecommendSpecificationResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminRecommendSpecificationResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From b96cc0a668ab29470d58a492aa3fe0876420da87 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:26 +0800 Subject: [PATCH 105/235] feat: update --- ...dminRecommendSpecificationResultModel.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRecommendSpecificationResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRecommendSpecificationResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRecommendSpecificationResultModel.java new file mode 100644 index 000000000..d2b983b4f --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRecommendSpecificationResultModel.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminRecommendSpecificationResultModel + */ +public class ConsoleAdminRecommendSpecificationResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String specificationCnName = null; + + + private String specificationValueCode = null; + + + private String specificationName = null; + + + private String specificationAttributeCode = null; + + + public ConsoleAdminRecommendSpecificationResultModel specificationCnName(String specificationCnName) { + this.specificationCnName = specificationCnName; + return this; + } + + /** + * Get specificationCnName + * @return specificationCnName + **/ + public String getSpecificationCnName() { + return specificationCnName; + } + + public void setSpecificationCnName(String specificationCnName) { + this.specificationCnName = specificationCnName; + } + + public ConsoleAdminRecommendSpecificationResultModel specificationValueCode(String specificationValueCode) { + this.specificationValueCode = specificationValueCode; + return this; + } + + /** + * Get specificationValueCode + * @return specificationValueCode + **/ + public String getSpecificationValueCode() { + return specificationValueCode; + } + + public void setSpecificationValueCode(String specificationValueCode) { + this.specificationValueCode = specificationValueCode; + } + + public ConsoleAdminRecommendSpecificationResultModel specificationName(String specificationName) { + this.specificationName = specificationName; + return this; + } + + /** + * Get specificationName + * @return specificationName + **/ + public String getSpecificationName() { + return specificationName; + } + + public void setSpecificationName(String specificationName) { + this.specificationName = specificationName; + } + + public ConsoleAdminRecommendSpecificationResultModel specificationAttributeCode(String specificationAttributeCode) { + this.specificationAttributeCode = specificationAttributeCode; + return this; + } + + /** + * Get specificationAttributeCode + * @return specificationAttributeCode + **/ + public String getSpecificationAttributeCode() { + return specificationAttributeCode; + } + + public void setSpecificationAttributeCode(String specificationAttributeCode) { + this.specificationAttributeCode = specificationAttributeCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminRecommendSpecificationResultModel consoleAdminRecommendSpecificationResultModel = (ConsoleAdminRecommendSpecificationResultModel) o; + return Objects.equals(this.specificationCnName, consoleAdminRecommendSpecificationResultModel.specificationCnName) && + Objects.equals(this.specificationValueCode, consoleAdminRecommendSpecificationResultModel.specificationValueCode) && + Objects.equals(this.specificationName, consoleAdminRecommendSpecificationResultModel.specificationName) && + Objects.equals(this.specificationAttributeCode, consoleAdminRecommendSpecificationResultModel.specificationAttributeCode); + } + + @Override + public int hashCode() { + return Objects.hash(specificationCnName, specificationValueCode, specificationName, specificationAttributeCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminRecommendSpecificationResultModel {"); + + sb.append(",specificationCnName: ").append(toIndentedString(specificationCnName)); + sb.append(",specificationValueCode: ").append(toIndentedString(specificationValueCode)); + sb.append(",specificationName: ").append(toIndentedString(specificationName)); + sb.append(",specificationAttributeCode: ").append(toIndentedString(specificationAttributeCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From c2c65d3de44df58540a57c4b2b0e7e0df1e6d41e Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:27 +0800 Subject: [PATCH 106/235] feat: update --- ...onsoleAdminRemoveGameFromProjectForms.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRemoveGameFromProjectForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRemoveGameFromProjectForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRemoveGameFromProjectForms.java new file mode 100644 index 000000000..8a243464c --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRemoveGameFromProjectForms.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminRemoveGameFromProjectForms + */ +public class ConsoleAdminRemoveGameFromProjectForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String projectId = null; + + + private String gameId = null; + + + public ConsoleAdminRemoveGameFromProjectForms projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public ConsoleAdminRemoveGameFromProjectForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminRemoveGameFromProjectForms consoleAdminRemoveGameFromProjectForms = (ConsoleAdminRemoveGameFromProjectForms) o; + return Objects.equals(this.projectId, consoleAdminRemoveGameFromProjectForms.projectId) && + Objects.equals(this.gameId, consoleAdminRemoveGameFromProjectForms.gameId); + } + + @Override + public int hashCode() { + return Objects.hash(projectId, gameId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminRemoveGameFromProjectForms {"); + + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 1b033641318805ae7c5b92d65fb74f5fbec4b3f4 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:29 +0800 Subject: [PATCH 107/235] feat: update --- ...nsoleAdminRemoveGameFromProjectResult.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRemoveGameFromProjectResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRemoveGameFromProjectResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRemoveGameFromProjectResult.java new file mode 100644 index 000000000..716efa87c --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminRemoveGameFromProjectResult.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminRemoveGameFromProjectResult + */ +public class ConsoleAdminRemoveGameFromProjectResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminRemoveGameFromProjectResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminRemoveGameFromProjectResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminRemoveGameFromProjectResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminRemoveGameFromProjectResult consoleAdminRemoveGameFromProjectResult = (ConsoleAdminRemoveGameFromProjectResult) o; + return Objects.equals(this.success, consoleAdminRemoveGameFromProjectResult.success) && + Objects.equals(this.msgInfo, consoleAdminRemoveGameFromProjectResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminRemoveGameFromProjectResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminRemoveGameFromProjectResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From a0678cf45e6ee741323a1922b5e399a194eb741b Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:30 +0800 Subject: [PATCH 108/235] feat: update --- .../ConsoleAdminSubmitDeploymentForms.java | 166 ++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminSubmitDeploymentForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminSubmitDeploymentForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminSubmitDeploymentForms.java new file mode 100644 index 000000000..c5bb82972 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminSubmitDeploymentForms.java @@ -0,0 +1,166 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminSubmitDeploymentForms + */ +public class ConsoleAdminSubmitDeploymentForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String projectId = null; + + + private String versionId = null; + + + private String cloudGameInstanceIds = null; + + + private String operationType = null; + + + public ConsoleAdminSubmitDeploymentForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public ConsoleAdminSubmitDeploymentForms projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public ConsoleAdminSubmitDeploymentForms versionId(String versionId) { + this.versionId = versionId; + return this; + } + + /** + * Get versionId + * @return versionId + **/ + public String getVersionId() { + return versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + } + + public ConsoleAdminSubmitDeploymentForms cloudGameInstanceIds(String cloudGameInstanceIds) { + this.cloudGameInstanceIds = cloudGameInstanceIds; + return this; + } + + /** + * Get cloudGameInstanceIds + * @return cloudGameInstanceIds + **/ + public String getCloudGameInstanceIds() { + return cloudGameInstanceIds; + } + + public void setCloudGameInstanceIds(String cloudGameInstanceIds) { + this.cloudGameInstanceIds = cloudGameInstanceIds; + } + + public ConsoleAdminSubmitDeploymentForms operationType(String operationType) { + this.operationType = operationType; + return this; + } + + /** + * Get operationType + * @return operationType + **/ + public String getOperationType() { + return operationType; + } + + public void setOperationType(String operationType) { + this.operationType = operationType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminSubmitDeploymentForms consoleAdminSubmitDeploymentForms = (ConsoleAdminSubmitDeploymentForms) o; + return Objects.equals(this.gameId, consoleAdminSubmitDeploymentForms.gameId) && + Objects.equals(this.projectId, consoleAdminSubmitDeploymentForms.projectId) && + Objects.equals(this.versionId, consoleAdminSubmitDeploymentForms.versionId) && + Objects.equals(this.cloudGameInstanceIds, consoleAdminSubmitDeploymentForms.cloudGameInstanceIds) && + Objects.equals(this.operationType, consoleAdminSubmitDeploymentForms.operationType); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, projectId, versionId, cloudGameInstanceIds, operationType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminSubmitDeploymentForms {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append(",versionId: ").append(toIndentedString(versionId)); + sb.append(",cloudGameInstanceIds: ").append(toIndentedString(cloudGameInstanceIds)); + sb.append(",operationType: ").append(toIndentedString(operationType)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From b37a5a2c304cee531724831d05a1d7cdc8fa0766 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:31 +0800 Subject: [PATCH 109/235] feat: update --- .../ConsoleAdminSubmitDeploymentResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminSubmitDeploymentResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminSubmitDeploymentResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminSubmitDeploymentResult.java new file mode 100644 index 000000000..290f58869 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminSubmitDeploymentResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminSubmitDeploymentResultModel; +import java.io.Serializable; +/** + * ConsoleAdminSubmitDeploymentResult + */ +public class ConsoleAdminSubmitDeploymentResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminSubmitDeploymentResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminSubmitDeploymentResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminSubmitDeploymentResult model(ConsoleAdminSubmitDeploymentResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminSubmitDeploymentResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminSubmitDeploymentResultModel model) { + this.model = model; + } + + public ConsoleAdminSubmitDeploymentResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminSubmitDeploymentResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminSubmitDeploymentResult consoleAdminSubmitDeploymentResult = (ConsoleAdminSubmitDeploymentResult) o; + return Objects.equals(this.success, consoleAdminSubmitDeploymentResult.success) && + Objects.equals(this.model, consoleAdminSubmitDeploymentResult.model) && + Objects.equals(this.msgInfo, consoleAdminSubmitDeploymentResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminSubmitDeploymentResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminSubmitDeploymentResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 355bf6a382d1aae2769a7bd6cb78931ddd44a427 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:33 +0800 Subject: [PATCH 110/235] feat: update --- ...nsoleAdminSubmitDeploymentResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminSubmitDeploymentResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminSubmitDeploymentResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminSubmitDeploymentResultModel.java new file mode 100644 index 000000000..f372f488a --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminSubmitDeploymentResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminSubmitDeploymentResultModel + */ +public class ConsoleAdminSubmitDeploymentResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String taskId = null; + + + public ConsoleAdminSubmitDeploymentResultModel taskId(String taskId) { + this.taskId = taskId; + return this; + } + + /** + * Get taskId + * @return taskId + **/ + public String getTaskId() { + return taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminSubmitDeploymentResultModel consoleAdminSubmitDeploymentResultModel = (ConsoleAdminSubmitDeploymentResultModel) o; + return Objects.equals(this.taskId, consoleAdminSubmitDeploymentResultModel.taskId); + } + + @Override + public int hashCode() { + return Objects.hash(taskId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminSubmitDeploymentResultModel {"); + + sb.append(",taskId: ").append(toIndentedString(taskId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 49002ff800dec9648d77d66b84522f4eb059fafe Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:34 +0800 Subject: [PATCH 111/235] feat: update --- ...AdminUploadGameVersionByDownloadForms.java | 167 ++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadForms.java new file mode 100644 index 000000000..e0d2bb031 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadForms.java @@ -0,0 +1,167 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminUploadGameVersionByDownloadFormsDownloadType; +import java.io.Serializable; +/** + * ConsoleAdminUploadGameVersionByDownloadForms + */ +public class ConsoleAdminUploadGameVersionByDownloadForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String hash = null; + + + private String gameId = null; + + + private ConsoleAdminUploadGameVersionByDownloadFormsDownloadType downloadType = null; + + + private String versionName = null; + + + private String osManifest = null; + + + public ConsoleAdminUploadGameVersionByDownloadForms hash(String hash) { + this.hash = hash; + return this; + } + + /** + * Get hash + * @return hash + **/ + public String getHash() { + return hash; + } + + public void setHash(String hash) { + this.hash = hash; + } + + public ConsoleAdminUploadGameVersionByDownloadForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public ConsoleAdminUploadGameVersionByDownloadForms downloadType(ConsoleAdminUploadGameVersionByDownloadFormsDownloadType downloadType) { + this.downloadType = downloadType; + return this; + } + + /** + * Get downloadType + * @return downloadType + **/ + public ConsoleAdminUploadGameVersionByDownloadFormsDownloadType getDownloadType() { + return downloadType; + } + + public void setDownloadType(ConsoleAdminUploadGameVersionByDownloadFormsDownloadType downloadType) { + this.downloadType = downloadType; + } + + public ConsoleAdminUploadGameVersionByDownloadForms versionName(String versionName) { + this.versionName = versionName; + return this; + } + + /** + * Get versionName + * @return versionName + **/ + public String getVersionName() { + return versionName; + } + + public void setVersionName(String versionName) { + this.versionName = versionName; + } + + public ConsoleAdminUploadGameVersionByDownloadForms osManifest(String osManifest) { + this.osManifest = osManifest; + return this; + } + + /** + * Get osManifest + * @return osManifest + **/ + public String getOsManifest() { + return osManifest; + } + + public void setOsManifest(String osManifest) { + this.osManifest = osManifest; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminUploadGameVersionByDownloadForms consoleAdminUploadGameVersionByDownloadForms = (ConsoleAdminUploadGameVersionByDownloadForms) o; + return Objects.equals(this.hash, consoleAdminUploadGameVersionByDownloadForms.hash) && + Objects.equals(this.gameId, consoleAdminUploadGameVersionByDownloadForms.gameId) && + Objects.equals(this.downloadType, consoleAdminUploadGameVersionByDownloadForms.downloadType) && + Objects.equals(this.versionName, consoleAdminUploadGameVersionByDownloadForms.versionName) && + Objects.equals(this.osManifest, consoleAdminUploadGameVersionByDownloadForms.osManifest); + } + + @Override + public int hashCode() { + return Objects.hash(hash, gameId, downloadType, versionName, osManifest); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminUploadGameVersionByDownloadForms {"); + + sb.append(",hash: ").append(toIndentedString(hash)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",downloadType: ").append(toIndentedString(downloadType)); + sb.append(",versionName: ").append(toIndentedString(versionName)); + sb.append(",osManifest: ").append(toIndentedString(osManifest)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From b180eb29cb17357aa8ffa8933bb5fb5acac7089c Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:35 +0800 Subject: [PATCH 112/235] feat: update --- ...ameVersionByDownloadFormsDownloadType.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadFormsDownloadType.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadFormsDownloadType.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadFormsDownloadType.java new file mode 100644 index 000000000..fc2aa2051 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadFormsDownloadType.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminUploadGameVersionByDownloadFormsDownloadType + */ +public class ConsoleAdminUploadGameVersionByDownloadFormsDownloadType implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameUrl = null; + + + private String type = null; + + + public ConsoleAdminUploadGameVersionByDownloadFormsDownloadType gameUrl(String gameUrl) { + this.gameUrl = gameUrl; + return this; + } + + /** + * Get gameUrl + * @return gameUrl + **/ + public String getGameUrl() { + return gameUrl; + } + + public void setGameUrl(String gameUrl) { + this.gameUrl = gameUrl; + } + + public ConsoleAdminUploadGameVersionByDownloadFormsDownloadType type(String type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminUploadGameVersionByDownloadFormsDownloadType consoleAdminUploadGameVersionByDownloadFormsDownloadType = (ConsoleAdminUploadGameVersionByDownloadFormsDownloadType) o; + return Objects.equals(this.gameUrl, consoleAdminUploadGameVersionByDownloadFormsDownloadType.gameUrl) && + Objects.equals(this.type, consoleAdminUploadGameVersionByDownloadFormsDownloadType.type); + } + + @Override + public int hashCode() { + return Objects.hash(gameUrl, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminUploadGameVersionByDownloadFormsDownloadType {"); + + sb.append(",gameUrl: ").append(toIndentedString(gameUrl)); + sb.append(",type: ").append(toIndentedString(type)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From d26ef167893c4cec193d2e15853bd32b790a2f84 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:36 +0800 Subject: [PATCH 113/235] feat: update --- ...dminUploadGameVersionByDownloadResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadResult.java new file mode 100644 index 000000000..9c2a46f02 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ConsoleAdminUploadGameVersionByDownloadResultModel; +import java.io.Serializable; +/** + * ConsoleAdminUploadGameVersionByDownloadResult + */ +public class ConsoleAdminUploadGameVersionByDownloadResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ConsoleAdminUploadGameVersionByDownloadResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ConsoleAdminUploadGameVersionByDownloadResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ConsoleAdminUploadGameVersionByDownloadResult model(ConsoleAdminUploadGameVersionByDownloadResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ConsoleAdminUploadGameVersionByDownloadResultModel getModel() { + return model; + } + + public void setModel(ConsoleAdminUploadGameVersionByDownloadResultModel model) { + this.model = model; + } + + public ConsoleAdminUploadGameVersionByDownloadResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ConsoleAdminUploadGameVersionByDownloadResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminUploadGameVersionByDownloadResult consoleAdminUploadGameVersionByDownloadResult = (ConsoleAdminUploadGameVersionByDownloadResult) o; + return Objects.equals(this.success, consoleAdminUploadGameVersionByDownloadResult.success) && + Objects.equals(this.model, consoleAdminUploadGameVersionByDownloadResult.model) && + Objects.equals(this.msgInfo, consoleAdminUploadGameVersionByDownloadResult.msgInfo) && + Objects.equals(this.msgCode, consoleAdminUploadGameVersionByDownloadResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminUploadGameVersionByDownloadResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 9d7edbde857ad178d0bb603e6225b93a4998a039 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:38 +0800 Subject: [PATCH 114/235] feat: update --- ...ploadGameVersionByDownloadResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadResultModel.java new file mode 100644 index 000000000..974e1a149 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ConsoleAdminUploadGameVersionByDownloadResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ConsoleAdminUploadGameVersionByDownloadResultModel + */ +public class ConsoleAdminUploadGameVersionByDownloadResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String taskId = null; + + + public ConsoleAdminUploadGameVersionByDownloadResultModel taskId(String taskId) { + this.taskId = taskId; + return this; + } + + /** + * Get taskId + * @return taskId + **/ + public String getTaskId() { + return taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConsoleAdminUploadGameVersionByDownloadResultModel consoleAdminUploadGameVersionByDownloadResultModel = (ConsoleAdminUploadGameVersionByDownloadResultModel) o; + return Objects.equals(this.taskId, consoleAdminUploadGameVersionByDownloadResultModel.taskId); + } + + @Override + public int hashCode() { + return Objects.hash(taskId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConsoleAdminUploadGameVersionByDownloadResultModel {"); + + sb.append(",taskId: ").append(toIndentedString(taskId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 0474d3c70a2fdea66cd618678e27507bbec448c6 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:39 +0800 Subject: [PATCH 115/235] feat: update --- .../client/model/GameNotifyForms.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GameNotifyForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GameNotifyForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/GameNotifyForms.java new file mode 100644 index 000000000..04a51d772 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GameNotifyForms.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * GameNotifyForms + */ +public class GameNotifyForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String appKey = null; + + + private String gameSession = null; + + + private String type = null; + + + private String value = null; + + + public GameNotifyForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * appKey + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public GameNotifyForms gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * Get gameSession + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + public GameNotifyForms type(String type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public GameNotifyForms value(String value) { + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GameNotifyForms gameNotifyForms = (GameNotifyForms) o; + return Objects.equals(this.appKey, gameNotifyForms.appKey) && + Objects.equals(this.gameSession, gameNotifyForms.gameSession) && + Objects.equals(this.type, gameNotifyForms.type) && + Objects.equals(this.value, gameNotifyForms.value); + } + + @Override + public int hashCode() { + return Objects.hash(appKey, gameSession, type, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GameNotifyForms {"); + + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append(",type: ").append(toIndentedString(type)); + sb.append(",value: ").append(toIndentedString(value)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 1b1b355c23cbe1dfc2fc7b3715be64a27d72eb66 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:40 +0800 Subject: [PATCH 116/235] feat: update --- .../client/model/GameNotifyResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GameNotifyResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GameNotifyResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/GameNotifyResult.java new file mode 100644 index 000000000..a1d917705 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GameNotifyResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.GameNotifyResultModel; +import java.io.Serializable; +/** + * GameNotifyResult + */ +public class GameNotifyResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private GameNotifyResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public GameNotifyResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public GameNotifyResult model(GameNotifyResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public GameNotifyResultModel getModel() { + return model; + } + + public void setModel(GameNotifyResultModel model) { + this.model = model; + } + + public GameNotifyResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public GameNotifyResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GameNotifyResult gameNotifyResult = (GameNotifyResult) o; + return Objects.equals(this.success, gameNotifyResult.success) && + Objects.equals(this.model, gameNotifyResult.model) && + Objects.equals(this.msgInfo, gameNotifyResult.msgInfo) && + Objects.equals(this.msgCode, gameNotifyResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GameNotifyResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 525816de4f22cca7281fda08cb5867cfdd14bd9d Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:41 +0800 Subject: [PATCH 117/235] feat: update --- .../client/model/GameNotifyResultModel.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GameNotifyResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GameNotifyResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/GameNotifyResultModel.java new file mode 100644 index 000000000..2ecd51abd --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GameNotifyResultModel.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * GameNotifyResultModel + */ +public class GameNotifyResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String code = null; + + + private Boolean success = null; + + + private String message = null; + + + private String gameSession = null; + + + public GameNotifyResultModel code(String code) { + this.code = code; + return this; + } + + /** + * Get code + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public GameNotifyResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public GameNotifyResultModel message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public GameNotifyResultModel gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * Get gameSession + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GameNotifyResultModel gameNotifyResultModel = (GameNotifyResultModel) o; + return Objects.equals(this.code, gameNotifyResultModel.code) && + Objects.equals(this.success, gameNotifyResultModel.success) && + Objects.equals(this.message, gameNotifyResultModel.message) && + Objects.equals(this.gameSession, gameNotifyResultModel.gameSession); + } + + @Override + public int hashCode() { + return Objects.hash(code, success, message, gameSession); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GameNotifyResultModel {"); + + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From ee876f90a0ed51c9a33288c879bdb950aad6c210 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:43 +0800 Subject: [PATCH 118/235] feat: update --- .../client/model/GetGameConcurrencyForms.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyForms.java new file mode 100644 index 000000000..dd6ca377d --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyForms.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * GetGameConcurrencyForms + */ +public class GetGameConcurrencyForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String appKey = null; + + + private Boolean queryQueueConcurrency = null; + + + private Integer queueUserLevel = null; + + + public GetGameConcurrencyForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * 游戏ID + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public GetGameConcurrencyForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * 云游戏项目应用AK + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public GetGameConcurrencyForms queryQueueConcurrency(Boolean queryQueueConcurrency) { + this.queryQueueConcurrency = queryQueueConcurrency; + return this; + } + + /** + * 是否查询PaaS当前排队人数 + * @return queryQueueConcurrency + **/ + public Boolean getQueryQueueConcurrency() { + return queryQueueConcurrency; + } + + public void setQueryQueueConcurrency(Boolean queryQueueConcurrency) { + this.queryQueueConcurrency = queryQueueConcurrency; + } + + public GetGameConcurrencyForms queueUserLevel(Integer queueUserLevel) { + this.queueUserLevel = queueUserLevel; + return this; + } + + /** + * 指定userLevel查询当前userLevel排队人数,不指定时,查询当前所有排队人数 + * @return queueUserLevel + **/ + public Integer getQueueUserLevel() { + return queueUserLevel; + } + + public void setQueueUserLevel(Integer queueUserLevel) { + this.queueUserLevel = queueUserLevel; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetGameConcurrencyForms getGameConcurrencyForms = (GetGameConcurrencyForms) o; + return Objects.equals(this.gameId, getGameConcurrencyForms.gameId) && + Objects.equals(this.appKey, getGameConcurrencyForms.appKey) && + Objects.equals(this.queryQueueConcurrency, getGameConcurrencyForms.queryQueueConcurrency) && + Objects.equals(this.queueUserLevel, getGameConcurrencyForms.queueUserLevel); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, appKey, queryQueueConcurrency, queueUserLevel); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetGameConcurrencyForms {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",queryQueueConcurrency: ").append(toIndentedString(queryQueueConcurrency)); + sb.append(",queueUserLevel: ").append(toIndentedString(queueUserLevel)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 7572b7cbf7013056456c6eab8e34c0bf3ace1d59 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:44 +0800 Subject: [PATCH 119/235] feat: update --- .../model/GetGameConcurrencyResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyResult.java new file mode 100644 index 000000000..594b3f9da --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.GetGameConcurrencyResultModel; +import java.io.Serializable; +/** + * GetGameConcurrencyResult + */ +public class GetGameConcurrencyResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private GetGameConcurrencyResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public GetGameConcurrencyResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public GetGameConcurrencyResult model(GetGameConcurrencyResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public GetGameConcurrencyResultModel getModel() { + return model; + } + + public void setModel(GetGameConcurrencyResultModel model) { + this.model = model; + } + + public GetGameConcurrencyResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public GetGameConcurrencyResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetGameConcurrencyResult getGameConcurrencyResult = (GetGameConcurrencyResult) o; + return Objects.equals(this.success, getGameConcurrencyResult.success) && + Objects.equals(this.model, getGameConcurrencyResult.model) && + Objects.equals(this.msgInfo, getGameConcurrencyResult.msgInfo) && + Objects.equals(this.msgCode, getGameConcurrencyResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetGameConcurrencyResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From c55b390b9445cc125664ecb9538aa12bdbcd0a59 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:45 +0800 Subject: [PATCH 120/235] feat: update --- .../model/GetGameConcurrencyResultModel.java | 265 ++++++++++++++++++ 1 file changed, 265 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyResultModel.java new file mode 100644 index 000000000..04d4fc949 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyResultModel.java @@ -0,0 +1,265 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.GetGameConcurrencyResultModelPlayingRegionList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * GetGameConcurrencyResultModel + */ +public class GetGameConcurrencyResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private Long currentTime = null; + + + private List playingRegionList = null; + + + private String code = null; + + + private Long playingTotal = null; + + + private Boolean success = null; + + + private Long queuingTotal = null; + + + private String message = null; + + + private String projectId = null; + + + public GetGameConcurrencyResultModel gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Paas平台游戏ID + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public GetGameConcurrencyResultModel currentTime(Long currentTime) { + this.currentTime = currentTime; + return this; + } + + /** + * 当前毫秒时间戳 + * @return currentTime + **/ + public Long getCurrentTime() { + return currentTime; + } + + public void setCurrentTime(Long currentTime) { + this.currentTime = currentTime; + } + + public GetGameConcurrencyResultModel playingRegionList(List playingRegionList) { + this.playingRegionList = playingRegionList; + return this; + } + + public GetGameConcurrencyResultModel addPlayingRegionListItem(GetGameConcurrencyResultModelPlayingRegionList playingRegionListItem) { + if (this.playingRegionList == null) { + this.playingRegionList = new ArrayList(); + } + this.playingRegionList.add(playingRegionListItem); + return this; + } + + /** + * 当前游戏region维度游戏中人数统计 + * @return playingRegionList + **/ + public List getPlayingRegionList() { + return playingRegionList; + } + + public void setPlayingRegionList(List playingRegionList) { + this.playingRegionList = playingRegionList; + } + + public GetGameConcurrencyResultModel code(String code) { + this.code = code; + return this; + } + + /** + * 错误码 + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public GetGameConcurrencyResultModel playingTotal(Long playingTotal) { + this.playingTotal = playingTotal; + return this; + } + + /** + * 当前游戏中人数 + * @return playingTotal + **/ + public Long getPlayingTotal() { + return playingTotal; + } + + public void setPlayingTotal(Long playingTotal) { + this.playingTotal = playingTotal; + } + + public GetGameConcurrencyResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * 查询结果 + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public GetGameConcurrencyResultModel queuingTotal(Long queuingTotal) { + this.queuingTotal = queuingTotal; + return this; + } + + /** + * 当前排队人数 + * @return queuingTotal + **/ + public Long getQueuingTotal() { + return queuingTotal; + } + + public void setQueuingTotal(Long queuingTotal) { + this.queuingTotal = queuingTotal; + } + + public GetGameConcurrencyResultModel message(String message) { + this.message = message; + return this; + } + + /** + * 错误信息 + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public GetGameConcurrencyResultModel projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * 游戏归属的项目Id + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetGameConcurrencyResultModel getGameConcurrencyResultModel = (GetGameConcurrencyResultModel) o; + return Objects.equals(this.gameId, getGameConcurrencyResultModel.gameId) && + Objects.equals(this.currentTime, getGameConcurrencyResultModel.currentTime) && + Objects.equals(this.playingRegionList, getGameConcurrencyResultModel.playingRegionList) && + Objects.equals(this.code, getGameConcurrencyResultModel.code) && + Objects.equals(this.playingTotal, getGameConcurrencyResultModel.playingTotal) && + Objects.equals(this.success, getGameConcurrencyResultModel.success) && + Objects.equals(this.queuingTotal, getGameConcurrencyResultModel.queuingTotal) && + Objects.equals(this.message, getGameConcurrencyResultModel.message) && + Objects.equals(this.projectId, getGameConcurrencyResultModel.projectId); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, currentTime, playingRegionList, code, playingTotal, success, queuingTotal, message, projectId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetGameConcurrencyResultModel {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",currentTime: ").append(toIndentedString(currentTime)); + sb.append(",playingRegionList: ").append(toIndentedString(playingRegionList)); + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",playingTotal: ").append(toIndentedString(playingTotal)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",queuingTotal: ").append(toIndentedString(queuingTotal)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 08e5963f4298474dc8ad0bbba36078a1e9c285cb Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:46 +0800 Subject: [PATCH 121/235] feat: update --- ...ncurrencyResultModelPlayingRegionList.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyResultModelPlayingRegionList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyResultModelPlayingRegionList.java b/src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyResultModelPlayingRegionList.java new file mode 100644 index 000000000..b64478fd6 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GetGameConcurrencyResultModelPlayingRegionList.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * GetGameConcurrencyResultModelPlayingRegionList + */ +public class GetGameConcurrencyResultModelPlayingRegionList implements Serializable { + private static final long serialVersionUID = 1L; + + private Long ccu = null; + + + private String regionId = null; + + + public GetGameConcurrencyResultModelPlayingRegionList ccu(Long ccu) { + this.ccu = ccu; + return this; + } + + /** + * 当前游戏指定region游戏中人数 + * @return ccu + **/ + public Long getCcu() { + return ccu; + } + + public void setCcu(Long ccu) { + this.ccu = ccu; + } + + public GetGameConcurrencyResultModelPlayingRegionList regionId(String regionId) { + this.regionId = regionId; + return this; + } + + /** + * 当前统计的regionId + * @return regionId + **/ + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetGameConcurrencyResultModelPlayingRegionList getGameConcurrencyResultModelPlayingRegionList = (GetGameConcurrencyResultModelPlayingRegionList) o; + return Objects.equals(this.ccu, getGameConcurrencyResultModelPlayingRegionList.ccu) && + Objects.equals(this.regionId, getGameConcurrencyResultModelPlayingRegionList.regionId); + } + + @Override + public int hashCode() { + return Objects.hash(ccu, regionId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetGameConcurrencyResultModelPlayingRegionList {"); + + sb.append(",ccu: ").append(toIndentedString(ccu)); + sb.append(",regionId: ").append(toIndentedString(regionId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 0b0a4dace80d925d5da7bc7ceb3a7e0d1f68f950 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:48 +0800 Subject: [PATCH 122/235] feat: update --- .../yjopenapi/client/model/GetPairResult.java | 166 ++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GetPairResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GetPairResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/GetPairResult.java new file mode 100644 index 000000000..c3a427d89 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GetPairResult.java @@ -0,0 +1,166 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * GetPairResult + */ +public class GetPairResult implements Serializable { + private static final long serialVersionUID = 1L; + + private String expired = null; + + + private String code = null; + + + private String message = null; + + + private String token = null; + + + private String accessSecret = null; + + + public GetPairResult expired(String expired) { + this.expired = expired; + return this; + } + + /** + * token失效时间戳,单位:秒 + * @return expired + **/ + public String getExpired() { + return expired; + } + + public void setExpired(String expired) { + this.expired = expired; + } + + public GetPairResult code(String code) { + this.code = code; + return this; + } + + /** + * 返回码 + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public GetPairResult message(String message) { + this.message = message; + return this; + } + + /** + * 返回信息 + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public GetPairResult token(String token) { + this.token = token; + return this; + } + + /** + * 临时token + * @return token + **/ + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } + + public GetPairResult accessSecret(String accessSecret) { + this.accessSecret = accessSecret; + return this; + } + + /** + * 临时secretKey + * @return accessSecret + **/ + public String getAccessSecret() { + return accessSecret; + } + + public void setAccessSecret(String accessSecret) { + this.accessSecret = accessSecret; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetPairResult getPairResult = (GetPairResult) o; + return Objects.equals(this.expired, getPairResult.expired) && + Objects.equals(this.code, getPairResult.code) && + Objects.equals(this.message, getPairResult.message) && + Objects.equals(this.token, getPairResult.token) && + Objects.equals(this.accessSecret, getPairResult.accessSecret); + } + + @Override + public int hashCode() { + return Objects.hash(expired, code, message, token, accessSecret); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetPairResult {"); + + sb.append(",expired: ").append(toIndentedString(expired)); + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",token: ").append(toIndentedString(token)); + sb.append(",accessSecret: ").append(toIndentedString(accessSecret)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From ce5b87ca5356344b251e474a68b4fdde1533d876 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:49 +0800 Subject: [PATCH 123/235] feat: update --- .../yjopenapi/client/model/GetStockForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GetStockForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GetStockForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/GetStockForms.java new file mode 100644 index 000000000..c8fd0708c --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GetStockForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * GetStockForms + */ +public class GetStockForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String appKey = null; + + + private String type = null; + + + public GetStockForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Paas平台部署的游戏Id + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public GetStockForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * 查询库存类型 + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public GetStockForms type(String type) { + this.type = type; + return this; + } + + /** + * 通过接口获取的token + * @return type + **/ + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetStockForms getStockForms = (GetStockForms) o; + return Objects.equals(this.gameId, getStockForms.gameId) && + Objects.equals(this.appKey, getStockForms.appKey) && + Objects.equals(this.type, getStockForms.type); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, appKey, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetStockForms {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",type: ").append(toIndentedString(type)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From b57e06a2646f4da35691a4ba74492595bd0350e1 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:50 +0800 Subject: [PATCH 124/235] feat: update --- .../client/model/GetStockResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GetStockResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GetStockResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/GetStockResult.java new file mode 100644 index 000000000..1b231c5ad --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GetStockResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.GetStockResultModel; +import java.io.Serializable; +/** + * GetStockResult + */ +public class GetStockResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private GetStockResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public GetStockResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public GetStockResult model(GetStockResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public GetStockResultModel getModel() { + return model; + } + + public void setModel(GetStockResultModel model) { + this.model = model; + } + + public GetStockResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public GetStockResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetStockResult getStockResult = (GetStockResult) o; + return Objects.equals(this.success, getStockResult.success) && + Objects.equals(this.model, getStockResult.model) && + Objects.equals(this.msgInfo, getStockResult.msgInfo) && + Objects.equals(this.msgCode, getStockResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetStockResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 3cea1b197ad6c317b8b8ce10c0ad9bed3840b465 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:52 +0800 Subject: [PATCH 125/235] feat: update --- .../client/model/GetStockResultModel.java | 309 ++++++++++++++++++ 1 file changed, 309 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GetStockResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GetStockResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/GetStockResultModel.java new file mode 100644 index 000000000..b057ddc3d --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GetStockResultModel.java @@ -0,0 +1,309 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.GetStockResultModelInstanceStockList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * GetStockResultModel + */ +public class GetStockResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private Long currentTime = null; + + + private String code = null; + + + private String requestId = null; + + + private Boolean success = null; + + + private String message = null; + + + private Integer quotaTotal = null; + + + private Integer usedTotal = null; + + + private String projectId = null; + + + private Integer availableTotal = null; + + + private List instanceStockList = null; + + + public GetStockResultModel gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Paas平台游戏ID + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public GetStockResultModel currentTime(Long currentTime) { + this.currentTime = currentTime; + return this; + } + + /** + * 当前毫秒时间戳 + * @return currentTime + **/ + public Long getCurrentTime() { + return currentTime; + } + + public void setCurrentTime(Long currentTime) { + this.currentTime = currentTime; + } + + public GetStockResultModel code(String code) { + this.code = code; + return this; + } + + /** + * 返回码 + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public GetStockResultModel requestId(String requestId) { + this.requestId = requestId; + return this; + } + + /** + * 请求链路唯一标示 + * @return requestId + **/ + public String getRequestId() { + return requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public GetStockResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * 调度执行结果 + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public GetStockResultModel message(String message) { + this.message = message; + return this; + } + + /** + * 返回信息 + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public GetStockResultModel quotaTotal(Integer quotaTotal) { + this.quotaTotal = quotaTotal; + return this; + } + + /** + * 总路数 + * @return quotaTotal + **/ + public Integer getQuotaTotal() { + return quotaTotal; + } + + public void setQuotaTotal(Integer quotaTotal) { + this.quotaTotal = quotaTotal; + } + + public GetStockResultModel usedTotal(Integer usedTotal) { + this.usedTotal = usedTotal; + return this; + } + + /** + * 已使用路数 + * @return usedTotal + **/ + public Integer getUsedTotal() { + return usedTotal; + } + + public void setUsedTotal(Integer usedTotal) { + this.usedTotal = usedTotal; + } + + public GetStockResultModel projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * 游戏归属的项目Id + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public GetStockResultModel availableTotal(Integer availableTotal) { + this.availableTotal = availableTotal; + return this; + } + + /** + * 可用剩余路数 + * @return availableTotal + **/ + public Integer getAvailableTotal() { + return availableTotal; + } + + public void setAvailableTotal(Integer availableTotal) { + this.availableTotal = availableTotal; + } + + public GetStockResultModel instanceStockList(List instanceStockList) { + this.instanceStockList = instanceStockList; + return this; + } + + public GetStockResultModel addInstanceStockListItem(GetStockResultModelInstanceStockList instanceStockListItem) { + if (this.instanceStockList == null) { + this.instanceStockList = new ArrayList(); + } + this.instanceStockList.add(instanceStockListItem); + return this; + } + + /** + * Get instanceStockList + * @return instanceStockList + **/ + public List getInstanceStockList() { + return instanceStockList; + } + + public void setInstanceStockList(List instanceStockList) { + this.instanceStockList = instanceStockList; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetStockResultModel getStockResultModel = (GetStockResultModel) o; + return Objects.equals(this.gameId, getStockResultModel.gameId) && + Objects.equals(this.currentTime, getStockResultModel.currentTime) && + Objects.equals(this.code, getStockResultModel.code) && + Objects.equals(this.requestId, getStockResultModel.requestId) && + Objects.equals(this.success, getStockResultModel.success) && + Objects.equals(this.message, getStockResultModel.message) && + Objects.equals(this.quotaTotal, getStockResultModel.quotaTotal) && + Objects.equals(this.usedTotal, getStockResultModel.usedTotal) && + Objects.equals(this.projectId, getStockResultModel.projectId) && + Objects.equals(this.availableTotal, getStockResultModel.availableTotal) && + Objects.equals(this.instanceStockList, getStockResultModel.instanceStockList); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, currentTime, code, requestId, success, message, quotaTotal, usedTotal, projectId, availableTotal, instanceStockList); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetStockResultModel {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",currentTime: ").append(toIndentedString(currentTime)); + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",requestId: ").append(toIndentedString(requestId)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",quotaTotal: ").append(toIndentedString(quotaTotal)); + sb.append(",usedTotal: ").append(toIndentedString(usedTotal)); + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append(",availableTotal: ").append(toIndentedString(availableTotal)); + sb.append(",instanceStockList: ").append(toIndentedString(instanceStockList)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 5d44bb75591c2e1728f97bf1d394ecbbc9618cdb Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:53 +0800 Subject: [PATCH 126/235] feat: update --- .../GetStockResultModelInstanceStockList.java | 254 ++++++++++++++++++ 1 file changed, 254 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GetStockResultModelInstanceStockList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GetStockResultModelInstanceStockList.java b/src/main/java/com/alibaba/yjopenapi/client/model/GetStockResultModelInstanceStockList.java new file mode 100644 index 000000000..26da7d7b8 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GetStockResultModelInstanceStockList.java @@ -0,0 +1,254 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * GetStockResultModelInstanceStockList + */ +public class GetStockResultModelInstanceStockList implements Serializable { + private static final long serialVersionUID = 1L; + + private String instanceId = null; + + + private Integer instanceGameAvailableTotal = null; + + + private Integer instanceTotal = null; + + + private Integer instanceAvailableTotal = null; + + + private Integer instanceGameTotal = null; + + + private Integer instanceUsedTotal = null; + + + private Integer instanceGameUsedTotal = null; + + + private String instanceRegionId = null; + + + private Integer instanceUserLevel = null; + + + public GetStockResultModelInstanceStockList instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * 实例id + * @return instanceId + **/ + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public GetStockResultModelInstanceStockList instanceGameAvailableTotal(Integer instanceGameAvailableTotal) { + this.instanceGameAvailableTotal = instanceGameAvailableTotal; + return this; + } + + /** + * 实例游戏当前可使用路数 + * @return instanceGameAvailableTotal + **/ + public Integer getInstanceGameAvailableTotal() { + return instanceGameAvailableTotal; + } + + public void setInstanceGameAvailableTotal(Integer instanceGameAvailableTotal) { + this.instanceGameAvailableTotal = instanceGameAvailableTotal; + } + + public GetStockResultModelInstanceStockList instanceTotal(Integer instanceTotal) { + this.instanceTotal = instanceTotal; + return this; + } + + /** + * 实例总路数 + * @return instanceTotal + **/ + public Integer getInstanceTotal() { + return instanceTotal; + } + + public void setInstanceTotal(Integer instanceTotal) { + this.instanceTotal = instanceTotal; + } + + public GetStockResultModelInstanceStockList instanceAvailableTotal(Integer instanceAvailableTotal) { + this.instanceAvailableTotal = instanceAvailableTotal; + return this; + } + + /** + * 实例可用路数 + * @return instanceAvailableTotal + **/ + public Integer getInstanceAvailableTotal() { + return instanceAvailableTotal; + } + + public void setInstanceAvailableTotal(Integer instanceAvailableTotal) { + this.instanceAvailableTotal = instanceAvailableTotal; + } + + public GetStockResultModelInstanceStockList instanceGameTotal(Integer instanceGameTotal) { + this.instanceGameTotal = instanceGameTotal; + return this; + } + + /** + * 实例配置游戏总路数 + * @return instanceGameTotal + **/ + public Integer getInstanceGameTotal() { + return instanceGameTotal; + } + + public void setInstanceGameTotal(Integer instanceGameTotal) { + this.instanceGameTotal = instanceGameTotal; + } + + public GetStockResultModelInstanceStockList instanceUsedTotal(Integer instanceUsedTotal) { + this.instanceUsedTotal = instanceUsedTotal; + return this; + } + + /** + * 实例已用路数 + * @return instanceUsedTotal + **/ + public Integer getInstanceUsedTotal() { + return instanceUsedTotal; + } + + public void setInstanceUsedTotal(Integer instanceUsedTotal) { + this.instanceUsedTotal = instanceUsedTotal; + } + + public GetStockResultModelInstanceStockList instanceGameUsedTotal(Integer instanceGameUsedTotal) { + this.instanceGameUsedTotal = instanceGameUsedTotal; + return this; + } + + /** + * 实例游戏当前已使用路数 + * @return instanceGameUsedTotal + **/ + public Integer getInstanceGameUsedTotal() { + return instanceGameUsedTotal; + } + + public void setInstanceGameUsedTotal(Integer instanceGameUsedTotal) { + this.instanceGameUsedTotal = instanceGameUsedTotal; + } + + public GetStockResultModelInstanceStockList instanceRegionId(String instanceRegionId) { + this.instanceRegionId = instanceRegionId; + return this; + } + + /** + * 实例大区ID + * @return instanceRegionId + **/ + public String getInstanceRegionId() { + return instanceRegionId; + } + + public void setInstanceRegionId(String instanceRegionId) { + this.instanceRegionId = instanceRegionId; + } + + public GetStockResultModelInstanceStockList instanceUserLevel(Integer instanceUserLevel) { + this.instanceUserLevel = instanceUserLevel; + return this; + } + + /** + * 实例调度等级 + * @return instanceUserLevel + **/ + public Integer getInstanceUserLevel() { + return instanceUserLevel; + } + + public void setInstanceUserLevel(Integer instanceUserLevel) { + this.instanceUserLevel = instanceUserLevel; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetStockResultModelInstanceStockList getStockResultModelInstanceStockList = (GetStockResultModelInstanceStockList) o; + return Objects.equals(this.instanceId, getStockResultModelInstanceStockList.instanceId) && + Objects.equals(this.instanceGameAvailableTotal, getStockResultModelInstanceStockList.instanceGameAvailableTotal) && + Objects.equals(this.instanceTotal, getStockResultModelInstanceStockList.instanceTotal) && + Objects.equals(this.instanceAvailableTotal, getStockResultModelInstanceStockList.instanceAvailableTotal) && + Objects.equals(this.instanceGameTotal, getStockResultModelInstanceStockList.instanceGameTotal) && + Objects.equals(this.instanceUsedTotal, getStockResultModelInstanceStockList.instanceUsedTotal) && + Objects.equals(this.instanceGameUsedTotal, getStockResultModelInstanceStockList.instanceGameUsedTotal) && + Objects.equals(this.instanceRegionId, getStockResultModelInstanceStockList.instanceRegionId) && + Objects.equals(this.instanceUserLevel, getStockResultModelInstanceStockList.instanceUserLevel); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, instanceGameAvailableTotal, instanceTotal, instanceAvailableTotal, instanceGameTotal, instanceUsedTotal, instanceGameUsedTotal, instanceRegionId, instanceUserLevel); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetStockResultModelInstanceStockList {"); + + sb.append(",instanceId: ").append(toIndentedString(instanceId)); + sb.append(",instanceGameAvailableTotal: ").append(toIndentedString(instanceGameAvailableTotal)); + sb.append(",instanceTotal: ").append(toIndentedString(instanceTotal)); + sb.append(",instanceAvailableTotal: ").append(toIndentedString(instanceAvailableTotal)); + sb.append(",instanceGameTotal: ").append(toIndentedString(instanceGameTotal)); + sb.append(",instanceUsedTotal: ").append(toIndentedString(instanceUsedTotal)); + sb.append(",instanceGameUsedTotal: ").append(toIndentedString(instanceGameUsedTotal)); + sb.append(",instanceRegionId: ").append(toIndentedString(instanceRegionId)); + sb.append(",instanceUserLevel: ").append(toIndentedString(instanceUserLevel)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 9240765dd39be740cc5262d0a565fd9983db753b Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:54 +0800 Subject: [PATCH 127/235] feat: update --- .../client/model/GetStopGameTokenForms.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GetStopGameTokenForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GetStopGameTokenForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/GetStopGameTokenForms.java new file mode 100644 index 000000000..dbff17ee6 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GetStopGameTokenForms.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * GetStopGameTokenForms + */ +public class GetStopGameTokenForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String appKey = null; + + + public GetStopGameTokenForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Paas平台部署的游戏Id + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public GetStopGameTokenForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * Paas平台AK(应用的AK,非服务端AK) + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetStopGameTokenForms getStopGameTokenForms = (GetStopGameTokenForms) o; + return Objects.equals(this.gameId, getStopGameTokenForms.gameId) && + Objects.equals(this.appKey, getStopGameTokenForms.appKey); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, appKey); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetStopGameTokenForms {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From db364c5d14d029907ae629a78358135716dc3b12 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:56 +0800 Subject: [PATCH 128/235] feat: update --- .../client/model/GetStopGameTokenResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GetStopGameTokenResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GetStopGameTokenResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/GetStopGameTokenResult.java new file mode 100644 index 000000000..d10f7d5ce --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GetStopGameTokenResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.GetStopGameTokenResultModel; +import java.io.Serializable; +/** + * GetStopGameTokenResult + */ +public class GetStopGameTokenResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private GetStopGameTokenResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public GetStopGameTokenResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public GetStopGameTokenResult model(GetStopGameTokenResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public GetStopGameTokenResultModel getModel() { + return model; + } + + public void setModel(GetStopGameTokenResultModel model) { + this.model = model; + } + + public GetStopGameTokenResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public GetStopGameTokenResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetStopGameTokenResult getStopGameTokenResult = (GetStopGameTokenResult) o; + return Objects.equals(this.success, getStopGameTokenResult.success) && + Objects.equals(this.model, getStopGameTokenResult.model) && + Objects.equals(this.msgInfo, getStopGameTokenResult.msgInfo) && + Objects.equals(this.msgCode, getStopGameTokenResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetStopGameTokenResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 37afb46e9e50c297d17fa42f1e8054e65bfb747c Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:57 +0800 Subject: [PATCH 129/235] feat: update --- .../model/GetStopGameTokenResultModel.java | 188 ++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GetStopGameTokenResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GetStopGameTokenResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/GetStopGameTokenResultModel.java new file mode 100644 index 000000000..6735c7ec8 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GetStopGameTokenResultModel.java @@ -0,0 +1,188 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * GetStopGameTokenResultModel + */ +public class GetStopGameTokenResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Long expireTime = null; + + + private String code = null; + + + private String requestId = null; + + + private Boolean success = null; + + + private String message = null; + + + private String token = null; + + + public GetStopGameTokenResultModel expireTime(Long expireTime) { + this.expireTime = expireTime; + return this; + } + + /** + * 当前token失效时间 + * @return expireTime + **/ + public Long getExpireTime() { + return expireTime; + } + + public void setExpireTime(Long expireTime) { + this.expireTime = expireTime; + } + + public GetStopGameTokenResultModel code(String code) { + this.code = code; + return this; + } + + /** + * 返回码 + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public GetStopGameTokenResultModel requestId(String requestId) { + this.requestId = requestId; + return this; + } + + /** + * 请求链路唯一标示 + * @return requestId + **/ + public String getRequestId() { + return requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public GetStopGameTokenResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * 调度执行结果 + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public GetStopGameTokenResultModel message(String message) { + this.message = message; + return this; + } + + /** + * 返回信息 + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public GetStopGameTokenResultModel token(String token) { + this.token = token; + return this; + } + + /** + * token + * @return token + **/ + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetStopGameTokenResultModel getStopGameTokenResultModel = (GetStopGameTokenResultModel) o; + return Objects.equals(this.expireTime, getStopGameTokenResultModel.expireTime) && + Objects.equals(this.code, getStopGameTokenResultModel.code) && + Objects.equals(this.requestId, getStopGameTokenResultModel.requestId) && + Objects.equals(this.success, getStopGameTokenResultModel.success) && + Objects.equals(this.message, getStopGameTokenResultModel.message) && + Objects.equals(this.token, getStopGameTokenResultModel.token); + } + + @Override + public int hashCode() { + return Objects.hash(expireTime, code, requestId, success, message, token); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetStopGameTokenResultModel {"); + + sb.append(",expireTime: ").append(toIndentedString(expireTime)); + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",requestId: ").append(toIndentedString(requestId)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",token: ").append(toIndentedString(token)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 526a42ec969995a3335ae77f7e92c59306d4f231 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:58 +0800 Subject: [PATCH 130/235] feat: update --- .../client/model/GetTripleResult.java | 188 ++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/GetTripleResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/GetTripleResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/GetTripleResult.java new file mode 100644 index 000000000..275004c3d --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/GetTripleResult.java @@ -0,0 +1,188 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * GetTripleResult + */ +public class GetTripleResult implements Serializable { + private static final long serialVersionUID = 1L; + + private String expired = null; + + + private String code = null; + + + private String accessKey = null; + + + private String message = null; + + + private String token = null; + + + private String accessSecret = null; + + + public GetTripleResult expired(String expired) { + this.expired = expired; + return this; + } + + /** + * token失效时间戳,单位:秒 + * @return expired + **/ + public String getExpired() { + return expired; + } + + public void setExpired(String expired) { + this.expired = expired; + } + + public GetTripleResult code(String code) { + this.code = code; + return this; + } + + /** + * 返回码 + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public GetTripleResult accessKey(String accessKey) { + this.accessKey = accessKey; + return this; + } + + /** + * 临时accessKey + * @return accessKey + **/ + public String getAccessKey() { + return accessKey; + } + + public void setAccessKey(String accessKey) { + this.accessKey = accessKey; + } + + public GetTripleResult message(String message) { + this.message = message; + return this; + } + + /** + * 返回信息 + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public GetTripleResult token(String token) { + this.token = token; + return this; + } + + /** + * 临时token + * @return token + **/ + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } + + public GetTripleResult accessSecret(String accessSecret) { + this.accessSecret = accessSecret; + return this; + } + + /** + * 临时secretKey + * @return accessSecret + **/ + public String getAccessSecret() { + return accessSecret; + } + + public void setAccessSecret(String accessSecret) { + this.accessSecret = accessSecret; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetTripleResult getTripleResult = (GetTripleResult) o; + return Objects.equals(this.expired, getTripleResult.expired) && + Objects.equals(this.code, getTripleResult.code) && + Objects.equals(this.accessKey, getTripleResult.accessKey) && + Objects.equals(this.message, getTripleResult.message) && + Objects.equals(this.token, getTripleResult.token) && + Objects.equals(this.accessSecret, getTripleResult.accessSecret); + } + + @Override + public int hashCode() { + return Objects.hash(expired, code, accessKey, message, token, accessSecret); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetTripleResult {"); + + sb.append(",expired: ").append(toIndentedString(expired)); + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",accessKey: ").append(toIndentedString(accessKey)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",token: ").append(toIndentedString(token)); + sb.append(",accessSecret: ").append(toIndentedString(accessSecret)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From cb00b0ea810b7283b2e6ae4734993d6790b21a17 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:12:59 +0800 Subject: [PATCH 131/235] feat: update --- .../client/model/ListGameServerIpForms.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ListGameServerIpForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ListGameServerIpForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/ListGameServerIpForms.java new file mode 100644 index 000000000..9d726990c --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ListGameServerIpForms.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * ListGameServerIpForms + */ +public class ListGameServerIpForms implements Serializable { + private static final long serialVersionUID = 1L; + + private Long pageSize = null; + + + private String nextToken = null; + + + public ListGameServerIpForms pageSize(Long pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * 分页大小,默认100 + * @return pageSize + **/ + public Long getPageSize() { + return pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + } + + public ListGameServerIpForms nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * 分页标识 + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListGameServerIpForms listGameServerIpForms = (ListGameServerIpForms) o; + return Objects.equals(this.pageSize, listGameServerIpForms.pageSize) && + Objects.equals(this.nextToken, listGameServerIpForms.nextToken); + } + + @Override + public int hashCode() { + return Objects.hash(pageSize, nextToken); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ListGameServerIpForms {"); + + sb.append(",pageSize: ").append(toIndentedString(pageSize)); + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 08f627042c6aa06f852abfeeabbcafdf1f5cef7c Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:01 +0800 Subject: [PATCH 132/235] feat: update --- .../client/model/ListGameServerIpResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ListGameServerIpResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ListGameServerIpResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/ListGameServerIpResult.java new file mode 100644 index 000000000..5a1ef26d4 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ListGameServerIpResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.ListGameServerIpResultModel; +import java.io.Serializable; +/** + * ListGameServerIpResult + */ +public class ListGameServerIpResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private ListGameServerIpResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public ListGameServerIpResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public ListGameServerIpResult model(ListGameServerIpResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public ListGameServerIpResultModel getModel() { + return model; + } + + public void setModel(ListGameServerIpResultModel model) { + this.model = model; + } + + public ListGameServerIpResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public ListGameServerIpResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListGameServerIpResult listGameServerIpResult = (ListGameServerIpResult) o; + return Objects.equals(this.success, listGameServerIpResult.success) && + Objects.equals(this.model, listGameServerIpResult.model) && + Objects.equals(this.msgInfo, listGameServerIpResult.msgInfo) && + Objects.equals(this.msgCode, listGameServerIpResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ListGameServerIpResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 3b4d90376c5309f8b009bd464aa1191e50e6d677 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:02 +0800 Subject: [PATCH 133/235] feat: update --- .../model/ListGameServerIpResultModel.java | 154 ++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/ListGameServerIpResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/ListGameServerIpResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/ListGameServerIpResultModel.java new file mode 100644 index 000000000..ec187ea20 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/ListGameServerIpResultModel.java @@ -0,0 +1,154 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * ListGameServerIpResultModel + */ +public class ListGameServerIpResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String nextToken = null; + + + private Long pageSize = null; + + + private Long totalCount = null; + + + private List ipList = null; + + + public ListGameServerIpResultModel nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ListGameServerIpResultModel pageSize(Long pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Get pageSize + * @return pageSize + **/ + public Long getPageSize() { + return pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + } + + public ListGameServerIpResultModel totalCount(Long totalCount) { + this.totalCount = totalCount; + return this; + } + + /** + * Get totalCount + * @return totalCount + **/ + public Long getTotalCount() { + return totalCount; + } + + public void setTotalCount(Long totalCount) { + this.totalCount = totalCount; + } + + public ListGameServerIpResultModel ipList(List ipList) { + this.ipList = ipList; + return this; + } + + public ListGameServerIpResultModel addIpListItem(String ipListItem) { + if (this.ipList == null) { + this.ipList = new ArrayList(); + } + this.ipList.add(ipListItem); + return this; + } + + /** + * Get ipList + * @return ipList + **/ + public List getIpList() { + return ipList; + } + + public void setIpList(List ipList) { + this.ipList = ipList; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListGameServerIpResultModel listGameServerIpResultModel = (ListGameServerIpResultModel) o; + return Objects.equals(this.nextToken, listGameServerIpResultModel.nextToken) && + Objects.equals(this.pageSize, listGameServerIpResultModel.pageSize) && + Objects.equals(this.totalCount, listGameServerIpResultModel.totalCount) && + Objects.equals(this.ipList, listGameServerIpResultModel.ipList); + } + + @Override + public int hashCode() { + return Objects.hash(nextToken, pageSize, totalCount, ipList); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ListGameServerIpResultModel {"); + + sb.append(",nextToken: ").append(toIndentedString(nextToken)); + sb.append(",pageSize: ").append(toIndentedString(pageSize)); + sb.append(",totalCount: ").append(toIndentedString(totalCount)); + sb.append(",ipList: ").append(toIndentedString(ipList)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From c0a2d930d59153c2ae3f5d8b9bb0d226e49cc239 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:03 +0800 Subject: [PATCH 134/235] feat: update --- .../client/model/LiveQueryStatusForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusForms.java new file mode 100644 index 000000000..0cf89996a --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * LiveQueryStatusForms + */ +public class LiveQueryStatusForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String appKey = null; + + + private String gameSession = null; + + + private String liveId = null; + + + public LiveQueryStatusForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * Get appKey + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public LiveQueryStatusForms gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * Get gameSession + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + public LiveQueryStatusForms liveId(String liveId) { + this.liveId = liveId; + return this; + } + + /** + * Get liveId + * @return liveId + **/ + public String getLiveId() { + return liveId; + } + + public void setLiveId(String liveId) { + this.liveId = liveId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LiveQueryStatusForms liveQueryStatusForms = (LiveQueryStatusForms) o; + return Objects.equals(this.appKey, liveQueryStatusForms.appKey) && + Objects.equals(this.gameSession, liveQueryStatusForms.gameSession) && + Objects.equals(this.liveId, liveQueryStatusForms.liveId); + } + + @Override + public int hashCode() { + return Objects.hash(appKey, gameSession, liveId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LiveQueryStatusForms {"); + + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append(",liveId: ").append(toIndentedString(liveId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From fa12fc69e985012f01d574433653ec7ffb6fb694 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:04 +0800 Subject: [PATCH 135/235] feat: update --- .../client/model/LiveQueryStatusResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResult.java new file mode 100644 index 000000000..4bb32e317 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.LiveQueryStatusResultModel; +import java.io.Serializable; +/** + * LiveQueryStatusResult + */ +public class LiveQueryStatusResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private LiveQueryStatusResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public LiveQueryStatusResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public LiveQueryStatusResult model(LiveQueryStatusResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public LiveQueryStatusResultModel getModel() { + return model; + } + + public void setModel(LiveQueryStatusResultModel model) { + this.model = model; + } + + public LiveQueryStatusResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public LiveQueryStatusResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LiveQueryStatusResult liveQueryStatusResult = (LiveQueryStatusResult) o; + return Objects.equals(this.success, liveQueryStatusResult.success) && + Objects.equals(this.model, liveQueryStatusResult.model) && + Objects.equals(this.msgInfo, liveQueryStatusResult.msgInfo) && + Objects.equals(this.msgCode, liveQueryStatusResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LiveQueryStatusResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 54c6be75f3a7ab58b6bac2925c73f12c7456ce83 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:06 +0800 Subject: [PATCH 136/235] feat: update --- .../model/LiveQueryStatusResultModel.java | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResultModel.java new file mode 100644 index 000000000..de44ab905 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResultModel.java @@ -0,0 +1,89 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.LiveQueryStatusResultModelLiveList; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * LiveQueryStatusResultModel + */ +public class LiveQueryStatusResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private List liveList = null; + + + public LiveQueryStatusResultModel liveList(List liveList) { + this.liveList = liveList; + return this; + } + + public LiveQueryStatusResultModel addLiveListItem(LiveQueryStatusResultModelLiveList liveListItem) { + if (this.liveList == null) { + this.liveList = new ArrayList(); + } + this.liveList.add(liveListItem); + return this; + } + + /** + * Get liveList + * @return liveList + **/ + public List getLiveList() { + return liveList; + } + + public void setLiveList(List liveList) { + this.liveList = liveList; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LiveQueryStatusResultModel liveQueryStatusResultModel = (LiveQueryStatusResultModel) o; + return Objects.equals(this.liveList, liveQueryStatusResultModel.liveList); + } + + @Override + public int hashCode() { + return Objects.hash(liveList); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LiveQueryStatusResultModel {"); + + sb.append(",liveList: ").append(toIndentedString(liveList)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 04a86d2b7d585f553b01f075ca339df6ba0f2100 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:07 +0800 Subject: [PATCH 137/235] feat: update --- .../LiveQueryStatusResultModelLiveList.java | 189 ++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResultModelLiveList.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResultModelLiveList.java b/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResultModelLiveList.java new file mode 100644 index 000000000..5e34acd04 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResultModelLiveList.java @@ -0,0 +1,189 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.LiveQueryStatusResultModelLiveListConfig; +import java.io.Serializable; +/** + * LiveQueryStatusResultModelLiveList + */ +public class LiveQueryStatusResultModelLiveList implements Serializable { + private static final long serialVersionUID = 1L; + + private String streamKey = null; + + + private String serverUrl = null; + + + private String message = null; + + + private String liveId = null; + + + private LiveQueryStatusResultModelLiveListConfig config = null; + + + private String status = null; + + + public LiveQueryStatusResultModelLiveList streamKey(String streamKey) { + this.streamKey = streamKey; + return this; + } + + /** + * Get streamKey + * @return streamKey + **/ + public String getStreamKey() { + return streamKey; + } + + public void setStreamKey(String streamKey) { + this.streamKey = streamKey; + } + + public LiveQueryStatusResultModelLiveList serverUrl(String serverUrl) { + this.serverUrl = serverUrl; + return this; + } + + /** + * Get serverUrl + * @return serverUrl + **/ + public String getServerUrl() { + return serverUrl; + } + + public void setServerUrl(String serverUrl) { + this.serverUrl = serverUrl; + } + + public LiveQueryStatusResultModelLiveList message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public LiveQueryStatusResultModelLiveList liveId(String liveId) { + this.liveId = liveId; + return this; + } + + /** + * Get liveId + * @return liveId + **/ + public String getLiveId() { + return liveId; + } + + public void setLiveId(String liveId) { + this.liveId = liveId; + } + + public LiveQueryStatusResultModelLiveList config(LiveQueryStatusResultModelLiveListConfig config) { + this.config = config; + return this; + } + + /** + * Get config + * @return config + **/ + public LiveQueryStatusResultModelLiveListConfig getConfig() { + return config; + } + + public void setConfig(LiveQueryStatusResultModelLiveListConfig config) { + this.config = config; + } + + public LiveQueryStatusResultModelLiveList status(String status) { + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LiveQueryStatusResultModelLiveList liveQueryStatusResultModelLiveList = (LiveQueryStatusResultModelLiveList) o; + return Objects.equals(this.streamKey, liveQueryStatusResultModelLiveList.streamKey) && + Objects.equals(this.serverUrl, liveQueryStatusResultModelLiveList.serverUrl) && + Objects.equals(this.message, liveQueryStatusResultModelLiveList.message) && + Objects.equals(this.liveId, liveQueryStatusResultModelLiveList.liveId) && + Objects.equals(this.config, liveQueryStatusResultModelLiveList.config) && + Objects.equals(this.status, liveQueryStatusResultModelLiveList.status); + } + + @Override + public int hashCode() { + return Objects.hash(streamKey, serverUrl, message, liveId, config, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LiveQueryStatusResultModelLiveList {"); + + sb.append(",streamKey: ").append(toIndentedString(streamKey)); + sb.append(",serverUrl: ").append(toIndentedString(serverUrl)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",liveId: ").append(toIndentedString(liveId)); + sb.append(",config: ").append(toIndentedString(config)); + sb.append(",status: ").append(toIndentedString(status)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From ada02a55c3b2ea03d1fe73f362e0fc1f8a019656 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:08 +0800 Subject: [PATCH 138/235] feat: update --- ...eQueryStatusResultModelLiveListConfig.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResultModelLiveListConfig.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResultModelLiveListConfig.java b/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResultModelLiveListConfig.java new file mode 100644 index 000000000..9fcdc44b7 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/LiveQueryStatusResultModelLiveListConfig.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * LiveQueryStatusResultModelLiveListConfig + */ +public class LiveQueryStatusResultModelLiveListConfig implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer frameRate = null; + + + private Integer bitrate = null; + + + private String resolution = null; + + + public LiveQueryStatusResultModelLiveListConfig frameRate(Integer frameRate) { + this.frameRate = frameRate; + return this; + } + + /** + * Get frameRate + * @return frameRate + **/ + public Integer getFrameRate() { + return frameRate; + } + + public void setFrameRate(Integer frameRate) { + this.frameRate = frameRate; + } + + public LiveQueryStatusResultModelLiveListConfig bitrate(Integer bitrate) { + this.bitrate = bitrate; + return this; + } + + /** + * Get bitrate + * @return bitrate + **/ + public Integer getBitrate() { + return bitrate; + } + + public void setBitrate(Integer bitrate) { + this.bitrate = bitrate; + } + + public LiveQueryStatusResultModelLiveListConfig resolution(String resolution) { + this.resolution = resolution; + return this; + } + + /** + * Get resolution + * @return resolution + **/ + public String getResolution() { + return resolution; + } + + public void setResolution(String resolution) { + this.resolution = resolution; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LiveQueryStatusResultModelLiveListConfig liveQueryStatusResultModelLiveListConfig = (LiveQueryStatusResultModelLiveListConfig) o; + return Objects.equals(this.frameRate, liveQueryStatusResultModelLiveListConfig.frameRate) && + Objects.equals(this.bitrate, liveQueryStatusResultModelLiveListConfig.bitrate) && + Objects.equals(this.resolution, liveQueryStatusResultModelLiveListConfig.resolution); + } + + @Override + public int hashCode() { + return Objects.hash(frameRate, bitrate, resolution); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LiveQueryStatusResultModelLiveListConfig {"); + + sb.append(",frameRate: ").append(toIndentedString(frameRate)); + sb.append(",bitrate: ").append(toIndentedString(bitrate)); + sb.append(",resolution: ").append(toIndentedString(resolution)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From acb059cf6cc897acd05b76046ad298cf3d76c9e9 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:10 +0800 Subject: [PATCH 139/235] feat: update --- .../client/model/LiveStartGameLiveForms.java | 167 ++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveForms.java new file mode 100644 index 000000000..2ff3f1c82 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveForms.java @@ -0,0 +1,167 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.LiveStartGameLiveFormsConfig; +import java.io.Serializable; +/** + * LiveStartGameLiveForms + */ +public class LiveStartGameLiveForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String appKey = null; + + + private String gameSession = null; + + + private String serverUrl = null; + + + private String streamKey = null; + + + private LiveStartGameLiveFormsConfig config = null; + + + public LiveStartGameLiveForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * Get appKey + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public LiveStartGameLiveForms gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * Get gameSession + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + public LiveStartGameLiveForms serverUrl(String serverUrl) { + this.serverUrl = serverUrl; + return this; + } + + /** + * Get serverUrl + * @return serverUrl + **/ + public String getServerUrl() { + return serverUrl; + } + + public void setServerUrl(String serverUrl) { + this.serverUrl = serverUrl; + } + + public LiveStartGameLiveForms streamKey(String streamKey) { + this.streamKey = streamKey; + return this; + } + + /** + * Get streamKey + * @return streamKey + **/ + public String getStreamKey() { + return streamKey; + } + + public void setStreamKey(String streamKey) { + this.streamKey = streamKey; + } + + public LiveStartGameLiveForms config(LiveStartGameLiveFormsConfig config) { + this.config = config; + return this; + } + + /** + * Get config + * @return config + **/ + public LiveStartGameLiveFormsConfig getConfig() { + return config; + } + + public void setConfig(LiveStartGameLiveFormsConfig config) { + this.config = config; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LiveStartGameLiveForms liveStartGameLiveForms = (LiveStartGameLiveForms) o; + return Objects.equals(this.appKey, liveStartGameLiveForms.appKey) && + Objects.equals(this.gameSession, liveStartGameLiveForms.gameSession) && + Objects.equals(this.serverUrl, liveStartGameLiveForms.serverUrl) && + Objects.equals(this.streamKey, liveStartGameLiveForms.streamKey) && + Objects.equals(this.config, liveStartGameLiveForms.config); + } + + @Override + public int hashCode() { + return Objects.hash(appKey, gameSession, serverUrl, streamKey, config); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LiveStartGameLiveForms {"); + + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append(",serverUrl: ").append(toIndentedString(serverUrl)); + sb.append(",streamKey: ").append(toIndentedString(streamKey)); + sb.append(",config: ").append(toIndentedString(config)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From e59df8f96a113bfeb12da6c4ea7dfd74b349974a Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:11 +0800 Subject: [PATCH 140/235] feat: update --- .../model/LiveStartGameLiveFormsConfig.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveFormsConfig.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveFormsConfig.java b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveFormsConfig.java new file mode 100644 index 000000000..0e463540b --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveFormsConfig.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * LiveStartGameLiveFormsConfig + */ +public class LiveStartGameLiveFormsConfig implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer frameRate = null; + + + private Integer bitrate = null; + + + private String resolution = null; + + + public LiveStartGameLiveFormsConfig frameRate(Integer frameRate) { + this.frameRate = frameRate; + return this; + } + + /** + * Get frameRate + * @return frameRate + **/ + public Integer getFrameRate() { + return frameRate; + } + + public void setFrameRate(Integer frameRate) { + this.frameRate = frameRate; + } + + public LiveStartGameLiveFormsConfig bitrate(Integer bitrate) { + this.bitrate = bitrate; + return this; + } + + /** + * Get bitrate + * @return bitrate + **/ + public Integer getBitrate() { + return bitrate; + } + + public void setBitrate(Integer bitrate) { + this.bitrate = bitrate; + } + + public LiveStartGameLiveFormsConfig resolution(String resolution) { + this.resolution = resolution; + return this; + } + + /** + * Get resolution + * @return resolution + **/ + public String getResolution() { + return resolution; + } + + public void setResolution(String resolution) { + this.resolution = resolution; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LiveStartGameLiveFormsConfig liveStartGameLiveFormsConfig = (LiveStartGameLiveFormsConfig) o; + return Objects.equals(this.frameRate, liveStartGameLiveFormsConfig.frameRate) && + Objects.equals(this.bitrate, liveStartGameLiveFormsConfig.bitrate) && + Objects.equals(this.resolution, liveStartGameLiveFormsConfig.resolution); + } + + @Override + public int hashCode() { + return Objects.hash(frameRate, bitrate, resolution); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LiveStartGameLiveFormsConfig {"); + + sb.append(",frameRate: ").append(toIndentedString(frameRate)); + sb.append(",bitrate: ").append(toIndentedString(bitrate)); + sb.append(",resolution: ").append(toIndentedString(resolution)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 551f2e31d323735a53a13a635a7e474813d24c4f Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:12 +0800 Subject: [PATCH 141/235] feat: update --- .../client/model/LiveStartGameLiveResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveResult.java new file mode 100644 index 000000000..3fd98d164 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.LiveStartGameLiveResultModel; +import java.io.Serializable; +/** + * LiveStartGameLiveResult + */ +public class LiveStartGameLiveResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private LiveStartGameLiveResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public LiveStartGameLiveResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public LiveStartGameLiveResult model(LiveStartGameLiveResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public LiveStartGameLiveResultModel getModel() { + return model; + } + + public void setModel(LiveStartGameLiveResultModel model) { + this.model = model; + } + + public LiveStartGameLiveResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public LiveStartGameLiveResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LiveStartGameLiveResult liveStartGameLiveResult = (LiveStartGameLiveResult) o; + return Objects.equals(this.success, liveStartGameLiveResult.success) && + Objects.equals(this.model, liveStartGameLiveResult.model) && + Objects.equals(this.msgInfo, liveStartGameLiveResult.msgInfo) && + Objects.equals(this.msgCode, liveStartGameLiveResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LiveStartGameLiveResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 62dc0b6200287a1530da15cb012b2e3166ee73bc Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:13 +0800 Subject: [PATCH 142/235] feat: update --- .../model/LiveStartGameLiveResultModel.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveResultModel.java new file mode 100644 index 000000000..eaa4976d2 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStartGameLiveResultModel.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * LiveStartGameLiveResultModel + */ +public class LiveStartGameLiveResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean data = null; + + + private String liveId = null; + + + private String status = null; + + + public LiveStartGameLiveResultModel data(Boolean data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + public Boolean getData() { + return data; + } + + public void setData(Boolean data) { + this.data = data; + } + + public LiveStartGameLiveResultModel liveId(String liveId) { + this.liveId = liveId; + return this; + } + + /** + * Get liveId + * @return liveId + **/ + public String getLiveId() { + return liveId; + } + + public void setLiveId(String liveId) { + this.liveId = liveId; + } + + public LiveStartGameLiveResultModel status(String status) { + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LiveStartGameLiveResultModel liveStartGameLiveResultModel = (LiveStartGameLiveResultModel) o; + return Objects.equals(this.data, liveStartGameLiveResultModel.data) && + Objects.equals(this.liveId, liveStartGameLiveResultModel.liveId) && + Objects.equals(this.status, liveStartGameLiveResultModel.status); + } + + @Override + public int hashCode() { + return Objects.hash(data, liveId, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LiveStartGameLiveResultModel {"); + + sb.append(",data: ").append(toIndentedString(data)); + sb.append(",liveId: ").append(toIndentedString(liveId)); + sb.append(",status: ").append(toIndentedString(status)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 3e69e7a911374c39914007516aaa6a774d22fc37 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:15 +0800 Subject: [PATCH 143/235] feat: update --- .../client/model/LiveStopGameLiveForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/LiveStopGameLiveForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/LiveStopGameLiveForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStopGameLiveForms.java new file mode 100644 index 000000000..929ac3bcb --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStopGameLiveForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * LiveStopGameLiveForms + */ +public class LiveStopGameLiveForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String appKey = null; + + + private String gameSession = null; + + + private String liveId = null; + + + public LiveStopGameLiveForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * Get appKey + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public LiveStopGameLiveForms gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * Get gameSession + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + public LiveStopGameLiveForms liveId(String liveId) { + this.liveId = liveId; + return this; + } + + /** + * Get liveId + * @return liveId + **/ + public String getLiveId() { + return liveId; + } + + public void setLiveId(String liveId) { + this.liveId = liveId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LiveStopGameLiveForms liveStopGameLiveForms = (LiveStopGameLiveForms) o; + return Objects.equals(this.appKey, liveStopGameLiveForms.appKey) && + Objects.equals(this.gameSession, liveStopGameLiveForms.gameSession) && + Objects.equals(this.liveId, liveStopGameLiveForms.liveId); + } + + @Override + public int hashCode() { + return Objects.hash(appKey, gameSession, liveId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LiveStopGameLiveForms {"); + + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append(",liveId: ").append(toIndentedString(liveId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From ee40c58954bcd58f53a5b2c8c575d9e5685f1f69 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:16 +0800 Subject: [PATCH 144/235] feat: update --- .../client/model/LiveStopGameLiveResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/LiveStopGameLiveResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/LiveStopGameLiveResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStopGameLiveResult.java new file mode 100644 index 000000000..8a20e1224 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStopGameLiveResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.LiveStopGameLiveResultModel; +import java.io.Serializable; +/** + * LiveStopGameLiveResult + */ +public class LiveStopGameLiveResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private LiveStopGameLiveResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public LiveStopGameLiveResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public LiveStopGameLiveResult model(LiveStopGameLiveResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public LiveStopGameLiveResultModel getModel() { + return model; + } + + public void setModel(LiveStopGameLiveResultModel model) { + this.model = model; + } + + public LiveStopGameLiveResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public LiveStopGameLiveResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LiveStopGameLiveResult liveStopGameLiveResult = (LiveStopGameLiveResult) o; + return Objects.equals(this.success, liveStopGameLiveResult.success) && + Objects.equals(this.model, liveStopGameLiveResult.model) && + Objects.equals(this.msgInfo, liveStopGameLiveResult.msgInfo) && + Objects.equals(this.msgCode, liveStopGameLiveResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LiveStopGameLiveResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 1c9df4fc5c3e7664fbda1301a95ee6a3fa4bccd4 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:17 +0800 Subject: [PATCH 145/235] feat: update --- .../model/LiveStopGameLiveResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/LiveStopGameLiveResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/LiveStopGameLiveResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStopGameLiveResultModel.java new file mode 100644 index 000000000..c2efd206d --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/LiveStopGameLiveResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * LiveStopGameLiveResultModel + */ +public class LiveStopGameLiveResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean data = null; + + + public LiveStopGameLiveResultModel data(Boolean data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + public Boolean getData() { + return data; + } + + public void setData(Boolean data) { + this.data = data; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LiveStopGameLiveResultModel liveStopGameLiveResultModel = (LiveStopGameLiveResultModel) o; + return Objects.equals(this.data, liveStopGameLiveResultModel.data); + } + + @Override + public int hashCode() { + return Objects.hash(data); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LiveStopGameLiveResultModel {"); + + sb.append(",data: ").append(toIndentedString(data)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 3547b8f69115945266d7fff6c9ed9b0c02807144 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:19 +0800 Subject: [PATCH 146/235] feat: update --- .../client/model/MultiplayCloseForms.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayCloseForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayCloseForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayCloseForms.java new file mode 100644 index 000000000..b967607b1 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayCloseForms.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * MultiplayCloseForms + */ +public class MultiplayCloseForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String mpId = null; + + + private String reason = null; + + + public MultiplayCloseForms mpId(String mpId) { + this.mpId = mpId; + return this; + } + + /** + * Get mpId + * @return mpId + **/ + public String getMpId() { + return mpId; + } + + public void setMpId(String mpId) { + this.mpId = mpId; + } + + public MultiplayCloseForms reason(String reason) { + this.reason = reason; + return this; + } + + /** + * Get reason + * @return reason + **/ + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayCloseForms multiplayCloseForms = (MultiplayCloseForms) o; + return Objects.equals(this.mpId, multiplayCloseForms.mpId) && + Objects.equals(this.reason, multiplayCloseForms.reason); + } + + @Override + public int hashCode() { + return Objects.hash(mpId, reason); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayCloseForms {"); + + sb.append(",mpId: ").append(toIndentedString(mpId)); + sb.append(",reason: ").append(toIndentedString(reason)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From c17232fac70adcd03d2df4f5ed40393c6fc61007 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:20 +0800 Subject: [PATCH 147/235] feat: update --- .../client/model/MultiplayCloseResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayCloseResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayCloseResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayCloseResult.java new file mode 100644 index 000000000..444d86cdb --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayCloseResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.MultiplayCloseResultModel; +import java.io.Serializable; +/** + * MultiplayCloseResult + */ +public class MultiplayCloseResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private MultiplayCloseResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public MultiplayCloseResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public MultiplayCloseResult model(MultiplayCloseResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public MultiplayCloseResultModel getModel() { + return model; + } + + public void setModel(MultiplayCloseResultModel model) { + this.model = model; + } + + public MultiplayCloseResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public MultiplayCloseResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayCloseResult multiplayCloseResult = (MultiplayCloseResult) o; + return Objects.equals(this.success, multiplayCloseResult.success) && + Objects.equals(this.model, multiplayCloseResult.model) && + Objects.equals(this.msgInfo, multiplayCloseResult.msgInfo) && + Objects.equals(this.msgCode, multiplayCloseResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayCloseResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 79c714700b2399d299f8d1b59e66cd35440a79ad Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:21 +0800 Subject: [PATCH 148/235] feat: update --- .../model/MultiplayCloseResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayCloseResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayCloseResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayCloseResultModel.java new file mode 100644 index 000000000..2d2e70c58 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayCloseResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * MultiplayCloseResultModel + */ +public class MultiplayCloseResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String dataVer = null; + + + public MultiplayCloseResultModel dataVer(String dataVer) { + this.dataVer = dataVer; + return this; + } + + /** + * Get dataVer + * @return dataVer + **/ + public String getDataVer() { + return dataVer; + } + + public void setDataVer(String dataVer) { + this.dataVer = dataVer; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayCloseResultModel multiplayCloseResultModel = (MultiplayCloseResultModel) o; + return Objects.equals(this.dataVer, multiplayCloseResultModel.dataVer); + } + + @Override + public int hashCode() { + return Objects.hash(dataVer); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayCloseResultModel {"); + + sb.append(",dataVer: ").append(toIndentedString(dataVer)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 5cb2e667ec1d1ae997e560228ae62b1410878c19 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:22 +0800 Subject: [PATCH 149/235] feat: update --- .../client/model/MultiplayInitForms.java | 156 ++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitForms.java new file mode 100644 index 000000000..71b4b2da3 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitForms.java @@ -0,0 +1,156 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.MultiplayInitFormsConfig; +import com.alibaba.yjopenapi.client.model.MultiplayInitFormsTokens; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * MultiplayInitForms + */ +public class MultiplayInitForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameSession = null; + + + private String appKey = null; + + + private MultiplayInitFormsConfig config = null; + + + private List tokens = null; + + + public MultiplayInitForms gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * Get gameSession + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + public MultiplayInitForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * Get appKey + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public MultiplayInitForms config(MultiplayInitFormsConfig config) { + this.config = config; + return this; + } + + /** + * Get config + * @return config + **/ + public MultiplayInitFormsConfig getConfig() { + return config; + } + + public void setConfig(MultiplayInitFormsConfig config) { + this.config = config; + } + + public MultiplayInitForms tokens(List tokens) { + this.tokens = tokens; + return this; + } + + public MultiplayInitForms addTokensItem(MultiplayInitFormsTokens tokensItem) { + if (this.tokens == null) { + this.tokens = new ArrayList(); + } + this.tokens.add(tokensItem); + return this; + } + + /** + * Get tokens + * @return tokens + **/ + public List getTokens() { + return tokens; + } + + public void setTokens(List tokens) { + this.tokens = tokens; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayInitForms multiplayInitForms = (MultiplayInitForms) o; + return Objects.equals(this.gameSession, multiplayInitForms.gameSession) && + Objects.equals(this.appKey, multiplayInitForms.appKey) && + Objects.equals(this.config, multiplayInitForms.config) && + Objects.equals(this.tokens, multiplayInitForms.tokens); + } + + @Override + public int hashCode() { + return Objects.hash(gameSession, appKey, config, tokens); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayInitForms {"); + + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",config: ").append(toIndentedString(config)); + sb.append(",tokens: ").append(toIndentedString(tokens)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From c117d7d873cc0d958f7eb266c4054f13b86885de Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:23 +0800 Subject: [PATCH 150/235] feat: update --- .../model/MultiplayInitFormsConfig.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitFormsConfig.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitFormsConfig.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitFormsConfig.java new file mode 100644 index 000000000..2d1a4f049 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitFormsConfig.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * MultiplayInitFormsConfig + */ +public class MultiplayInitFormsConfig implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer maxToken = null; + + + private Integer hostTimeout = null; + + + private Integer connectTimeout = null; + + + private Integer inputTimeout = null; + + + public MultiplayInitFormsConfig maxToken(Integer maxToken) { + this.maxToken = maxToken; + return this; + } + + /** + * Get maxToken + * @return maxToken + **/ + public Integer getMaxToken() { + return maxToken; + } + + public void setMaxToken(Integer maxToken) { + this.maxToken = maxToken; + } + + public MultiplayInitFormsConfig hostTimeout(Integer hostTimeout) { + this.hostTimeout = hostTimeout; + return this; + } + + /** + * Get hostTimeout + * @return hostTimeout + **/ + public Integer getHostTimeout() { + return hostTimeout; + } + + public void setHostTimeout(Integer hostTimeout) { + this.hostTimeout = hostTimeout; + } + + public MultiplayInitFormsConfig connectTimeout(Integer connectTimeout) { + this.connectTimeout = connectTimeout; + return this; + } + + /** + * Get connectTimeout + * @return connectTimeout + **/ + public Integer getConnectTimeout() { + return connectTimeout; + } + + public void setConnectTimeout(Integer connectTimeout) { + this.connectTimeout = connectTimeout; + } + + public MultiplayInitFormsConfig inputTimeout(Integer inputTimeout) { + this.inputTimeout = inputTimeout; + return this; + } + + /** + * Get inputTimeout + * @return inputTimeout + **/ + public Integer getInputTimeout() { + return inputTimeout; + } + + public void setInputTimeout(Integer inputTimeout) { + this.inputTimeout = inputTimeout; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayInitFormsConfig multiplayInitFormsConfig = (MultiplayInitFormsConfig) o; + return Objects.equals(this.maxToken, multiplayInitFormsConfig.maxToken) && + Objects.equals(this.hostTimeout, multiplayInitFormsConfig.hostTimeout) && + Objects.equals(this.connectTimeout, multiplayInitFormsConfig.connectTimeout) && + Objects.equals(this.inputTimeout, multiplayInitFormsConfig.inputTimeout); + } + + @Override + public int hashCode() { + return Objects.hash(maxToken, hostTimeout, connectTimeout, inputTimeout); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayInitFormsConfig {"); + + sb.append(",maxToken: ").append(toIndentedString(maxToken)); + sb.append(",hostTimeout: ").append(toIndentedString(hostTimeout)); + sb.append(",connectTimeout: ").append(toIndentedString(connectTimeout)); + sb.append(",inputTimeout: ").append(toIndentedString(inputTimeout)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From bde9464233ef5e255e805a48aefd70c2939f0b68 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:25 +0800 Subject: [PATCH 151/235] feat: update --- .../model/MultiplayInitFormsTokens.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitFormsTokens.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitFormsTokens.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitFormsTokens.java new file mode 100644 index 000000000..38503e6b0 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitFormsTokens.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * MultiplayInitFormsTokens + */ +public class MultiplayInitFormsTokens implements Serializable { + private static final long serialVersionUID = 1L; + + private String accountId = null; + + + private Integer controlId = null; + + + public MultiplayInitFormsTokens accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public MultiplayInitFormsTokens controlId(Integer controlId) { + this.controlId = controlId; + return this; + } + + /** + * Get controlId + * @return controlId + **/ + public Integer getControlId() { + return controlId; + } + + public void setControlId(Integer controlId) { + this.controlId = controlId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayInitFormsTokens multiplayInitFormsTokens = (MultiplayInitFormsTokens) o; + return Objects.equals(this.accountId, multiplayInitFormsTokens.accountId) && + Objects.equals(this.controlId, multiplayInitFormsTokens.controlId); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, controlId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayInitFormsTokens {"); + + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",controlId: ").append(toIndentedString(controlId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 1828ed32047ed5e00fc701b3fc5eb9869c1b007b Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:26 +0800 Subject: [PATCH 152/235] feat: update --- .../client/model/MultiplayInitResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitResult.java new file mode 100644 index 000000000..ca22d1528 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.MultiplayInitResultModel; +import java.io.Serializable; +/** + * MultiplayInitResult + */ +public class MultiplayInitResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private MultiplayInitResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public MultiplayInitResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public MultiplayInitResult model(MultiplayInitResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public MultiplayInitResultModel getModel() { + return model; + } + + public void setModel(MultiplayInitResultModel model) { + this.model = model; + } + + public MultiplayInitResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public MultiplayInitResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayInitResult multiplayInitResult = (MultiplayInitResult) o; + return Objects.equals(this.success, multiplayInitResult.success) && + Objects.equals(this.model, multiplayInitResult.model) && + Objects.equals(this.msgInfo, multiplayInitResult.msgInfo) && + Objects.equals(this.msgCode, multiplayInitResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayInitResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 4a473f384ac5e79cb7f86e4135a07118ea22a65f Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:27 +0800 Subject: [PATCH 153/235] feat: update --- .../model/MultiplayInitResultModel.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitResultModel.java new file mode 100644 index 000000000..42cebc105 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitResultModel.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.MultiplayInitResultModelTokens; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * MultiplayInitResultModel + */ +public class MultiplayInitResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String creatorTokenId = null; + + + private List tokens = null; + + + private String dataVer = null; + + + private String mpId = null; + + + public MultiplayInitResultModel creatorTokenId(String creatorTokenId) { + this.creatorTokenId = creatorTokenId; + return this; + } + + /** + * Get creatorTokenId + * @return creatorTokenId + **/ + public String getCreatorTokenId() { + return creatorTokenId; + } + + public void setCreatorTokenId(String creatorTokenId) { + this.creatorTokenId = creatorTokenId; + } + + public MultiplayInitResultModel tokens(List tokens) { + this.tokens = tokens; + return this; + } + + public MultiplayInitResultModel addTokensItem(MultiplayInitResultModelTokens tokensItem) { + if (this.tokens == null) { + this.tokens = new ArrayList(); + } + this.tokens.add(tokensItem); + return this; + } + + /** + * Get tokens + * @return tokens + **/ + public List getTokens() { + return tokens; + } + + public void setTokens(List tokens) { + this.tokens = tokens; + } + + public MultiplayInitResultModel dataVer(String dataVer) { + this.dataVer = dataVer; + return this; + } + + /** + * Get dataVer + * @return dataVer + **/ + public String getDataVer() { + return dataVer; + } + + public void setDataVer(String dataVer) { + this.dataVer = dataVer; + } + + public MultiplayInitResultModel mpId(String mpId) { + this.mpId = mpId; + return this; + } + + /** + * Get mpId + * @return mpId + **/ + public String getMpId() { + return mpId; + } + + public void setMpId(String mpId) { + this.mpId = mpId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayInitResultModel multiplayInitResultModel = (MultiplayInitResultModel) o; + return Objects.equals(this.creatorTokenId, multiplayInitResultModel.creatorTokenId) && + Objects.equals(this.tokens, multiplayInitResultModel.tokens) && + Objects.equals(this.dataVer, multiplayInitResultModel.dataVer) && + Objects.equals(this.mpId, multiplayInitResultModel.mpId); + } + + @Override + public int hashCode() { + return Objects.hash(creatorTokenId, tokens, dataVer, mpId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayInitResultModel {"); + + sb.append(",creatorTokenId: ").append(toIndentedString(creatorTokenId)); + sb.append(",tokens: ").append(toIndentedString(tokens)); + sb.append(",dataVer: ").append(toIndentedString(dataVer)); + sb.append(",mpId: ").append(toIndentedString(mpId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From c62afb8fb9f3c72b83bda4cab90d47bbf5cbbcae Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:28 +0800 Subject: [PATCH 154/235] feat: update --- .../model/MultiplayInitResultModelTokens.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitResultModelTokens.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitResultModelTokens.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitResultModelTokens.java new file mode 100644 index 000000000..906fe01d9 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayInitResultModelTokens.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * MultiplayInitResultModelTokens + */ +public class MultiplayInitResultModelTokens implements Serializable { + private static final long serialVersionUID = 1L; + + private String accountId = null; + + + private String tokenId = null; + + + private String session = null; + + + private Integer controlId = null; + + + public MultiplayInitResultModelTokens accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public MultiplayInitResultModelTokens tokenId(String tokenId) { + this.tokenId = tokenId; + return this; + } + + /** + * Get tokenId + * @return tokenId + **/ + public String getTokenId() { + return tokenId; + } + + public void setTokenId(String tokenId) { + this.tokenId = tokenId; + } + + public MultiplayInitResultModelTokens session(String session) { + this.session = session; + return this; + } + + /** + * Get session + * @return session + **/ + public String getSession() { + return session; + } + + public void setSession(String session) { + this.session = session; + } + + public MultiplayInitResultModelTokens controlId(Integer controlId) { + this.controlId = controlId; + return this; + } + + /** + * Get controlId + * @return controlId + **/ + public Integer getControlId() { + return controlId; + } + + public void setControlId(Integer controlId) { + this.controlId = controlId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayInitResultModelTokens multiplayInitResultModelTokens = (MultiplayInitResultModelTokens) o; + return Objects.equals(this.accountId, multiplayInitResultModelTokens.accountId) && + Objects.equals(this.tokenId, multiplayInitResultModelTokens.tokenId) && + Objects.equals(this.session, multiplayInitResultModelTokens.session) && + Objects.equals(this.controlId, multiplayInitResultModelTokens.controlId); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, tokenId, session, controlId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayInitResultModelTokens {"); + + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",tokenId: ").append(toIndentedString(tokenId)); + sb.append(",session: ").append(toIndentedString(session)); + sb.append(",controlId: ").append(toIndentedString(controlId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 639626d732a3325090fb4b1851b8e5de8e553176 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:30 +0800 Subject: [PATCH 155/235] feat: update --- .../client/model/MultiplayJoinForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayJoinForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayJoinForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayJoinForms.java new file mode 100644 index 000000000..9793f82d5 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayJoinForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * MultiplayJoinForms + */ +public class MultiplayJoinForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String mpId = null; + + + private String accountId = null; + + + private Integer controlId = null; + + + public MultiplayJoinForms mpId(String mpId) { + this.mpId = mpId; + return this; + } + + /** + * Get mpId + * @return mpId + **/ + public String getMpId() { + return mpId; + } + + public void setMpId(String mpId) { + this.mpId = mpId; + } + + public MultiplayJoinForms accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public MultiplayJoinForms controlId(Integer controlId) { + this.controlId = controlId; + return this; + } + + /** + * Get controlId + * @return controlId + **/ + public Integer getControlId() { + return controlId; + } + + public void setControlId(Integer controlId) { + this.controlId = controlId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayJoinForms multiplayJoinForms = (MultiplayJoinForms) o; + return Objects.equals(this.mpId, multiplayJoinForms.mpId) && + Objects.equals(this.accountId, multiplayJoinForms.accountId) && + Objects.equals(this.controlId, multiplayJoinForms.controlId); + } + + @Override + public int hashCode() { + return Objects.hash(mpId, accountId, controlId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayJoinForms {"); + + sb.append(",mpId: ").append(toIndentedString(mpId)); + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",controlId: ").append(toIndentedString(controlId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 29813f3f4062b6c67fee3eb7dc90ae47cee35a99 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:31 +0800 Subject: [PATCH 156/235] feat: update --- .../client/model/MultiplayJoinResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayJoinResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayJoinResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayJoinResult.java new file mode 100644 index 000000000..76dc2e6ca --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayJoinResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.MultiplayJoinResultModel; +import java.io.Serializable; +/** + * MultiplayJoinResult + */ +public class MultiplayJoinResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private MultiplayJoinResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public MultiplayJoinResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public MultiplayJoinResult model(MultiplayJoinResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public MultiplayJoinResultModel getModel() { + return model; + } + + public void setModel(MultiplayJoinResultModel model) { + this.model = model; + } + + public MultiplayJoinResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public MultiplayJoinResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayJoinResult multiplayJoinResult = (MultiplayJoinResult) o; + return Objects.equals(this.success, multiplayJoinResult.success) && + Objects.equals(this.model, multiplayJoinResult.model) && + Objects.equals(this.msgInfo, multiplayJoinResult.msgInfo) && + Objects.equals(this.msgCode, multiplayJoinResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayJoinResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 5dc0b080c5be96aabd7ff44c4cb6e354206d4cc4 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:32 +0800 Subject: [PATCH 157/235] feat: update --- .../model/MultiplayJoinResultModel.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayJoinResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayJoinResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayJoinResultModel.java new file mode 100644 index 000000000..3f5792190 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayJoinResultModel.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * MultiplayJoinResultModel + */ +public class MultiplayJoinResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String tokenId = null; + + + private String session = null; + + + private String dataVer = null; + + + public MultiplayJoinResultModel tokenId(String tokenId) { + this.tokenId = tokenId; + return this; + } + + /** + * Get tokenId + * @return tokenId + **/ + public String getTokenId() { + return tokenId; + } + + public void setTokenId(String tokenId) { + this.tokenId = tokenId; + } + + public MultiplayJoinResultModel session(String session) { + this.session = session; + return this; + } + + /** + * Get session + * @return session + **/ + public String getSession() { + return session; + } + + public void setSession(String session) { + this.session = session; + } + + public MultiplayJoinResultModel dataVer(String dataVer) { + this.dataVer = dataVer; + return this; + } + + /** + * Get dataVer + * @return dataVer + **/ + public String getDataVer() { + return dataVer; + } + + public void setDataVer(String dataVer) { + this.dataVer = dataVer; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayJoinResultModel multiplayJoinResultModel = (MultiplayJoinResultModel) o; + return Objects.equals(this.tokenId, multiplayJoinResultModel.tokenId) && + Objects.equals(this.session, multiplayJoinResultModel.session) && + Objects.equals(this.dataVer, multiplayJoinResultModel.dataVer); + } + + @Override + public int hashCode() { + return Objects.hash(tokenId, session, dataVer); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayJoinResultModel {"); + + sb.append(",tokenId: ").append(toIndentedString(tokenId)); + sb.append(",session: ").append(toIndentedString(session)); + sb.append(",dataVer: ").append(toIndentedString(dataVer)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 6701ac3ecfaa9df71aaf9df58928588762e6639e Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:33 +0800 Subject: [PATCH 158/235] feat: update --- .../client/model/MultiplayLeaveForms.java | 151 ++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayLeaveForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayLeaveForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayLeaveForms.java new file mode 100644 index 000000000..02809a5dd --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayLeaveForms.java @@ -0,0 +1,151 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * MultiplayLeaveForms + */ +public class MultiplayLeaveForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String mpId = null; + + + private Boolean kickOut = null; + + + private String reason = null; + + + private List tokenIds = new ArrayList(); + + + public MultiplayLeaveForms mpId(String mpId) { + this.mpId = mpId; + return this; + } + + /** + * Get mpId + * @return mpId + **/ + public String getMpId() { + return mpId; + } + + public void setMpId(String mpId) { + this.mpId = mpId; + } + + public MultiplayLeaveForms kickOut(Boolean kickOut) { + this.kickOut = kickOut; + return this; + } + + /** + * Get kickOut + * @return kickOut + **/ + public Boolean getKickOut() { + return kickOut; + } + + public void setKickOut(Boolean kickOut) { + this.kickOut = kickOut; + } + + public MultiplayLeaveForms reason(String reason) { + this.reason = reason; + return this; + } + + /** + * Get reason + * @return reason + **/ + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public MultiplayLeaveForms tokenIds(List tokenIds) { + this.tokenIds = tokenIds; + return this; + } + + public MultiplayLeaveForms addTokenIdsItem(String tokenIdsItem) { + this.tokenIds.add(tokenIdsItem); + return this; + } + + /** + * Get tokenIds + * @return tokenIds + **/ + public List getTokenIds() { + return tokenIds; + } + + public void setTokenIds(List tokenIds) { + this.tokenIds = tokenIds; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayLeaveForms multiplayLeaveForms = (MultiplayLeaveForms) o; + return Objects.equals(this.mpId, multiplayLeaveForms.mpId) && + Objects.equals(this.kickOut, multiplayLeaveForms.kickOut) && + Objects.equals(this.reason, multiplayLeaveForms.reason) && + Objects.equals(this.tokenIds, multiplayLeaveForms.tokenIds); + } + + @Override + public int hashCode() { + return Objects.hash(mpId, kickOut, reason, tokenIds); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayLeaveForms {"); + + sb.append(",mpId: ").append(toIndentedString(mpId)); + sb.append(",kickOut: ").append(toIndentedString(kickOut)); + sb.append(",reason: ").append(toIndentedString(reason)); + sb.append(",tokenIds: ").append(toIndentedString(tokenIds)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 0b3d9ff2041ed091b1efc28a73e604ec5dca82b2 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:35 +0800 Subject: [PATCH 159/235] feat: update --- .../client/model/MultiplayLeaveResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayLeaveResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayLeaveResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayLeaveResult.java new file mode 100644 index 000000000..1c3ed6772 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayLeaveResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.MultiplayLeaveResultModel; +import java.io.Serializable; +/** + * MultiplayLeaveResult + */ +public class MultiplayLeaveResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private MultiplayLeaveResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public MultiplayLeaveResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public MultiplayLeaveResult model(MultiplayLeaveResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public MultiplayLeaveResultModel getModel() { + return model; + } + + public void setModel(MultiplayLeaveResultModel model) { + this.model = model; + } + + public MultiplayLeaveResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public MultiplayLeaveResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayLeaveResult multiplayLeaveResult = (MultiplayLeaveResult) o; + return Objects.equals(this.success, multiplayLeaveResult.success) && + Objects.equals(this.model, multiplayLeaveResult.model) && + Objects.equals(this.msgInfo, multiplayLeaveResult.msgInfo) && + Objects.equals(this.msgCode, multiplayLeaveResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayLeaveResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 812f7dd9440ee10e895b12cf48807ed43b44575d Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:36 +0800 Subject: [PATCH 160/235] feat: update --- .../model/MultiplayLeaveResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayLeaveResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayLeaveResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayLeaveResultModel.java new file mode 100644 index 000000000..e3839dda6 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayLeaveResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * MultiplayLeaveResultModel + */ +public class MultiplayLeaveResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String dataVer = null; + + + public MultiplayLeaveResultModel dataVer(String dataVer) { + this.dataVer = dataVer; + return this; + } + + /** + * Get dataVer + * @return dataVer + **/ + public String getDataVer() { + return dataVer; + } + + public void setDataVer(String dataVer) { + this.dataVer = dataVer; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayLeaveResultModel multiplayLeaveResultModel = (MultiplayLeaveResultModel) o; + return Objects.equals(this.dataVer, multiplayLeaveResultModel.dataVer); + } + + @Override + public int hashCode() { + return Objects.hash(dataVer); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayLeaveResultModel {"); + + sb.append(",dataVer: ").append(toIndentedString(dataVer)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 00739fbd300b962fc06b47804ecda2b464bcf8c4 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:37 +0800 Subject: [PATCH 161/235] feat: update --- .../client/model/MultiplayModifyForms.java | 111 ++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyForms.java new file mode 100644 index 000000000..6de695b18 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyForms.java @@ -0,0 +1,111 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.MultiplayModifyFormsTokens; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * MultiplayModifyForms + */ +public class MultiplayModifyForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String mpId = null; + + + private List tokens = null; + + + public MultiplayModifyForms mpId(String mpId) { + this.mpId = mpId; + return this; + } + + /** + * Get mpId + * @return mpId + **/ + public String getMpId() { + return mpId; + } + + public void setMpId(String mpId) { + this.mpId = mpId; + } + + public MultiplayModifyForms tokens(List tokens) { + this.tokens = tokens; + return this; + } + + public MultiplayModifyForms addTokensItem(MultiplayModifyFormsTokens tokensItem) { + if (this.tokens == null) { + this.tokens = new ArrayList(); + } + this.tokens.add(tokensItem); + return this; + } + + /** + * Get tokens + * @return tokens + **/ + public List getTokens() { + return tokens; + } + + public void setTokens(List tokens) { + this.tokens = tokens; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayModifyForms multiplayModifyForms = (MultiplayModifyForms) o; + return Objects.equals(this.mpId, multiplayModifyForms.mpId) && + Objects.equals(this.tokens, multiplayModifyForms.tokens); + } + + @Override + public int hashCode() { + return Objects.hash(mpId, tokens); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayModifyForms {"); + + sb.append(",mpId: ").append(toIndentedString(mpId)); + sb.append(",tokens: ").append(toIndentedString(tokens)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 31fc81b2e98c4a843f9a2b445c9872d195735fc8 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:39 +0800 Subject: [PATCH 162/235] feat: update --- .../model/MultiplayModifyFormsTokens.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyFormsTokens.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyFormsTokens.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyFormsTokens.java new file mode 100644 index 000000000..d422cf9d5 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyFormsTokens.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * MultiplayModifyFormsTokens + */ +public class MultiplayModifyFormsTokens implements Serializable { + private static final long serialVersionUID = 1L; + + private String tokenId = null; + + + private Integer controlId = null; + + + public MultiplayModifyFormsTokens tokenId(String tokenId) { + this.tokenId = tokenId; + return this; + } + + /** + * Get tokenId + * @return tokenId + **/ + public String getTokenId() { + return tokenId; + } + + public void setTokenId(String tokenId) { + this.tokenId = tokenId; + } + + public MultiplayModifyFormsTokens controlId(Integer controlId) { + this.controlId = controlId; + return this; + } + + /** + * Get controlId + * @return controlId + **/ + public Integer getControlId() { + return controlId; + } + + public void setControlId(Integer controlId) { + this.controlId = controlId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayModifyFormsTokens multiplayModifyFormsTokens = (MultiplayModifyFormsTokens) o; + return Objects.equals(this.tokenId, multiplayModifyFormsTokens.tokenId) && + Objects.equals(this.controlId, multiplayModifyFormsTokens.controlId); + } + + @Override + public int hashCode() { + return Objects.hash(tokenId, controlId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayModifyFormsTokens {"); + + sb.append(",tokenId: ").append(toIndentedString(tokenId)); + sb.append(",controlId: ").append(toIndentedString(controlId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 8a0b60116239da3d4a14ef2f307ded4713060d0d Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:40 +0800 Subject: [PATCH 163/235] feat: update --- .../client/model/MultiplayModifyResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyResult.java new file mode 100644 index 000000000..3c1371a14 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.MultiplayModifyResultModel; +import java.io.Serializable; +/** + * MultiplayModifyResult + */ +public class MultiplayModifyResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private MultiplayModifyResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public MultiplayModifyResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public MultiplayModifyResult model(MultiplayModifyResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public MultiplayModifyResultModel getModel() { + return model; + } + + public void setModel(MultiplayModifyResultModel model) { + this.model = model; + } + + public MultiplayModifyResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public MultiplayModifyResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayModifyResult multiplayModifyResult = (MultiplayModifyResult) o; + return Objects.equals(this.success, multiplayModifyResult.success) && + Objects.equals(this.model, multiplayModifyResult.model) && + Objects.equals(this.msgInfo, multiplayModifyResult.msgInfo) && + Objects.equals(this.msgCode, multiplayModifyResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayModifyResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From c3df923b3fa11131947a033dc7004ea6792dc37c Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:41 +0800 Subject: [PATCH 164/235] feat: update --- .../model/MultiplayModifyResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyResultModel.java new file mode 100644 index 000000000..672744e46 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayModifyResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * MultiplayModifyResultModel + */ +public class MultiplayModifyResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String dataVer = null; + + + public MultiplayModifyResultModel dataVer(String dataVer) { + this.dataVer = dataVer; + return this; + } + + /** + * Get dataVer + * @return dataVer + **/ + public String getDataVer() { + return dataVer; + } + + public void setDataVer(String dataVer) { + this.dataVer = dataVer; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayModifyResultModel multiplayModifyResultModel = (MultiplayModifyResultModel) o; + return Objects.equals(this.dataVer, multiplayModifyResultModel.dataVer); + } + + @Override + public int hashCode() { + return Objects.hash(dataVer); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayModifyResultModel {"); + + sb.append(",dataVer: ").append(toIndentedString(dataVer)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 6bf87656a6867157f3db335d90f643f594060675 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:43 +0800 Subject: [PATCH 165/235] feat: update --- .../client/model/MultiplayQueryForms.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryForms.java new file mode 100644 index 000000000..c074b3e15 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryForms.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * MultiplayQueryForms + */ +public class MultiplayQueryForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String mpId = null; + + + public MultiplayQueryForms mpId(String mpId) { + this.mpId = mpId; + return this; + } + + /** + * Get mpId + * @return mpId + **/ + public String getMpId() { + return mpId; + } + + public void setMpId(String mpId) { + this.mpId = mpId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayQueryForms multiplayQueryForms = (MultiplayQueryForms) o; + return Objects.equals(this.mpId, multiplayQueryForms.mpId); + } + + @Override + public int hashCode() { + return Objects.hash(mpId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayQueryForms {"); + + sb.append(",mpId: ").append(toIndentedString(mpId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From f89b399b745340f732f9eb4b92d5d82c7165dde2 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:44 +0800 Subject: [PATCH 166/235] feat: update --- .../client/model/MultiplayQueryResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResult.java new file mode 100644 index 000000000..560563b23 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.MultiplayQueryResultModel; +import java.io.Serializable; +/** + * MultiplayQueryResult + */ +public class MultiplayQueryResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private MultiplayQueryResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public MultiplayQueryResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public MultiplayQueryResult model(MultiplayQueryResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public MultiplayQueryResultModel getModel() { + return model; + } + + public void setModel(MultiplayQueryResultModel model) { + this.model = model; + } + + public MultiplayQueryResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public MultiplayQueryResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayQueryResult multiplayQueryResult = (MultiplayQueryResult) o; + return Objects.equals(this.success, multiplayQueryResult.success) && + Objects.equals(this.model, multiplayQueryResult.model) && + Objects.equals(this.msgInfo, multiplayQueryResult.msgInfo) && + Objects.equals(this.msgCode, multiplayQueryResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayQueryResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 9cf9b3b2db65108d54d021d7ee59cfbf66808909 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:45 +0800 Subject: [PATCH 167/235] feat: update --- .../model/MultiplayQueryResultModel.java | 200 ++++++++++++++++++ 1 file changed, 200 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResultModel.java new file mode 100644 index 000000000..f4856a3b2 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResultModel.java @@ -0,0 +1,200 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.MultiplayQueryResultModelConfig; +import com.alibaba.yjopenapi.client.model.MultiplayQueryResultModelTokens; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * MultiplayQueryResultModel + */ +public class MultiplayQueryResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String creatorTokenId = null; + + + private Long endTs = null; + + + private List tokens = null; + + + private String dataVer = null; + + + private String mpId = null; + + + private MultiplayQueryResultModelConfig config = null; + + + public MultiplayQueryResultModel creatorTokenId(String creatorTokenId) { + this.creatorTokenId = creatorTokenId; + return this; + } + + /** + * Get creatorTokenId + * @return creatorTokenId + **/ + public String getCreatorTokenId() { + return creatorTokenId; + } + + public void setCreatorTokenId(String creatorTokenId) { + this.creatorTokenId = creatorTokenId; + } + + public MultiplayQueryResultModel endTs(Long endTs) { + this.endTs = endTs; + return this; + } + + /** + * Get endTs + * @return endTs + **/ + public Long getEndTs() { + return endTs; + } + + public void setEndTs(Long endTs) { + this.endTs = endTs; + } + + public MultiplayQueryResultModel tokens(List tokens) { + this.tokens = tokens; + return this; + } + + public MultiplayQueryResultModel addTokensItem(MultiplayQueryResultModelTokens tokensItem) { + if (this.tokens == null) { + this.tokens = new ArrayList(); + } + this.tokens.add(tokensItem); + return this; + } + + /** + * Get tokens + * @return tokens + **/ + public List getTokens() { + return tokens; + } + + public void setTokens(List tokens) { + this.tokens = tokens; + } + + public MultiplayQueryResultModel dataVer(String dataVer) { + this.dataVer = dataVer; + return this; + } + + /** + * Get dataVer + * @return dataVer + **/ + public String getDataVer() { + return dataVer; + } + + public void setDataVer(String dataVer) { + this.dataVer = dataVer; + } + + public MultiplayQueryResultModel mpId(String mpId) { + this.mpId = mpId; + return this; + } + + /** + * Get mpId + * @return mpId + **/ + public String getMpId() { + return mpId; + } + + public void setMpId(String mpId) { + this.mpId = mpId; + } + + public MultiplayQueryResultModel config(MultiplayQueryResultModelConfig config) { + this.config = config; + return this; + } + + /** + * Get config + * @return config + **/ + public MultiplayQueryResultModelConfig getConfig() { + return config; + } + + public void setConfig(MultiplayQueryResultModelConfig config) { + this.config = config; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayQueryResultModel multiplayQueryResultModel = (MultiplayQueryResultModel) o; + return Objects.equals(this.creatorTokenId, multiplayQueryResultModel.creatorTokenId) && + Objects.equals(this.endTs, multiplayQueryResultModel.endTs) && + Objects.equals(this.tokens, multiplayQueryResultModel.tokens) && + Objects.equals(this.dataVer, multiplayQueryResultModel.dataVer) && + Objects.equals(this.mpId, multiplayQueryResultModel.mpId) && + Objects.equals(this.config, multiplayQueryResultModel.config); + } + + @Override + public int hashCode() { + return Objects.hash(creatorTokenId, endTs, tokens, dataVer, mpId, config); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayQueryResultModel {"); + + sb.append(",creatorTokenId: ").append(toIndentedString(creatorTokenId)); + sb.append(",endTs: ").append(toIndentedString(endTs)); + sb.append(",tokens: ").append(toIndentedString(tokens)); + sb.append(",dataVer: ").append(toIndentedString(dataVer)); + sb.append(",mpId: ").append(toIndentedString(mpId)); + sb.append(",config: ").append(toIndentedString(config)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From bb9e027a7fcc7eda84a9165a1c76491f6502db5e Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:47 +0800 Subject: [PATCH 168/235] feat: update --- .../MultiplayQueryResultModelConfig.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResultModelConfig.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResultModelConfig.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResultModelConfig.java new file mode 100644 index 000000000..0e3b69ac6 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResultModelConfig.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * MultiplayQueryResultModelConfig + */ +public class MultiplayQueryResultModelConfig implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer maxToken = null; + + + private Integer hostTimeout = null; + + + private Integer connectTimeout = null; + + + private Integer inputTimeout = null; + + + public MultiplayQueryResultModelConfig maxToken(Integer maxToken) { + this.maxToken = maxToken; + return this; + } + + /** + * Get maxToken + * @return maxToken + **/ + public Integer getMaxToken() { + return maxToken; + } + + public void setMaxToken(Integer maxToken) { + this.maxToken = maxToken; + } + + public MultiplayQueryResultModelConfig hostTimeout(Integer hostTimeout) { + this.hostTimeout = hostTimeout; + return this; + } + + /** + * Get hostTimeout + * @return hostTimeout + **/ + public Integer getHostTimeout() { + return hostTimeout; + } + + public void setHostTimeout(Integer hostTimeout) { + this.hostTimeout = hostTimeout; + } + + public MultiplayQueryResultModelConfig connectTimeout(Integer connectTimeout) { + this.connectTimeout = connectTimeout; + return this; + } + + /** + * Get connectTimeout + * @return connectTimeout + **/ + public Integer getConnectTimeout() { + return connectTimeout; + } + + public void setConnectTimeout(Integer connectTimeout) { + this.connectTimeout = connectTimeout; + } + + public MultiplayQueryResultModelConfig inputTimeout(Integer inputTimeout) { + this.inputTimeout = inputTimeout; + return this; + } + + /** + * Get inputTimeout + * @return inputTimeout + **/ + public Integer getInputTimeout() { + return inputTimeout; + } + + public void setInputTimeout(Integer inputTimeout) { + this.inputTimeout = inputTimeout; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayQueryResultModelConfig multiplayQueryResultModelConfig = (MultiplayQueryResultModelConfig) o; + return Objects.equals(this.maxToken, multiplayQueryResultModelConfig.maxToken) && + Objects.equals(this.hostTimeout, multiplayQueryResultModelConfig.hostTimeout) && + Objects.equals(this.connectTimeout, multiplayQueryResultModelConfig.connectTimeout) && + Objects.equals(this.inputTimeout, multiplayQueryResultModelConfig.inputTimeout); + } + + @Override + public int hashCode() { + return Objects.hash(maxToken, hostTimeout, connectTimeout, inputTimeout); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayQueryResultModelConfig {"); + + sb.append(",maxToken: ").append(toIndentedString(maxToken)); + sb.append(",hostTimeout: ").append(toIndentedString(hostTimeout)); + sb.append(",connectTimeout: ").append(toIndentedString(connectTimeout)); + sb.append(",inputTimeout: ").append(toIndentedString(inputTimeout)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 9d4e2f64f156f5150035b3e876c5248e999d8dd3 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:48 +0800 Subject: [PATCH 169/235] feat: update --- .../MultiplayQueryResultModelTokens.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResultModelTokens.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResultModelTokens.java b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResultModelTokens.java new file mode 100644 index 000000000..2cec81079 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/MultiplayQueryResultModelTokens.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * MultiplayQueryResultModelTokens + */ +public class MultiplayQueryResultModelTokens implements Serializable { + private static final long serialVersionUID = 1L; + + private String accountId = null; + + + private String tokenId = null; + + + private String session = null; + + + private Integer controlId = null; + + + public MultiplayQueryResultModelTokens accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public MultiplayQueryResultModelTokens tokenId(String tokenId) { + this.tokenId = tokenId; + return this; + } + + /** + * Get tokenId + * @return tokenId + **/ + public String getTokenId() { + return tokenId; + } + + public void setTokenId(String tokenId) { + this.tokenId = tokenId; + } + + public MultiplayQueryResultModelTokens session(String session) { + this.session = session; + return this; + } + + /** + * Get session + * @return session + **/ + public String getSession() { + return session; + } + + public void setSession(String session) { + this.session = session; + } + + public MultiplayQueryResultModelTokens controlId(Integer controlId) { + this.controlId = controlId; + return this; + } + + /** + * Get controlId + * @return controlId + **/ + public Integer getControlId() { + return controlId; + } + + public void setControlId(Integer controlId) { + this.controlId = controlId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MultiplayQueryResultModelTokens multiplayQueryResultModelTokens = (MultiplayQueryResultModelTokens) o; + return Objects.equals(this.accountId, multiplayQueryResultModelTokens.accountId) && + Objects.equals(this.tokenId, multiplayQueryResultModelTokens.tokenId) && + Objects.equals(this.session, multiplayQueryResultModelTokens.session) && + Objects.equals(this.controlId, multiplayQueryResultModelTokens.controlId); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, tokenId, session, controlId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MultiplayQueryResultModelTokens {"); + + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",tokenId: ").append(toIndentedString(tokenId)); + sb.append(",session: ").append(toIndentedString(session)); + sb.append(",controlId: ").append(toIndentedString(controlId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From b3da6a8154f7952ec2ad627c32ac2a9dc0ed2683 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:49 +0800 Subject: [PATCH 170/235] feat: update --- .../client/model/QueryGameHangForms.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/QueryGameHangForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/QueryGameHangForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/QueryGameHangForms.java new file mode 100644 index 000000000..28f672fd5 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/QueryGameHangForms.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * QueryGameHangForms + */ +public class QueryGameHangForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameSession = null; + + + private String appKey = null; + + + public QueryGameHangForms gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * 会话ID + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + public QueryGameHangForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * 项目应用AK + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + QueryGameHangForms queryGameHangForms = (QueryGameHangForms) o; + return Objects.equals(this.gameSession, queryGameHangForms.gameSession) && + Objects.equals(this.appKey, queryGameHangForms.appKey); + } + + @Override + public int hashCode() { + return Objects.hash(gameSession, appKey); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class QueryGameHangForms {"); + + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 4cd4b0a287b6115a1b0b8e0e1ca8bb9f97f474be Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:51 +0800 Subject: [PATCH 171/235] feat: update --- .../client/model/QueryGameHangResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/QueryGameHangResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/QueryGameHangResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/QueryGameHangResult.java new file mode 100644 index 000000000..cecea998c --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/QueryGameHangResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.QueryGameHangResultModel; +import java.io.Serializable; +/** + * QueryGameHangResult + */ +public class QueryGameHangResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private QueryGameHangResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public QueryGameHangResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public QueryGameHangResult model(QueryGameHangResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public QueryGameHangResultModel getModel() { + return model; + } + + public void setModel(QueryGameHangResultModel model) { + this.model = model; + } + + public QueryGameHangResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public QueryGameHangResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + QueryGameHangResult queryGameHangResult = (QueryGameHangResult) o; + return Objects.equals(this.success, queryGameHangResult.success) && + Objects.equals(this.model, queryGameHangResult.model) && + Objects.equals(this.msgInfo, queryGameHangResult.msgInfo) && + Objects.equals(this.msgCode, queryGameHangResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class QueryGameHangResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 7344d969c487434387eb7c05d629198e775352ba Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:52 +0800 Subject: [PATCH 172/235] feat: update --- .../model/QueryGameHangResultModel.java | 210 ++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/QueryGameHangResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/QueryGameHangResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/QueryGameHangResultModel.java new file mode 100644 index 000000000..c6cbdf4dd --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/QueryGameHangResultModel.java @@ -0,0 +1,210 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * QueryGameHangResultModel + */ +public class QueryGameHangResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Long duration = null; + + + private String code = null; + + + private Long startHangTimestamp = null; + + + private Boolean success = null; + + + private String message = null; + + + private Boolean hanging = null; + + + private String gameSession = null; + + + public QueryGameHangResultModel duration(Long duration) { + this.duration = duration; + return this; + } + + /** + * 挂机时长 + * @return duration + **/ + public Long getDuration() { + return duration; + } + + public void setDuration(Long duration) { + this.duration = duration; + } + + public QueryGameHangResultModel code(String code) { + this.code = code; + return this; + } + + /** + * 错误Code + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public QueryGameHangResultModel startHangTimestamp(Long startHangTimestamp) { + this.startHangTimestamp = startHangTimestamp; + return this; + } + + /** + * 开始挂机毫秒时间戳 + * @return startHangTimestamp + **/ + public Long getStartHangTimestamp() { + return startHangTimestamp; + } + + public void setStartHangTimestamp(Long startHangTimestamp) { + this.startHangTimestamp = startHangTimestamp; + } + + public QueryGameHangResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * 设置是否成功 + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public QueryGameHangResultModel message(String message) { + this.message = message; + return this; + } + + /** + * 错误Message + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public QueryGameHangResultModel hanging(Boolean hanging) { + this.hanging = hanging; + return this; + } + + /** + * 会话ID是否在挂机中 + * @return hanging + **/ + public Boolean getHanging() { + return hanging; + } + + public void setHanging(Boolean hanging) { + this.hanging = hanging; + } + + public QueryGameHangResultModel gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * 会话ID + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + QueryGameHangResultModel queryGameHangResultModel = (QueryGameHangResultModel) o; + return Objects.equals(this.duration, queryGameHangResultModel.duration) && + Objects.equals(this.code, queryGameHangResultModel.code) && + Objects.equals(this.startHangTimestamp, queryGameHangResultModel.startHangTimestamp) && + Objects.equals(this.success, queryGameHangResultModel.success) && + Objects.equals(this.message, queryGameHangResultModel.message) && + Objects.equals(this.hanging, queryGameHangResultModel.hanging) && + Objects.equals(this.gameSession, queryGameHangResultModel.gameSession); + } + + @Override + public int hashCode() { + return Objects.hash(duration, code, startHangTimestamp, success, message, hanging, gameSession); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class QueryGameHangResultModel {"); + + sb.append(",duration: ").append(toIndentedString(duration)); + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",startHangTimestamp: ").append(toIndentedString(startHangTimestamp)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",hanging: ").append(toIndentedString(hanging)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 49a4d5f099d15175e138cecf6d0778cff66c1dbe Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:53 +0800 Subject: [PATCH 173/235] feat: update --- .../client/model/QuerySessionStatusForms.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/QuerySessionStatusForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/QuerySessionStatusForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/QuerySessionStatusForms.java new file mode 100644 index 000000000..b3c99c482 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/QuerySessionStatusForms.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * QuerySessionStatusForms + */ +public class QuerySessionStatusForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameSession = null; + + + private String appKey = null; + + + public QuerySessionStatusForms gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * 会话ID + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + public QuerySessionStatusForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * 项目应用AK + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + QuerySessionStatusForms querySessionStatusForms = (QuerySessionStatusForms) o; + return Objects.equals(this.gameSession, querySessionStatusForms.gameSession) && + Objects.equals(this.appKey, querySessionStatusForms.appKey); + } + + @Override + public int hashCode() { + return Objects.hash(gameSession, appKey); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class QuerySessionStatusForms {"); + + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From f8fe6cc77632cf53f83d34267fbeff7067c04cc9 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:55 +0800 Subject: [PATCH 174/235] feat: update --- .../model/QuerySessionStatusResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/QuerySessionStatusResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/QuerySessionStatusResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/QuerySessionStatusResult.java new file mode 100644 index 000000000..40d771722 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/QuerySessionStatusResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.QuerySessionStatusResultModel; +import java.io.Serializable; +/** + * QuerySessionStatusResult + */ +public class QuerySessionStatusResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private QuerySessionStatusResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public QuerySessionStatusResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public QuerySessionStatusResult model(QuerySessionStatusResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public QuerySessionStatusResultModel getModel() { + return model; + } + + public void setModel(QuerySessionStatusResultModel model) { + this.model = model; + } + + public QuerySessionStatusResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public QuerySessionStatusResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + QuerySessionStatusResult querySessionStatusResult = (QuerySessionStatusResult) o; + return Objects.equals(this.success, querySessionStatusResult.success) && + Objects.equals(this.model, querySessionStatusResult.model) && + Objects.equals(this.msgInfo, querySessionStatusResult.msgInfo) && + Objects.equals(this.msgCode, querySessionStatusResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class QuerySessionStatusResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 92725c264869a355440f2c1539fbfbdcaa1b29a8 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:56 +0800 Subject: [PATCH 175/235] feat: update --- .../model/QuerySessionStatusResultModel.java | 364 ++++++++++++++++++ 1 file changed, 364 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/QuerySessionStatusResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/QuerySessionStatusResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/QuerySessionStatusResultModel.java new file mode 100644 index 000000000..0fb78a044 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/QuerySessionStatusResultModel.java @@ -0,0 +1,364 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * QuerySessionStatusResultModel + */ +public class QuerySessionStatusResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String code = null; + + + private String message = null; + + + private String accountId = null; + + + private Long dispatchTime = null; + + + private Integer userLevel = null; + + + private String regionId = null; + + + private Boolean success = null; + + + private Long tenantId = null; + + + private Long stopTime = null; + + + private Long playTime = null; + + + private String projectId = null; + + + private String gameSession = null; + + + private String status = null; + + + public QuerySessionStatusResultModel gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * 会话归属的游戏ID + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public QuerySessionStatusResultModel code(String code) { + this.code = code; + return this; + } + + /** + * 返回码 + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public QuerySessionStatusResultModel message(String message) { + this.message = message; + return this; + } + + /** + * 返回信息 + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public QuerySessionStatusResultModel accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * 会话所属用户ID + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public QuerySessionStatusResultModel dispatchTime(Long dispatchTime) { + this.dispatchTime = dispatchTime; + return this; + } + + /** + * 会话调度毫秒时间戳 + * @return dispatchTime + **/ + public Long getDispatchTime() { + return dispatchTime; + } + + public void setDispatchTime(Long dispatchTime) { + this.dispatchTime = dispatchTime; + } + + public QuerySessionStatusResultModel userLevel(Integer userLevel) { + this.userLevel = userLevel; + return this; + } + + /** + * 会话调度用户等级 + * @return userLevel + **/ + public Integer getUserLevel() { + return userLevel; + } + + public void setUserLevel(Integer userLevel) { + this.userLevel = userLevel; + } + + public QuerySessionStatusResultModel regionId(String regionId) { + this.regionId = regionId; + return this; + } + + /** + * 会话调度大区ID + * @return regionId + **/ + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public QuerySessionStatusResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * 是否成功 + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public QuerySessionStatusResultModel tenantId(Long tenantId) { + this.tenantId = tenantId; + return this; + } + + /** + * 会话归属的租户ID + * @return tenantId + **/ + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } + + public QuerySessionStatusResultModel stopTime(Long stopTime) { + this.stopTime = stopTime; + return this; + } + + /** + * 会话停止毫秒时间戳 + * @return stopTime + **/ + public Long getStopTime() { + return stopTime; + } + + public void setStopTime(Long stopTime) { + this.stopTime = stopTime; + } + + public QuerySessionStatusResultModel playTime(Long playTime) { + this.playTime = playTime; + return this; + } + + /** + * 用户开始游戏毫秒时间戳 + * @return playTime + **/ + public Long getPlayTime() { + return playTime; + } + + public void setPlayTime(Long playTime) { + this.playTime = playTime; + } + + public QuerySessionStatusResultModel projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * 会话归属的项目ID + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public QuerySessionStatusResultModel gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * 会话ID + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + public QuerySessionStatusResultModel status(String status) { + this.status = status; + return this; + } + + /** + * 会话当前状态:STARTED: 运行中,STOPPED: 已停止 + * @return status + **/ + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + QuerySessionStatusResultModel querySessionStatusResultModel = (QuerySessionStatusResultModel) o; + return Objects.equals(this.gameId, querySessionStatusResultModel.gameId) && + Objects.equals(this.code, querySessionStatusResultModel.code) && + Objects.equals(this.message, querySessionStatusResultModel.message) && + Objects.equals(this.accountId, querySessionStatusResultModel.accountId) && + Objects.equals(this.dispatchTime, querySessionStatusResultModel.dispatchTime) && + Objects.equals(this.userLevel, querySessionStatusResultModel.userLevel) && + Objects.equals(this.regionId, querySessionStatusResultModel.regionId) && + Objects.equals(this.success, querySessionStatusResultModel.success) && + Objects.equals(this.tenantId, querySessionStatusResultModel.tenantId) && + Objects.equals(this.stopTime, querySessionStatusResultModel.stopTime) && + Objects.equals(this.playTime, querySessionStatusResultModel.playTime) && + Objects.equals(this.projectId, querySessionStatusResultModel.projectId) && + Objects.equals(this.gameSession, querySessionStatusResultModel.gameSession) && + Objects.equals(this.status, querySessionStatusResultModel.status); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, code, message, accountId, dispatchTime, userLevel, regionId, success, tenantId, stopTime, playTime, projectId, gameSession, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class QuerySessionStatusResultModel {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",dispatchTime: ").append(toIndentedString(dispatchTime)); + sb.append(",userLevel: ").append(toIndentedString(userLevel)); + sb.append(",regionId: ").append(toIndentedString(regionId)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",tenantId: ").append(toIndentedString(tenantId)); + sb.append(",stopTime: ").append(toIndentedString(stopTime)); + sb.append(",playTime: ").append(toIndentedString(playTime)); + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append(",status: ").append(toIndentedString(status)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 3299b40e94311c2cc5ea11cf8508c9e4afd62a26 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:57 +0800 Subject: [PATCH 176/235] feat: update --- .../client/model/SetGameAliveForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/SetGameAliveForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/SetGameAliveForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/SetGameAliveForms.java new file mode 100644 index 000000000..79bea0f6a --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/SetGameAliveForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * SetGameAliveForms + */ +public class SetGameAliveForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameSession = null; + + + private String appKey = null; + + + private Long keepAlive = null; + + + public SetGameAliveForms gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * 会话ID + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + public SetGameAliveForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * 项目应用AK + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public SetGameAliveForms keepAlive(Long keepAlive) { + this.keepAlive = keepAlive; + return this; + } + + /** + * 游戏可运行时长 + * @return keepAlive + **/ + public Long getKeepAlive() { + return keepAlive; + } + + public void setKeepAlive(Long keepAlive) { + this.keepAlive = keepAlive; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SetGameAliveForms setGameAliveForms = (SetGameAliveForms) o; + return Objects.equals(this.gameSession, setGameAliveForms.gameSession) && + Objects.equals(this.appKey, setGameAliveForms.appKey) && + Objects.equals(this.keepAlive, setGameAliveForms.keepAlive); + } + + @Override + public int hashCode() { + return Objects.hash(gameSession, appKey, keepAlive); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SetGameAliveForms {"); + + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",keepAlive: ").append(toIndentedString(keepAlive)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From f470102627aef9498f7207c1ae1642c1879235b4 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:13:58 +0800 Subject: [PATCH 177/235] feat: update --- .../client/model/SetGameAliveResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/SetGameAliveResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/SetGameAliveResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/SetGameAliveResult.java new file mode 100644 index 000000000..b669692c5 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/SetGameAliveResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.SetGameAliveResultModel; +import java.io.Serializable; +/** + * SetGameAliveResult + */ +public class SetGameAliveResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private SetGameAliveResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public SetGameAliveResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public SetGameAliveResult model(SetGameAliveResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public SetGameAliveResultModel getModel() { + return model; + } + + public void setModel(SetGameAliveResultModel model) { + this.model = model; + } + + public SetGameAliveResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public SetGameAliveResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SetGameAliveResult setGameAliveResult = (SetGameAliveResult) o; + return Objects.equals(this.success, setGameAliveResult.success) && + Objects.equals(this.model, setGameAliveResult.model) && + Objects.equals(this.msgInfo, setGameAliveResult.msgInfo) && + Objects.equals(this.msgCode, setGameAliveResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SetGameAliveResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 2882ff463b7b71e237d370898ecbc62cfe520214 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:00 +0800 Subject: [PATCH 178/235] feat: update --- .../client/model/SetGameAliveResultModel.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/SetGameAliveResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/SetGameAliveResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/SetGameAliveResultModel.java new file mode 100644 index 000000000..89d293e5f --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/SetGameAliveResultModel.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * SetGameAliveResultModel + */ +public class SetGameAliveResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String code = null; + + + private Boolean success = null; + + + private String message = null; + + + private String gameSession = null; + + + public SetGameAliveResultModel code(String code) { + this.code = code; + return this; + } + + /** + * 错误Code + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public SetGameAliveResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * 设置是否成功 + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public SetGameAliveResultModel message(String message) { + this.message = message; + return this; + } + + /** + * 错误Message + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public SetGameAliveResultModel gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * 会话ID + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SetGameAliveResultModel setGameAliveResultModel = (SetGameAliveResultModel) o; + return Objects.equals(this.code, setGameAliveResultModel.code) && + Objects.equals(this.success, setGameAliveResultModel.success) && + Objects.equals(this.message, setGameAliveResultModel.message) && + Objects.equals(this.gameSession, setGameAliveResultModel.gameSession); + } + + @Override + public int hashCode() { + return Objects.hash(code, success, message, gameSession); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SetGameAliveResultModel {"); + + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From f9b90584d9f783516d5f8efd05affe93a7fe7577 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:01 +0800 Subject: [PATCH 179/235] feat: update --- .../client/model/SetGameHangForms.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/SetGameHangForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/SetGameHangForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/SetGameHangForms.java new file mode 100644 index 000000000..f52bed794 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/SetGameHangForms.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * SetGameHangForms + */ +public class SetGameHangForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameSession = null; + + + private String appKey = null; + + + private Long duration = null; + + + private Boolean kickInTheGame = null; + + + public SetGameHangForms gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * 会话ID + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + public SetGameHangForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * 项目应用AK + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public SetGameHangForms duration(Long duration) { + this.duration = duration; + return this; + } + + /** + * 挂机时长 + * @return duration + **/ + public Long getDuration() { + return duration; + } + + public void setDuration(Long duration) { + this.duration = duration; + } + + public SetGameHangForms kickInTheGame(Boolean kickInTheGame) { + this.kickInTheGame = kickInTheGame; + return this; + } + + /** + * 是否踢出游戏中用户 + * @return kickInTheGame + **/ + public Boolean getKickInTheGame() { + return kickInTheGame; + } + + public void setKickInTheGame(Boolean kickInTheGame) { + this.kickInTheGame = kickInTheGame; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SetGameHangForms setGameHangForms = (SetGameHangForms) o; + return Objects.equals(this.gameSession, setGameHangForms.gameSession) && + Objects.equals(this.appKey, setGameHangForms.appKey) && + Objects.equals(this.duration, setGameHangForms.duration) && + Objects.equals(this.kickInTheGame, setGameHangForms.kickInTheGame); + } + + @Override + public int hashCode() { + return Objects.hash(gameSession, appKey, duration, kickInTheGame); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SetGameHangForms {"); + + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",duration: ").append(toIndentedString(duration)); + sb.append(",kickInTheGame: ").append(toIndentedString(kickInTheGame)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 2bf2a26769d839f14fb0113d03e4baacc16cdb2f Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:02 +0800 Subject: [PATCH 180/235] feat: update --- .../client/model/SetGameHangResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/SetGameHangResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/SetGameHangResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/SetGameHangResult.java new file mode 100644 index 000000000..2a9c191fa --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/SetGameHangResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.SetGameHangResultModel; +import java.io.Serializable; +/** + * SetGameHangResult + */ +public class SetGameHangResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private SetGameHangResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public SetGameHangResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public SetGameHangResult model(SetGameHangResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public SetGameHangResultModel getModel() { + return model; + } + + public void setModel(SetGameHangResultModel model) { + this.model = model; + } + + public SetGameHangResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public SetGameHangResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SetGameHangResult setGameHangResult = (SetGameHangResult) o; + return Objects.equals(this.success, setGameHangResult.success) && + Objects.equals(this.model, setGameHangResult.model) && + Objects.equals(this.msgInfo, setGameHangResult.msgInfo) && + Objects.equals(this.msgCode, setGameHangResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SetGameHangResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 7ecbd3ebca1d33f87e900956e44c4106e09c5001 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:03 +0800 Subject: [PATCH 181/235] feat: update --- .../client/model/SetGameHangResultModel.java | 188 ++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/SetGameHangResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/SetGameHangResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/SetGameHangResultModel.java new file mode 100644 index 000000000..105b21d4b --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/SetGameHangResultModel.java @@ -0,0 +1,188 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * SetGameHangResultModel + */ +public class SetGameHangResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Long duration = null; + + + private String code = null; + + + private Long startHangTimestamp = null; + + + private Boolean success = null; + + + private String message = null; + + + private String gameSession = null; + + + public SetGameHangResultModel duration(Long duration) { + this.duration = duration; + return this; + } + + /** + * 挂机时长,单位:秒 + * @return duration + **/ + public Long getDuration() { + return duration; + } + + public void setDuration(Long duration) { + this.duration = duration; + } + + public SetGameHangResultModel code(String code) { + this.code = code; + return this; + } + + /** + * 错误Code + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public SetGameHangResultModel startHangTimestamp(Long startHangTimestamp) { + this.startHangTimestamp = startHangTimestamp; + return this; + } + + /** + * 开始挂机毫秒时间戳 + * @return startHangTimestamp + **/ + public Long getStartHangTimestamp() { + return startHangTimestamp; + } + + public void setStartHangTimestamp(Long startHangTimestamp) { + this.startHangTimestamp = startHangTimestamp; + } + + public SetGameHangResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * 设置是否成功 + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public SetGameHangResultModel message(String message) { + this.message = message; + return this; + } + + /** + * 错误Message + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public SetGameHangResultModel gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * 会话ID + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SetGameHangResultModel setGameHangResultModel = (SetGameHangResultModel) o; + return Objects.equals(this.duration, setGameHangResultModel.duration) && + Objects.equals(this.code, setGameHangResultModel.code) && + Objects.equals(this.startHangTimestamp, setGameHangResultModel.startHangTimestamp) && + Objects.equals(this.success, setGameHangResultModel.success) && + Objects.equals(this.message, setGameHangResultModel.message) && + Objects.equals(this.gameSession, setGameHangResultModel.gameSession); + } + + @Override + public int hashCode() { + return Objects.hash(duration, code, startHangTimestamp, success, message, gameSession); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SetGameHangResultModel {"); + + sb.append(",duration: ").append(toIndentedString(duration)); + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",startHangTimestamp: ").append(toIndentedString(startHangTimestamp)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From b99da3dc27e04eff453f65b632a4a8a548a4bc57 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:05 +0800 Subject: [PATCH 182/235] feat: update --- .../yjopenapi/client/model/StopGameForms.java | 166 ++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/StopGameForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/StopGameForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/StopGameForms.java new file mode 100644 index 000000000..855239acb --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/StopGameForms.java @@ -0,0 +1,166 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * StopGameForms + */ +public class StopGameForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String accountId = null; + + + private String gameId = null; + + + private String appKey = null; + + + private String gameSession = null; + + + private String reason = null; + + + public StopGameForms accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * 用户id,给到Paas平台和SDK,两者保持一致,全局唯一 + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public StopGameForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Paas平台部署的游戏Id + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public StopGameForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * Paas平台AK(应用的AK,非服务端AK) + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public StopGameForms gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * 调度成功返回的GameSession + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + public StopGameForms reason(String reason) { + this.reason = reason; + return this; + } + + /** + * 端侧从Paas sdk获取的调度业务参数 + * @return reason + **/ + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StopGameForms stopGameForms = (StopGameForms) o; + return Objects.equals(this.accountId, stopGameForms.accountId) && + Objects.equals(this.gameId, stopGameForms.gameId) && + Objects.equals(this.appKey, stopGameForms.appKey) && + Objects.equals(this.gameSession, stopGameForms.gameSession) && + Objects.equals(this.reason, stopGameForms.reason); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, gameId, appKey, gameSession, reason); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StopGameForms {"); + + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append(",reason: ").append(toIndentedString(reason)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 61b3b5f061cf579a7d52d139872cc62f93b5b02b Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:06 +0800 Subject: [PATCH 183/235] feat: update --- .../client/model/StopGameResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/StopGameResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/StopGameResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/StopGameResult.java new file mode 100644 index 000000000..669c466c7 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/StopGameResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.StopGameResultModel; +import java.io.Serializable; +/** + * StopGameResult + */ +public class StopGameResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private StopGameResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public StopGameResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * 是否成功 + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public StopGameResult model(StopGameResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public StopGameResultModel getModel() { + return model; + } + + public void setModel(StopGameResultModel model) { + this.model = model; + } + + public StopGameResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * 错误信息 + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public StopGameResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * 错误码 + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StopGameResult stopGameResult = (StopGameResult) o; + return Objects.equals(this.success, stopGameResult.success) && + Objects.equals(this.model, stopGameResult.model) && + Objects.equals(this.msgInfo, stopGameResult.msgInfo) && + Objects.equals(this.msgCode, stopGameResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StopGameResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 12b177ea5b588aa9111c84dbc5b1b4b0c0ecf573 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:07 +0800 Subject: [PATCH 184/235] feat: update --- .../client/model/StopGameResultModel.java | 166 ++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/StopGameResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/StopGameResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/StopGameResultModel.java new file mode 100644 index 000000000..864ef0317 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/StopGameResultModel.java @@ -0,0 +1,166 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * StopGameResultModel + */ +public class StopGameResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String code = null; + + + private Boolean success = null; + + + private String message = null; + + + private String gameSession = null; + + + public StopGameResultModel gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Paas平台游戏ID + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public StopGameResultModel code(String code) { + this.code = code; + return this; + } + + /** + * 返回码 + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public StopGameResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * 调度执行结果 + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public StopGameResultModel message(String message) { + this.message = message; + return this; + } + + /** + * 返回信息 + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public StopGameResultModel gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * 会话标识 + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StopGameResultModel stopGameResultModel = (StopGameResultModel) o; + return Objects.equals(this.gameId, stopGameResultModel.gameId) && + Objects.equals(this.code, stopGameResultModel.code) && + Objects.equals(this.success, stopGameResultModel.success) && + Objects.equals(this.message, stopGameResultModel.message) && + Objects.equals(this.gameSession, stopGameResultModel.gameSession); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, code, success, message, gameSession); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StopGameResultModel {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 6421b665ef3837c725212c9a8ba8c25a86ddbcc3 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:09 +0800 Subject: [PATCH 185/235] feat: update --- .../model/StopPreopenContainerForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/StopPreopenContainerForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/StopPreopenContainerForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/StopPreopenContainerForms.java new file mode 100644 index 000000000..294dcc3e4 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/StopPreopenContainerForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * StopPreopenContainerForms + */ +public class StopPreopenContainerForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String appKey = null; + + + private String gameId = null; + + + private Integer numberOfBatches = null; + + + public StopPreopenContainerForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * 云游戏项目appKey + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public StopPreopenContainerForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * 云游戏平台游戏ID + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public StopPreopenContainerForms numberOfBatches(Integer numberOfBatches) { + this.numberOfBatches = numberOfBatches; + return this; + } + + /** + * Get numberOfBatches + * @return numberOfBatches + **/ + public Integer getNumberOfBatches() { + return numberOfBatches; + } + + public void setNumberOfBatches(Integer numberOfBatches) { + this.numberOfBatches = numberOfBatches; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StopPreopenContainerForms stopPreopenContainerForms = (StopPreopenContainerForms) o; + return Objects.equals(this.appKey, stopPreopenContainerForms.appKey) && + Objects.equals(this.gameId, stopPreopenContainerForms.gameId) && + Objects.equals(this.numberOfBatches, stopPreopenContainerForms.numberOfBatches); + } + + @Override + public int hashCode() { + return Objects.hash(appKey, gameId, numberOfBatches); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StopPreopenContainerForms {"); + + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",numberOfBatches: ").append(toIndentedString(numberOfBatches)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From e6f32970001dd2aa3403c64eb1f21d43bf8a9f04 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:10 +0800 Subject: [PATCH 186/235] feat: update --- .../model/StopPreopenContainerResult.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/StopPreopenContainerResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/StopPreopenContainerResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/StopPreopenContainerResult.java new file mode 100644 index 000000000..d576f7844 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/StopPreopenContainerResult.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.io.Serializable; +/** + * StopPreopenContainerResult + */ +public class StopPreopenContainerResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private Map model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public StopPreopenContainerResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * 是否成功 + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public StopPreopenContainerResult model(Map model) { + this.model = model; + return this; + } + + public StopPreopenContainerResult putModelItem(String key, String modelItem) { + if (this.model == null) { + this.model = new HashMap(); + } + this.model.put(key, modelItem); + return this; + } + + /** + * 返回值 + * @return model + **/ + public Map getModel() { + return model; + } + + public void setModel(Map model) { + this.model = model; + } + + public StopPreopenContainerResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * 错误信息 + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public StopPreopenContainerResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * 错误码 + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StopPreopenContainerResult stopPreopenContainerResult = (StopPreopenContainerResult) o; + return Objects.equals(this.success, stopPreopenContainerResult.success) && + Objects.equals(this.model, stopPreopenContainerResult.model) && + Objects.equals(this.msgInfo, stopPreopenContainerResult.msgInfo) && + Objects.equals(this.msgCode, stopPreopenContainerResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StopPreopenContainerResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 7428c7797193d9af07219d19e41903aacff286f8 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:11 +0800 Subject: [PATCH 187/235] feat: update --- .../client/model/TryToGetSlotForms.java | 387 ++++++++++++++++++ 1 file changed, 387 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotForms.java new file mode 100644 index 000000000..6638d3967 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotForms.java @@ -0,0 +1,387 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.TryToGetSlotFormsStartParam; +import java.io.Serializable; +/** + * TryToGetSlotForms + */ +public class TryToGetSlotForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String accountId = null; + + + private String gameId = null; + + + private String appKey = null; + + + private String regionId = null; + + + private Boolean reConnect = null; + + + private String bizParam = null; + + + private String clientIp = null; + + + private String tags = null; + + + private Integer userLevel = null; + + + private Integer codec = null; + + + private Integer resolution = null; + + + private Integer bitRate = null; + + + private Integer fps = null; + + + private String gameCmdParam = null; + + + private TryToGetSlotFormsStartParam startParam = null; + + + public TryToGetSlotForms accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * 用户id,给到Paas平台和SDK,两者保持一致,全局唯一 + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public TryToGetSlotForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Paas平台部署的游戏Id + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public TryToGetSlotForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * Paas平台AK(应用的AK,非服务端AK) + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public TryToGetSlotForms regionId(String regionId) { + this.regionId = regionId; + return this; + } + + /** + * 需要调度的区域 + * @return regionId + **/ + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public TryToGetSlotForms reConnect(Boolean reConnect) { + this.reConnect = reConnect; + return this; + } + + /** + * false代表不使用断线重连,开启新游戏 + * @return reConnect + **/ + public Boolean getReConnect() { + return reConnect; + } + + public void setReConnect(Boolean reConnect) { + this.reConnect = reConnect; + } + + public TryToGetSlotForms bizParam(String bizParam) { + this.bizParam = bizParam; + return this; + } + + /** + * 端侧从Paas sdk获取的调度业务参数 + * @return bizParam + **/ + public String getBizParam() { + return bizParam; + } + + public void setBizParam(String bizParam) { + this.bizParam = bizParam; + } + + public TryToGetSlotForms clientIp(String clientIp) { + this.clientIp = clientIp; + return this; + } + + /** + * App端公网ip + * @return clientIp + **/ + public String getClientIp() { + return clientIp; + } + + public void setClientIp(String clientIp) { + this.clientIp = clientIp; + } + + public TryToGetSlotForms tags(String tags) { + this.tags = tags; + return this; + } + + /** + * 标签之间用半角逗号分隔 + * @return tags + **/ + public String getTags() { + return tags; + } + + public void setTags(String tags) { + this.tags = tags; + } + + public TryToGetSlotForms userLevel(Integer userLevel) { + this.userLevel = userLevel; + return this; + } + + /** + * 调度等级 + * @return userLevel + **/ + public Integer getUserLevel() { + return userLevel; + } + + public void setUserLevel(Integer userLevel) { + this.userLevel = userLevel; + } + + public TryToGetSlotForms codec(Integer codec) { + this.codec = codec; + return this; + } + + /** + * 编码 + * @return codec + **/ + public Integer getCodec() { + return codec; + } + + public void setCodec(Integer codec) { + this.codec = codec; + } + + public TryToGetSlotForms resolution(Integer resolution) { + this.resolution = resolution; + return this; + } + + /** + * 画质 + * @return resolution + **/ + public Integer getResolution() { + return resolution; + } + + public void setResolution(Integer resolution) { + this.resolution = resolution; + } + + public TryToGetSlotForms bitRate(Integer bitRate) { + this.bitRate = bitRate; + return this; + } + + /** + * 码率 + * @return bitRate + **/ + public Integer getBitRate() { + return bitRate; + } + + public void setBitRate(Integer bitRate) { + this.bitRate = bitRate; + } + + public TryToGetSlotForms fps(Integer fps) { + this.fps = fps; + return this; + } + + /** + * 帧率 + * @return fps + **/ + public Integer getFps() { + return fps; + } + + public void setFps(Integer fps) { + this.fps = fps; + } + + public TryToGetSlotForms gameCmdParam(String gameCmdParam) { + this.gameCmdParam = gameCmdParam; + return this; + } + + /** + * 启动命令,透传至ISV用于启动游戏 + * @return gameCmdParam + **/ + public String getGameCmdParam() { + return gameCmdParam; + } + + public void setGameCmdParam(String gameCmdParam) { + this.gameCmdParam = gameCmdParam; + } + + public TryToGetSlotForms startParam(TryToGetSlotFormsStartParam startParam) { + this.startParam = startParam; + return this; + } + + /** + * 游戏启动设置参数 + * @return startParam + **/ + public TryToGetSlotFormsStartParam getStartParam() { + return startParam; + } + + public void setStartParam(TryToGetSlotFormsStartParam startParam) { + this.startParam = startParam; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TryToGetSlotForms tryToGetSlotForms = (TryToGetSlotForms) o; + return Objects.equals(this.accountId, tryToGetSlotForms.accountId) && + Objects.equals(this.gameId, tryToGetSlotForms.gameId) && + Objects.equals(this.appKey, tryToGetSlotForms.appKey) && + Objects.equals(this.regionId, tryToGetSlotForms.regionId) && + Objects.equals(this.reConnect, tryToGetSlotForms.reConnect) && + Objects.equals(this.bizParam, tryToGetSlotForms.bizParam) && + Objects.equals(this.clientIp, tryToGetSlotForms.clientIp) && + Objects.equals(this.tags, tryToGetSlotForms.tags) && + Objects.equals(this.userLevel, tryToGetSlotForms.userLevel) && + Objects.equals(this.codec, tryToGetSlotForms.codec) && + Objects.equals(this.resolution, tryToGetSlotForms.resolution) && + Objects.equals(this.bitRate, tryToGetSlotForms.bitRate) && + Objects.equals(this.fps, tryToGetSlotForms.fps) && + Objects.equals(this.gameCmdParam, tryToGetSlotForms.gameCmdParam) && + Objects.equals(this.startParam, tryToGetSlotForms.startParam); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, gameId, appKey, regionId, reConnect, bizParam, clientIp, tags, userLevel, codec, resolution, bitRate, fps, gameCmdParam, startParam); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TryToGetSlotForms {"); + + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",regionId: ").append(toIndentedString(regionId)); + sb.append(",reConnect: ").append(toIndentedString(reConnect)); + sb.append(",bizParam: ").append(toIndentedString(bizParam)); + sb.append(",clientIp: ").append(toIndentedString(clientIp)); + sb.append(",tags: ").append(toIndentedString(tags)); + sb.append(",userLevel: ").append(toIndentedString(userLevel)); + sb.append(",codec: ").append(toIndentedString(codec)); + sb.append(",resolution: ").append(toIndentedString(resolution)); + sb.append(",bitRate: ").append(toIndentedString(bitRate)); + sb.append(",fps: ").append(toIndentedString(fps)); + sb.append(",gameCmdParam: ").append(toIndentedString(gameCmdParam)); + sb.append(",startParam: ").append(toIndentedString(startParam)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From ff5832b9affb1c891c62e998be7c95b9461931b1 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:13 +0800 Subject: [PATCH 188/235] feat: update --- .../model/TryToGetSlotFormsStartParam.java | 474 ++++++++++++++++++ 1 file changed, 474 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotFormsStartParam.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotFormsStartParam.java b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotFormsStartParam.java new file mode 100644 index 000000000..a6585bca4 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotFormsStartParam.java @@ -0,0 +1,474 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * TryToGetSlotFormsStartParam + */ +public class TryToGetSlotFormsStartParam implements Serializable { + private static final long serialVersionUID = 1L; + + private String scheduleUserLevels = null; + + + private Long keepAlive = null; + + + private String deviceResolution = null; + + + private Integer deviceDpi = null; + + + private String archiveUrl = null; + + + private String gameInput = null; + + + private String resolution = null; + + + private Long keepDisconnectAlive = null; + + + private String appChannel = null; + + + private Integer deviceDpr = null; + + + private String cloudInit = null; + + + private Integer scriptId = null; + + + private Integer bitRateSelfAdaption = null; + + + private Long keepNoPlayAlive = null; + + + private String ssaid = null; + + + private String archiveMd5 = null; + + + private String sysDeviceId = null; + + + private String deviceModel = null; + + + private String deviceBrand = null; + + + public TryToGetSlotFormsStartParam scheduleUserLevels(String scheduleUserLevels) { + this.scheduleUserLevels = scheduleUserLevels; + return this; + } + + /** + * 游戏调度实例等级 + * @return scheduleUserLevels + **/ + public String getScheduleUserLevels() { + return scheduleUserLevels; + } + + public void setScheduleUserLevels(String scheduleUserLevels) { + this.scheduleUserLevels = scheduleUserLevels; + } + + public TryToGetSlotFormsStartParam keepAlive(Long keepAlive) { + this.keepAlive = keepAlive; + return this; + } + + /** + * 控制游戏运行时长 + * @return keepAlive + **/ + public Long getKeepAlive() { + return keepAlive; + } + + public void setKeepAlive(Long keepAlive) { + this.keepAlive = keepAlive; + } + + public TryToGetSlotFormsStartParam deviceResolution(String deviceResolution) { + this.deviceResolution = deviceResolution; + return this; + } + + /** + * 设备分辨率 + * @return deviceResolution + **/ + public String getDeviceResolution() { + return deviceResolution; + } + + public void setDeviceResolution(String deviceResolution) { + this.deviceResolution = deviceResolution; + } + + public TryToGetSlotFormsStartParam deviceDpi(Integer deviceDpi) { + this.deviceDpi = deviceDpi; + return this; + } + + /** + * deviceDpi + * @return deviceDpi + **/ + public Integer getDeviceDpi() { + return deviceDpi; + } + + public void setDeviceDpi(Integer deviceDpi) { + this.deviceDpi = deviceDpi; + } + + public TryToGetSlotFormsStartParam archiveUrl(String archiveUrl) { + this.archiveUrl = archiveUrl; + return this; + } + + /** + * Get archiveUrl + * @return archiveUrl + **/ + public String getArchiveUrl() { + return archiveUrl; + } + + public void setArchiveUrl(String archiveUrl) { + this.archiveUrl = archiveUrl; + } + + public TryToGetSlotFormsStartParam gameInput(String gameInput) { + this.gameInput = gameInput; + return this; + } + + /** + * 手游输入法控制 + * @return gameInput + **/ + public String getGameInput() { + return gameInput; + } + + public void setGameInput(String gameInput) { + this.gameInput = gameInput; + } + + public TryToGetSlotFormsStartParam resolution(String resolution) { + this.resolution = resolution; + return this; + } + + /** + * 启动待缩放分辨率 + * @return resolution + **/ + public String getResolution() { + return resolution; + } + + public void setResolution(String resolution) { + this.resolution = resolution; + } + + public TryToGetSlotFormsStartParam keepDisconnectAlive(Long keepDisconnectAlive) { + this.keepDisconnectAlive = keepDisconnectAlive; + return this; + } + + /** + * 游戏中设备掉线后会话保活时长 + * @return keepDisconnectAlive + **/ + public Long getKeepDisconnectAlive() { + return keepDisconnectAlive; + } + + public void setKeepDisconnectAlive(Long keepDisconnectAlive) { + this.keepDisconnectAlive = keepDisconnectAlive; + } + + public TryToGetSlotFormsStartParam appChannel(String appChannel) { + this.appChannel = appChannel; + return this; + } + + /** + * 应用渠道 + * @return appChannel + **/ + public String getAppChannel() { + return appChannel; + } + + public void setAppChannel(String appChannel) { + this.appChannel = appChannel; + } + + public TryToGetSlotFormsStartParam deviceDpr(Integer deviceDpr) { + this.deviceDpr = deviceDpr; + return this; + } + + /** + * 设备DPR + * @return deviceDpr + **/ + public Integer getDeviceDpr() { + return deviceDpr; + } + + public void setDeviceDpr(Integer deviceDpr) { + this.deviceDpr = deviceDpr; + } + + public TryToGetSlotFormsStartParam cloudInit(String cloudInit) { + this.cloudInit = cloudInit; + return this; + } + + /** + * 游戏初始化路径 + * @return cloudInit + **/ + public String getCloudInit() { + return cloudInit; + } + + public void setCloudInit(String cloudInit) { + this.cloudInit = cloudInit; + } + + public TryToGetSlotFormsStartParam scriptId(Integer scriptId) { + this.scriptId = scriptId; + return this; + } + + /** + * 游戏脚本id + * @return scriptId + **/ + public Integer getScriptId() { + return scriptId; + } + + public void setScriptId(Integer scriptId) { + this.scriptId = scriptId; + } + + public TryToGetSlotFormsStartParam bitRateSelfAdaption(Integer bitRateSelfAdaption) { + this.bitRateSelfAdaption = bitRateSelfAdaption; + return this; + } + + /** + * 码率自适应开关 + * @return bitRateSelfAdaption + **/ + public Integer getBitRateSelfAdaption() { + return bitRateSelfAdaption; + } + + public void setBitRateSelfAdaption(Integer bitRateSelfAdaption) { + this.bitRateSelfAdaption = bitRateSelfAdaption; + } + + public TryToGetSlotFormsStartParam keepNoPlayAlive(Long keepNoPlayAlive) { + this.keepNoPlayAlive = keepNoPlayAlive; + return this; + } + + /** + * 游戏中无操作时会话保活时长 + * @return keepNoPlayAlive + **/ + public Long getKeepNoPlayAlive() { + return keepNoPlayAlive; + } + + public void setKeepNoPlayAlive(Long keepNoPlayAlive) { + this.keepNoPlayAlive = keepNoPlayAlive; + } + + public TryToGetSlotFormsStartParam ssaid(String ssaid) { + this.ssaid = ssaid; + return this; + } + + /** + * 设备号Android + * @return ssaid + **/ + public String getSsaid() { + return ssaid; + } + + public void setSsaid(String ssaid) { + this.ssaid = ssaid; + } + + public TryToGetSlotFormsStartParam archiveMd5(String archiveMd5) { + this.archiveMd5 = archiveMd5; + return this; + } + + /** + * Get archiveMd5 + * @return archiveMd5 + **/ + public String getArchiveMd5() { + return archiveMd5; + } + + public void setArchiveMd5(String archiveMd5) { + this.archiveMd5 = archiveMd5; + } + + public TryToGetSlotFormsStartParam sysDeviceId(String sysDeviceId) { + this.sysDeviceId = sysDeviceId; + return this; + } + + /** + * 设备id + * @return sysDeviceId + **/ + public String getSysDeviceId() { + return sysDeviceId; + } + + public void setSysDeviceId(String sysDeviceId) { + this.sysDeviceId = sysDeviceId; + } + + public TryToGetSlotFormsStartParam deviceModel(String deviceModel) { + this.deviceModel = deviceModel; + return this; + } + + /** + * 设备型号 + * @return deviceModel + **/ + public String getDeviceModel() { + return deviceModel; + } + + public void setDeviceModel(String deviceModel) { + this.deviceModel = deviceModel; + } + + public TryToGetSlotFormsStartParam deviceBrand(String deviceBrand) { + this.deviceBrand = deviceBrand; + return this; + } + + /** + * 设备品牌 + * @return deviceBrand + **/ + public String getDeviceBrand() { + return deviceBrand; + } + + public void setDeviceBrand(String deviceBrand) { + this.deviceBrand = deviceBrand; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TryToGetSlotFormsStartParam tryToGetSlotFormsStartParam = (TryToGetSlotFormsStartParam) o; + return Objects.equals(this.scheduleUserLevels, tryToGetSlotFormsStartParam.scheduleUserLevels) && + Objects.equals(this.keepAlive, tryToGetSlotFormsStartParam.keepAlive) && + Objects.equals(this.deviceResolution, tryToGetSlotFormsStartParam.deviceResolution) && + Objects.equals(this.deviceDpi, tryToGetSlotFormsStartParam.deviceDpi) && + Objects.equals(this.archiveUrl, tryToGetSlotFormsStartParam.archiveUrl) && + Objects.equals(this.gameInput, tryToGetSlotFormsStartParam.gameInput) && + Objects.equals(this.resolution, tryToGetSlotFormsStartParam.resolution) && + Objects.equals(this.keepDisconnectAlive, tryToGetSlotFormsStartParam.keepDisconnectAlive) && + Objects.equals(this.appChannel, tryToGetSlotFormsStartParam.appChannel) && + Objects.equals(this.deviceDpr, tryToGetSlotFormsStartParam.deviceDpr) && + Objects.equals(this.cloudInit, tryToGetSlotFormsStartParam.cloudInit) && + Objects.equals(this.scriptId, tryToGetSlotFormsStartParam.scriptId) && + Objects.equals(this.bitRateSelfAdaption, tryToGetSlotFormsStartParam.bitRateSelfAdaption) && + Objects.equals(this.keepNoPlayAlive, tryToGetSlotFormsStartParam.keepNoPlayAlive) && + Objects.equals(this.ssaid, tryToGetSlotFormsStartParam.ssaid) && + Objects.equals(this.archiveMd5, tryToGetSlotFormsStartParam.archiveMd5) && + Objects.equals(this.sysDeviceId, tryToGetSlotFormsStartParam.sysDeviceId) && + Objects.equals(this.deviceModel, tryToGetSlotFormsStartParam.deviceModel) && + Objects.equals(this.deviceBrand, tryToGetSlotFormsStartParam.deviceBrand); + } + + @Override + public int hashCode() { + return Objects.hash(scheduleUserLevels, keepAlive, deviceResolution, deviceDpi, archiveUrl, gameInput, resolution, keepDisconnectAlive, appChannel, deviceDpr, cloudInit, scriptId, bitRateSelfAdaption, keepNoPlayAlive, ssaid, archiveMd5, sysDeviceId, deviceModel, deviceBrand); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TryToGetSlotFormsStartParam {"); + + sb.append(",scheduleUserLevels: ").append(toIndentedString(scheduleUserLevels)); + sb.append(",keepAlive: ").append(toIndentedString(keepAlive)); + sb.append(",deviceResolution: ").append(toIndentedString(deviceResolution)); + sb.append(",deviceDpi: ").append(toIndentedString(deviceDpi)); + sb.append(",archiveUrl: ").append(toIndentedString(archiveUrl)); + sb.append(",gameInput: ").append(toIndentedString(gameInput)); + sb.append(",resolution: ").append(toIndentedString(resolution)); + sb.append(",keepDisconnectAlive: ").append(toIndentedString(keepDisconnectAlive)); + sb.append(",appChannel: ").append(toIndentedString(appChannel)); + sb.append(",deviceDpr: ").append(toIndentedString(deviceDpr)); + sb.append(",cloudInit: ").append(toIndentedString(cloudInit)); + sb.append(",scriptId: ").append(toIndentedString(scriptId)); + sb.append(",bitRateSelfAdaption: ").append(toIndentedString(bitRateSelfAdaption)); + sb.append(",keepNoPlayAlive: ").append(toIndentedString(keepNoPlayAlive)); + sb.append(",ssaid: ").append(toIndentedString(ssaid)); + sb.append(",archiveMd5: ").append(toIndentedString(archiveMd5)); + sb.append(",sysDeviceId: ").append(toIndentedString(sysDeviceId)); + sb.append(",deviceModel: ").append(toIndentedString(deviceModel)); + sb.append(",deviceBrand: ").append(toIndentedString(deviceBrand)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 948633af2b308783470103e1ea21d685ed2d7beb Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:14 +0800 Subject: [PATCH 189/235] feat: update --- .../client/model/TryToGetSlotResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotResult.java new file mode 100644 index 000000000..c6159a272 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.TryToGetSlotResultModel; +import java.io.Serializable; +/** + * TryToGetSlotResult + */ +public class TryToGetSlotResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private TryToGetSlotResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public TryToGetSlotResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public TryToGetSlotResult model(TryToGetSlotResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public TryToGetSlotResultModel getModel() { + return model; + } + + public void setModel(TryToGetSlotResultModel model) { + this.model = model; + } + + public TryToGetSlotResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public TryToGetSlotResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TryToGetSlotResult tryToGetSlotResult = (TryToGetSlotResult) o; + return Objects.equals(this.success, tryToGetSlotResult.success) && + Objects.equals(this.model, tryToGetSlotResult.model) && + Objects.equals(this.msgInfo, tryToGetSlotResult.msgInfo) && + Objects.equals(this.msgCode, tryToGetSlotResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TryToGetSlotResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 19d8228f2709ddd5f6f2367865e2a19125d1a4b7 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:15 +0800 Subject: [PATCH 190/235] feat: update --- .../client/model/TryToGetSlotResultModel.java | 331 ++++++++++++++++++ 1 file changed, 331 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotResultModel.java new file mode 100644 index 000000000..05b8b7182 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotResultModel.java @@ -0,0 +1,331 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.TryToGetSlotResultModelOperators; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * TryToGetSlotResultModel + */ +public class TryToGetSlotResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String accountId = null; + + + private String country = null; + + + private String code = null; + + + private String province = null; + + + private String regionId = null; + + + private String city = null; + + + private List operators = null; + + + private Boolean success = null; + + + private String message = null; + + + private String slotData = null; + + + private String gameSession = null; + + + public TryToGetSlotResultModel gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Paas平台游戏ID + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public TryToGetSlotResultModel accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * 用户id,给到Paas平台和SDK,两者保持一致,全局唯一 + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public TryToGetSlotResultModel country(String country) { + this.country = country; + return this; + } + + /** + * 调度资源所在国家 + * @return country + **/ + public String getCountry() { + return country; + } + + public void setCountry(String country) { + this.country = country; + } + + public TryToGetSlotResultModel code(String code) { + this.code = code; + return this; + } + + /** + * 返回码 + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public TryToGetSlotResultModel province(String province) { + this.province = province; + return this; + } + + /** + * 调度资源所在省份 + * @return province + **/ + public String getProvince() { + return province; + } + + public void setProvince(String province) { + this.province = province; + } + + public TryToGetSlotResultModel regionId(String regionId) { + this.regionId = regionId; + return this; + } + + /** + * 分配的region + * @return regionId + **/ + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public TryToGetSlotResultModel city(String city) { + this.city = city; + return this; + } + + /** + * 调度资源所在城市 + * @return city + **/ + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public TryToGetSlotResultModel operators(List operators) { + this.operators = operators; + return this; + } + + public TryToGetSlotResultModel addOperatorsItem(TryToGetSlotResultModelOperators operatorsItem) { + if (this.operators == null) { + this.operators = new ArrayList(); + } + this.operators.add(operatorsItem); + return this; + } + + /** + * 调度资源运营商信息 + * @return operators + **/ + public List getOperators() { + return operators; + } + + public void setOperators(List operators) { + this.operators = operators; + } + + public TryToGetSlotResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * 调度执行结果 + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public TryToGetSlotResultModel message(String message) { + this.message = message; + return this; + } + + /** + * 返回信息 + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public TryToGetSlotResultModel slotData(String slotData) { + this.slotData = slotData; + return this; + } + + /** + * 调度结果集 + * @return slotData + **/ + public String getSlotData() { + return slotData; + } + + public void setSlotData(String slotData) { + this.slotData = slotData; + } + + public TryToGetSlotResultModel gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * 会话标识 + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TryToGetSlotResultModel tryToGetSlotResultModel = (TryToGetSlotResultModel) o; + return Objects.equals(this.gameId, tryToGetSlotResultModel.gameId) && + Objects.equals(this.accountId, tryToGetSlotResultModel.accountId) && + Objects.equals(this.country, tryToGetSlotResultModel.country) && + Objects.equals(this.code, tryToGetSlotResultModel.code) && + Objects.equals(this.province, tryToGetSlotResultModel.province) && + Objects.equals(this.regionId, tryToGetSlotResultModel.regionId) && + Objects.equals(this.city, tryToGetSlotResultModel.city) && + Objects.equals(this.operators, tryToGetSlotResultModel.operators) && + Objects.equals(this.success, tryToGetSlotResultModel.success) && + Objects.equals(this.message, tryToGetSlotResultModel.message) && + Objects.equals(this.slotData, tryToGetSlotResultModel.slotData) && + Objects.equals(this.gameSession, tryToGetSlotResultModel.gameSession); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, accountId, country, code, province, regionId, city, operators, success, message, slotData, gameSession); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TryToGetSlotResultModel {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",country: ").append(toIndentedString(country)); + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",province: ").append(toIndentedString(province)); + sb.append(",regionId: ").append(toIndentedString(regionId)); + sb.append(",city: ").append(toIndentedString(city)); + sb.append(",operators: ").append(toIndentedString(operators)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",slotData: ").append(toIndentedString(slotData)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From e3799a375c1ebb8a360020dfc142bb9f23130134 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:16 +0800 Subject: [PATCH 191/235] feat: update --- .../TryToGetSlotResultModelOperators.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotResultModelOperators.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotResultModelOperators.java b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotResultModelOperators.java new file mode 100644 index 000000000..3a46af264 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotResultModelOperators.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * TryToGetSlotResultModelOperators + */ +public class TryToGetSlotResultModelOperators implements Serializable { + private static final long serialVersionUID = 1L; + + private String operatorEnName = null; + + + private String operatorIp = null; + + + private String operatorCnName = null; + + + public TryToGetSlotResultModelOperators operatorEnName(String operatorEnName) { + this.operatorEnName = operatorEnName; + return this; + } + + /** + * 运营商英文名称 + * @return operatorEnName + **/ + public String getOperatorEnName() { + return operatorEnName; + } + + public void setOperatorEnName(String operatorEnName) { + this.operatorEnName = operatorEnName; + } + + public TryToGetSlotResultModelOperators operatorIp(String operatorIp) { + this.operatorIp = operatorIp; + return this; + } + + /** + * 运营商IP + * @return operatorIp + **/ + public String getOperatorIp() { + return operatorIp; + } + + public void setOperatorIp(String operatorIp) { + this.operatorIp = operatorIp; + } + + public TryToGetSlotResultModelOperators operatorCnName(String operatorCnName) { + this.operatorCnName = operatorCnName; + return this; + } + + /** + * 运营商中文名称 + * @return operatorCnName + **/ + public String getOperatorCnName() { + return operatorCnName; + } + + public void setOperatorCnName(String operatorCnName) { + this.operatorCnName = operatorCnName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TryToGetSlotResultModelOperators tryToGetSlotResultModelOperators = (TryToGetSlotResultModelOperators) o; + return Objects.equals(this.operatorEnName, tryToGetSlotResultModelOperators.operatorEnName) && + Objects.equals(this.operatorIp, tryToGetSlotResultModelOperators.operatorIp) && + Objects.equals(this.operatorCnName, tryToGetSlotResultModelOperators.operatorCnName); + } + + @Override + public int hashCode() { + return Objects.hash(operatorEnName, operatorIp, operatorCnName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TryToGetSlotResultModelOperators {"); + + sb.append(",operatorEnName: ").append(toIndentedString(operatorEnName)); + sb.append(",operatorIp: ").append(toIndentedString(operatorIp)); + sb.append(",operatorCnName: ").append(toIndentedString(operatorCnName)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 52f43bebaabb10133f813e997813f1bcbb98bd15 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:18 +0800 Subject: [PATCH 192/235] feat: update --- .../client/model/TryToGetSlotsForms.java | 130 ++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsForms.java new file mode 100644 index 000000000..8f0b19662 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsForms.java @@ -0,0 +1,130 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.TryToGetSlotsFormsRequests; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * TryToGetSlotsForms + */ +public class TryToGetSlotsForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String appKey = null; + + + private Boolean parallelSchedule = null; + + + private List requests = new ArrayList(); + + + public TryToGetSlotsForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * Get appKey + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public TryToGetSlotsForms parallelSchedule(Boolean parallelSchedule) { + this.parallelSchedule = parallelSchedule; + return this; + } + + /** + * Get parallelSchedule + * @return parallelSchedule + **/ + public Boolean getParallelSchedule() { + return parallelSchedule; + } + + public void setParallelSchedule(Boolean parallelSchedule) { + this.parallelSchedule = parallelSchedule; + } + + public TryToGetSlotsForms requests(List requests) { + this.requests = requests; + return this; + } + + public TryToGetSlotsForms addRequestsItem(TryToGetSlotsFormsRequests requestsItem) { + this.requests.add(requestsItem); + return this; + } + + /** + * Get requests + * @return requests + **/ + public List getRequests() { + return requests; + } + + public void setRequests(List requests) { + this.requests = requests; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TryToGetSlotsForms tryToGetSlotsForms = (TryToGetSlotsForms) o; + return Objects.equals(this.appKey, tryToGetSlotsForms.appKey) && + Objects.equals(this.parallelSchedule, tryToGetSlotsForms.parallelSchedule) && + Objects.equals(this.requests, tryToGetSlotsForms.requests); + } + + @Override + public int hashCode() { + return Objects.hash(appKey, parallelSchedule, requests); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TryToGetSlotsForms {"); + + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",parallelSchedule: ").append(toIndentedString(parallelSchedule)); + sb.append(",requests: ").append(toIndentedString(requests)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From c7ab335ae395be28eebfda49265d1654f5f7e7a0 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:19 +0800 Subject: [PATCH 193/235] feat: update --- .../model/TryToGetSlotsFormsRequests.java | 365 ++++++++++++++++++ 1 file changed, 365 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsFormsRequests.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsFormsRequests.java b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsFormsRequests.java new file mode 100644 index 000000000..e614f7332 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsFormsRequests.java @@ -0,0 +1,365 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.TryToGetSlotsFormsRequestsStartParam; +import java.io.Serializable; +/** + * TryToGetSlotsFormsRequests + */ +public class TryToGetSlotsFormsRequests implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private Integer fps = null; + + + private Boolean reConnect = null; + + + private Integer resolution = null; + + + private String tags = null; + + + private String gameCmdParam = null; + + + private String accountId = null; + + + private Integer codec = null; + + + private Integer userLevel = null; + + + private TryToGetSlotsFormsRequestsStartParam startParam = null; + + + private String regionId = null; + + + private Integer bitRate = null; + + + private String clientIp = null; + + + private String bizParam = null; + + + public TryToGetSlotsFormsRequests gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public TryToGetSlotsFormsRequests fps(Integer fps) { + this.fps = fps; + return this; + } + + /** + * Get fps + * @return fps + **/ + public Integer getFps() { + return fps; + } + + public void setFps(Integer fps) { + this.fps = fps; + } + + public TryToGetSlotsFormsRequests reConnect(Boolean reConnect) { + this.reConnect = reConnect; + return this; + } + + /** + * Get reConnect + * @return reConnect + **/ + public Boolean getReConnect() { + return reConnect; + } + + public void setReConnect(Boolean reConnect) { + this.reConnect = reConnect; + } + + public TryToGetSlotsFormsRequests resolution(Integer resolution) { + this.resolution = resolution; + return this; + } + + /** + * Get resolution + * @return resolution + **/ + public Integer getResolution() { + return resolution; + } + + public void setResolution(Integer resolution) { + this.resolution = resolution; + } + + public TryToGetSlotsFormsRequests tags(String tags) { + this.tags = tags; + return this; + } + + /** + * Get tags + * @return tags + **/ + public String getTags() { + return tags; + } + + public void setTags(String tags) { + this.tags = tags; + } + + public TryToGetSlotsFormsRequests gameCmdParam(String gameCmdParam) { + this.gameCmdParam = gameCmdParam; + return this; + } + + /** + * Get gameCmdParam + * @return gameCmdParam + **/ + public String getGameCmdParam() { + return gameCmdParam; + } + + public void setGameCmdParam(String gameCmdParam) { + this.gameCmdParam = gameCmdParam; + } + + public TryToGetSlotsFormsRequests accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public TryToGetSlotsFormsRequests codec(Integer codec) { + this.codec = codec; + return this; + } + + /** + * Get codec + * @return codec + **/ + public Integer getCodec() { + return codec; + } + + public void setCodec(Integer codec) { + this.codec = codec; + } + + public TryToGetSlotsFormsRequests userLevel(Integer userLevel) { + this.userLevel = userLevel; + return this; + } + + /** + * Get userLevel + * @return userLevel + **/ + public Integer getUserLevel() { + return userLevel; + } + + public void setUserLevel(Integer userLevel) { + this.userLevel = userLevel; + } + + public TryToGetSlotsFormsRequests startParam(TryToGetSlotsFormsRequestsStartParam startParam) { + this.startParam = startParam; + return this; + } + + /** + * Get startParam + * @return startParam + **/ + public TryToGetSlotsFormsRequestsStartParam getStartParam() { + return startParam; + } + + public void setStartParam(TryToGetSlotsFormsRequestsStartParam startParam) { + this.startParam = startParam; + } + + public TryToGetSlotsFormsRequests regionId(String regionId) { + this.regionId = regionId; + return this; + } + + /** + * Get regionId + * @return regionId + **/ + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public TryToGetSlotsFormsRequests bitRate(Integer bitRate) { + this.bitRate = bitRate; + return this; + } + + /** + * Get bitRate + * @return bitRate + **/ + public Integer getBitRate() { + return bitRate; + } + + public void setBitRate(Integer bitRate) { + this.bitRate = bitRate; + } + + public TryToGetSlotsFormsRequests clientIp(String clientIp) { + this.clientIp = clientIp; + return this; + } + + /** + * Get clientIp + * @return clientIp + **/ + public String getClientIp() { + return clientIp; + } + + public void setClientIp(String clientIp) { + this.clientIp = clientIp; + } + + public TryToGetSlotsFormsRequests bizParam(String bizParam) { + this.bizParam = bizParam; + return this; + } + + /** + * Get bizParam + * @return bizParam + **/ + public String getBizParam() { + return bizParam; + } + + public void setBizParam(String bizParam) { + this.bizParam = bizParam; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TryToGetSlotsFormsRequests tryToGetSlotsFormsRequests = (TryToGetSlotsFormsRequests) o; + return Objects.equals(this.gameId, tryToGetSlotsFormsRequests.gameId) && + Objects.equals(this.fps, tryToGetSlotsFormsRequests.fps) && + Objects.equals(this.reConnect, tryToGetSlotsFormsRequests.reConnect) && + Objects.equals(this.resolution, tryToGetSlotsFormsRequests.resolution) && + Objects.equals(this.tags, tryToGetSlotsFormsRequests.tags) && + Objects.equals(this.gameCmdParam, tryToGetSlotsFormsRequests.gameCmdParam) && + Objects.equals(this.accountId, tryToGetSlotsFormsRequests.accountId) && + Objects.equals(this.codec, tryToGetSlotsFormsRequests.codec) && + Objects.equals(this.userLevel, tryToGetSlotsFormsRequests.userLevel) && + Objects.equals(this.startParam, tryToGetSlotsFormsRequests.startParam) && + Objects.equals(this.regionId, tryToGetSlotsFormsRequests.regionId) && + Objects.equals(this.bitRate, tryToGetSlotsFormsRequests.bitRate) && + Objects.equals(this.clientIp, tryToGetSlotsFormsRequests.clientIp) && + Objects.equals(this.bizParam, tryToGetSlotsFormsRequests.bizParam); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, fps, reConnect, resolution, tags, gameCmdParam, accountId, codec, userLevel, startParam, regionId, bitRate, clientIp, bizParam); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TryToGetSlotsFormsRequests {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",fps: ").append(toIndentedString(fps)); + sb.append(",reConnect: ").append(toIndentedString(reConnect)); + sb.append(",resolution: ").append(toIndentedString(resolution)); + sb.append(",tags: ").append(toIndentedString(tags)); + sb.append(",gameCmdParam: ").append(toIndentedString(gameCmdParam)); + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",codec: ").append(toIndentedString(codec)); + sb.append(",userLevel: ").append(toIndentedString(userLevel)); + sb.append(",startParam: ").append(toIndentedString(startParam)); + sb.append(",regionId: ").append(toIndentedString(regionId)); + sb.append(",bitRate: ").append(toIndentedString(bitRate)); + sb.append(",clientIp: ").append(toIndentedString(clientIp)); + sb.append(",bizParam: ").append(toIndentedString(bizParam)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 18bda00300aca95a32e276c801a793407f534dca Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:21 +0800 Subject: [PATCH 194/235] feat: update --- .../TryToGetSlotsFormsRequestsStartParam.java | 474 ++++++++++++++++++ 1 file changed, 474 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsFormsRequestsStartParam.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsFormsRequestsStartParam.java b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsFormsRequestsStartParam.java new file mode 100644 index 000000000..18bb56be9 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsFormsRequestsStartParam.java @@ -0,0 +1,474 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * TryToGetSlotsFormsRequestsStartParam + */ +public class TryToGetSlotsFormsRequestsStartParam implements Serializable { + private static final long serialVersionUID = 1L; + + private String scheduleUserLevels = null; + + + private Long keepAlive = null; + + + private String deviceResolution = null; + + + private Integer deviceDpi = null; + + + private String archiveUrl = null; + + + private String gameInput = null; + + + private String resolution = null; + + + private Long keepDisconnectAlive = null; + + + private String appChannel = null; + + + private Integer deviceDpr = null; + + + private String cloudInit = null; + + + private Integer scriptId = null; + + + private Integer bitRateSelfAdaption = null; + + + private Long keepNoPlayAlive = null; + + + private String ssaid = null; + + + private String archiveMd5 = null; + + + private String sysDeviceId = null; + + + private String deviceModel = null; + + + private String deviceBrand = null; + + + public TryToGetSlotsFormsRequestsStartParam scheduleUserLevels(String scheduleUserLevels) { + this.scheduleUserLevels = scheduleUserLevels; + return this; + } + + /** + * Get scheduleUserLevels + * @return scheduleUserLevels + **/ + public String getScheduleUserLevels() { + return scheduleUserLevels; + } + + public void setScheduleUserLevels(String scheduleUserLevels) { + this.scheduleUserLevels = scheduleUserLevels; + } + + public TryToGetSlotsFormsRequestsStartParam keepAlive(Long keepAlive) { + this.keepAlive = keepAlive; + return this; + } + + /** + * Get keepAlive + * @return keepAlive + **/ + public Long getKeepAlive() { + return keepAlive; + } + + public void setKeepAlive(Long keepAlive) { + this.keepAlive = keepAlive; + } + + public TryToGetSlotsFormsRequestsStartParam deviceResolution(String deviceResolution) { + this.deviceResolution = deviceResolution; + return this; + } + + /** + * Get deviceResolution + * @return deviceResolution + **/ + public String getDeviceResolution() { + return deviceResolution; + } + + public void setDeviceResolution(String deviceResolution) { + this.deviceResolution = deviceResolution; + } + + public TryToGetSlotsFormsRequestsStartParam deviceDpi(Integer deviceDpi) { + this.deviceDpi = deviceDpi; + return this; + } + + /** + * Get deviceDpi + * @return deviceDpi + **/ + public Integer getDeviceDpi() { + return deviceDpi; + } + + public void setDeviceDpi(Integer deviceDpi) { + this.deviceDpi = deviceDpi; + } + + public TryToGetSlotsFormsRequestsStartParam archiveUrl(String archiveUrl) { + this.archiveUrl = archiveUrl; + return this; + } + + /** + * Get archiveUrl + * @return archiveUrl + **/ + public String getArchiveUrl() { + return archiveUrl; + } + + public void setArchiveUrl(String archiveUrl) { + this.archiveUrl = archiveUrl; + } + + public TryToGetSlotsFormsRequestsStartParam gameInput(String gameInput) { + this.gameInput = gameInput; + return this; + } + + /** + * Get gameInput + * @return gameInput + **/ + public String getGameInput() { + return gameInput; + } + + public void setGameInput(String gameInput) { + this.gameInput = gameInput; + } + + public TryToGetSlotsFormsRequestsStartParam resolution(String resolution) { + this.resolution = resolution; + return this; + } + + /** + * Get resolution + * @return resolution + **/ + public String getResolution() { + return resolution; + } + + public void setResolution(String resolution) { + this.resolution = resolution; + } + + public TryToGetSlotsFormsRequestsStartParam keepDisconnectAlive(Long keepDisconnectAlive) { + this.keepDisconnectAlive = keepDisconnectAlive; + return this; + } + + /** + * Get keepDisconnectAlive + * @return keepDisconnectAlive + **/ + public Long getKeepDisconnectAlive() { + return keepDisconnectAlive; + } + + public void setKeepDisconnectAlive(Long keepDisconnectAlive) { + this.keepDisconnectAlive = keepDisconnectAlive; + } + + public TryToGetSlotsFormsRequestsStartParam appChannel(String appChannel) { + this.appChannel = appChannel; + return this; + } + + /** + * Get appChannel + * @return appChannel + **/ + public String getAppChannel() { + return appChannel; + } + + public void setAppChannel(String appChannel) { + this.appChannel = appChannel; + } + + public TryToGetSlotsFormsRequestsStartParam deviceDpr(Integer deviceDpr) { + this.deviceDpr = deviceDpr; + return this; + } + + /** + * Get deviceDpr + * @return deviceDpr + **/ + public Integer getDeviceDpr() { + return deviceDpr; + } + + public void setDeviceDpr(Integer deviceDpr) { + this.deviceDpr = deviceDpr; + } + + public TryToGetSlotsFormsRequestsStartParam cloudInit(String cloudInit) { + this.cloudInit = cloudInit; + return this; + } + + /** + * Get cloudInit + * @return cloudInit + **/ + public String getCloudInit() { + return cloudInit; + } + + public void setCloudInit(String cloudInit) { + this.cloudInit = cloudInit; + } + + public TryToGetSlotsFormsRequestsStartParam scriptId(Integer scriptId) { + this.scriptId = scriptId; + return this; + } + + /** + * Get scriptId + * @return scriptId + **/ + public Integer getScriptId() { + return scriptId; + } + + public void setScriptId(Integer scriptId) { + this.scriptId = scriptId; + } + + public TryToGetSlotsFormsRequestsStartParam bitRateSelfAdaption(Integer bitRateSelfAdaption) { + this.bitRateSelfAdaption = bitRateSelfAdaption; + return this; + } + + /** + * Get bitRateSelfAdaption + * @return bitRateSelfAdaption + **/ + public Integer getBitRateSelfAdaption() { + return bitRateSelfAdaption; + } + + public void setBitRateSelfAdaption(Integer bitRateSelfAdaption) { + this.bitRateSelfAdaption = bitRateSelfAdaption; + } + + public TryToGetSlotsFormsRequestsStartParam keepNoPlayAlive(Long keepNoPlayAlive) { + this.keepNoPlayAlive = keepNoPlayAlive; + return this; + } + + /** + * Get keepNoPlayAlive + * @return keepNoPlayAlive + **/ + public Long getKeepNoPlayAlive() { + return keepNoPlayAlive; + } + + public void setKeepNoPlayAlive(Long keepNoPlayAlive) { + this.keepNoPlayAlive = keepNoPlayAlive; + } + + public TryToGetSlotsFormsRequestsStartParam ssaid(String ssaid) { + this.ssaid = ssaid; + return this; + } + + /** + * Get ssaid + * @return ssaid + **/ + public String getSsaid() { + return ssaid; + } + + public void setSsaid(String ssaid) { + this.ssaid = ssaid; + } + + public TryToGetSlotsFormsRequestsStartParam archiveMd5(String archiveMd5) { + this.archiveMd5 = archiveMd5; + return this; + } + + /** + * Get archiveMd5 + * @return archiveMd5 + **/ + public String getArchiveMd5() { + return archiveMd5; + } + + public void setArchiveMd5(String archiveMd5) { + this.archiveMd5 = archiveMd5; + } + + public TryToGetSlotsFormsRequestsStartParam sysDeviceId(String sysDeviceId) { + this.sysDeviceId = sysDeviceId; + return this; + } + + /** + * Get sysDeviceId + * @return sysDeviceId + **/ + public String getSysDeviceId() { + return sysDeviceId; + } + + public void setSysDeviceId(String sysDeviceId) { + this.sysDeviceId = sysDeviceId; + } + + public TryToGetSlotsFormsRequestsStartParam deviceModel(String deviceModel) { + this.deviceModel = deviceModel; + return this; + } + + /** + * Get deviceModel + * @return deviceModel + **/ + public String getDeviceModel() { + return deviceModel; + } + + public void setDeviceModel(String deviceModel) { + this.deviceModel = deviceModel; + } + + public TryToGetSlotsFormsRequestsStartParam deviceBrand(String deviceBrand) { + this.deviceBrand = deviceBrand; + return this; + } + + /** + * Get deviceBrand + * @return deviceBrand + **/ + public String getDeviceBrand() { + return deviceBrand; + } + + public void setDeviceBrand(String deviceBrand) { + this.deviceBrand = deviceBrand; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TryToGetSlotsFormsRequestsStartParam tryToGetSlotsFormsRequestsStartParam = (TryToGetSlotsFormsRequestsStartParam) o; + return Objects.equals(this.scheduleUserLevels, tryToGetSlotsFormsRequestsStartParam.scheduleUserLevels) && + Objects.equals(this.keepAlive, tryToGetSlotsFormsRequestsStartParam.keepAlive) && + Objects.equals(this.deviceResolution, tryToGetSlotsFormsRequestsStartParam.deviceResolution) && + Objects.equals(this.deviceDpi, tryToGetSlotsFormsRequestsStartParam.deviceDpi) && + Objects.equals(this.archiveUrl, tryToGetSlotsFormsRequestsStartParam.archiveUrl) && + Objects.equals(this.gameInput, tryToGetSlotsFormsRequestsStartParam.gameInput) && + Objects.equals(this.resolution, tryToGetSlotsFormsRequestsStartParam.resolution) && + Objects.equals(this.keepDisconnectAlive, tryToGetSlotsFormsRequestsStartParam.keepDisconnectAlive) && + Objects.equals(this.appChannel, tryToGetSlotsFormsRequestsStartParam.appChannel) && + Objects.equals(this.deviceDpr, tryToGetSlotsFormsRequestsStartParam.deviceDpr) && + Objects.equals(this.cloudInit, tryToGetSlotsFormsRequestsStartParam.cloudInit) && + Objects.equals(this.scriptId, tryToGetSlotsFormsRequestsStartParam.scriptId) && + Objects.equals(this.bitRateSelfAdaption, tryToGetSlotsFormsRequestsStartParam.bitRateSelfAdaption) && + Objects.equals(this.keepNoPlayAlive, tryToGetSlotsFormsRequestsStartParam.keepNoPlayAlive) && + Objects.equals(this.ssaid, tryToGetSlotsFormsRequestsStartParam.ssaid) && + Objects.equals(this.archiveMd5, tryToGetSlotsFormsRequestsStartParam.archiveMd5) && + Objects.equals(this.sysDeviceId, tryToGetSlotsFormsRequestsStartParam.sysDeviceId) && + Objects.equals(this.deviceModel, tryToGetSlotsFormsRequestsStartParam.deviceModel) && + Objects.equals(this.deviceBrand, tryToGetSlotsFormsRequestsStartParam.deviceBrand); + } + + @Override + public int hashCode() { + return Objects.hash(scheduleUserLevels, keepAlive, deviceResolution, deviceDpi, archiveUrl, gameInput, resolution, keepDisconnectAlive, appChannel, deviceDpr, cloudInit, scriptId, bitRateSelfAdaption, keepNoPlayAlive, ssaid, archiveMd5, sysDeviceId, deviceModel, deviceBrand); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TryToGetSlotsFormsRequestsStartParam {"); + + sb.append(",scheduleUserLevels: ").append(toIndentedString(scheduleUserLevels)); + sb.append(",keepAlive: ").append(toIndentedString(keepAlive)); + sb.append(",deviceResolution: ").append(toIndentedString(deviceResolution)); + sb.append(",deviceDpi: ").append(toIndentedString(deviceDpi)); + sb.append(",archiveUrl: ").append(toIndentedString(archiveUrl)); + sb.append(",gameInput: ").append(toIndentedString(gameInput)); + sb.append(",resolution: ").append(toIndentedString(resolution)); + sb.append(",keepDisconnectAlive: ").append(toIndentedString(keepDisconnectAlive)); + sb.append(",appChannel: ").append(toIndentedString(appChannel)); + sb.append(",deviceDpr: ").append(toIndentedString(deviceDpr)); + sb.append(",cloudInit: ").append(toIndentedString(cloudInit)); + sb.append(",scriptId: ").append(toIndentedString(scriptId)); + sb.append(",bitRateSelfAdaption: ").append(toIndentedString(bitRateSelfAdaption)); + sb.append(",keepNoPlayAlive: ").append(toIndentedString(keepNoPlayAlive)); + sb.append(",ssaid: ").append(toIndentedString(ssaid)); + sb.append(",archiveMd5: ").append(toIndentedString(archiveMd5)); + sb.append(",sysDeviceId: ").append(toIndentedString(sysDeviceId)); + sb.append(",deviceModel: ").append(toIndentedString(deviceModel)); + sb.append(",deviceBrand: ").append(toIndentedString(deviceBrand)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From ca64c9b9cb34d0cd8a1e9ad00f360181c1970672 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:22 +0800 Subject: [PATCH 195/235] feat: update --- .../client/model/TryToGetSlotsResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsResult.java new file mode 100644 index 000000000..2e29f5806 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.TryToGetSlotsResultModel; +import java.io.Serializable; +/** + * TryToGetSlotsResult + */ +public class TryToGetSlotsResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private TryToGetSlotsResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public TryToGetSlotsResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public TryToGetSlotsResult model(TryToGetSlotsResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public TryToGetSlotsResultModel getModel() { + return model; + } + + public void setModel(TryToGetSlotsResultModel model) { + this.model = model; + } + + public TryToGetSlotsResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public TryToGetSlotsResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TryToGetSlotsResult tryToGetSlotsResult = (TryToGetSlotsResult) o; + return Objects.equals(this.success, tryToGetSlotsResult.success) && + Objects.equals(this.model, tryToGetSlotsResult.model) && + Objects.equals(this.msgInfo, tryToGetSlotsResult.msgInfo) && + Objects.equals(this.msgCode, tryToGetSlotsResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TryToGetSlotsResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From e61ecc2473653653304343944737a31bd2452bf8 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:23 +0800 Subject: [PATCH 196/235] feat: update --- .../model/TryToGetSlotsResultModel.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsResultModel.java new file mode 100644 index 000000000..48723a986 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsResultModel.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.TryToGetSlotsResultModelResponses; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * TryToGetSlotsResultModel + */ +public class TryToGetSlotsResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private String code = null; + + + private Boolean success = null; + + + private List responses = null; + + + private String message = null; + + + public TryToGetSlotsResultModel code(String code) { + this.code = code; + return this; + } + + /** + * Get code + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public TryToGetSlotsResultModel success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public TryToGetSlotsResultModel responses(List responses) { + this.responses = responses; + return this; + } + + public TryToGetSlotsResultModel addResponsesItem(TryToGetSlotsResultModelResponses responsesItem) { + if (this.responses == null) { + this.responses = new ArrayList(); + } + this.responses.add(responsesItem); + return this; + } + + /** + * Get responses + * @return responses + **/ + public List getResponses() { + return responses; + } + + public void setResponses(List responses) { + this.responses = responses; + } + + public TryToGetSlotsResultModel message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TryToGetSlotsResultModel tryToGetSlotsResultModel = (TryToGetSlotsResultModel) o; + return Objects.equals(this.code, tryToGetSlotsResultModel.code) && + Objects.equals(this.success, tryToGetSlotsResultModel.success) && + Objects.equals(this.responses, tryToGetSlotsResultModel.responses) && + Objects.equals(this.message, tryToGetSlotsResultModel.message); + } + + @Override + public int hashCode() { + return Objects.hash(code, success, responses, message); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TryToGetSlotsResultModel {"); + + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",responses: ").append(toIndentedString(responses)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 4b290bfb334439217373fa1e9d81da160af2e37a Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:24 +0800 Subject: [PATCH 197/235] feat: update --- .../TryToGetSlotsResultModelResponses.java | 232 ++++++++++++++++++ 1 file changed, 232 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsResultModelResponses.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsResultModelResponses.java b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsResultModelResponses.java new file mode 100644 index 000000000..48263aa03 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/TryToGetSlotsResultModelResponses.java @@ -0,0 +1,232 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * TryToGetSlotsResultModelResponses + */ +public class TryToGetSlotsResultModelResponses implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String accountId = null; + + + private String code = null; + + + private String regionId = null; + + + private Boolean success = null; + + + private String message = null; + + + private String slotData = null; + + + private String gameSession = null; + + + public TryToGetSlotsResultModelResponses gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public TryToGetSlotsResultModelResponses accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public TryToGetSlotsResultModelResponses code(String code) { + this.code = code; + return this; + } + + /** + * Get code + * @return code + **/ + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public TryToGetSlotsResultModelResponses regionId(String regionId) { + this.regionId = regionId; + return this; + } + + /** + * Get regionId + * @return regionId + **/ + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public TryToGetSlotsResultModelResponses success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public TryToGetSlotsResultModelResponses message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public TryToGetSlotsResultModelResponses slotData(String slotData) { + this.slotData = slotData; + return this; + } + + /** + * Get slotData + * @return slotData + **/ + public String getSlotData() { + return slotData; + } + + public void setSlotData(String slotData) { + this.slotData = slotData; + } + + public TryToGetSlotsResultModelResponses gameSession(String gameSession) { + this.gameSession = gameSession; + return this; + } + + /** + * Get gameSession + * @return gameSession + **/ + public String getGameSession() { + return gameSession; + } + + public void setGameSession(String gameSession) { + this.gameSession = gameSession; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TryToGetSlotsResultModelResponses tryToGetSlotsResultModelResponses = (TryToGetSlotsResultModelResponses) o; + return Objects.equals(this.gameId, tryToGetSlotsResultModelResponses.gameId) && + Objects.equals(this.accountId, tryToGetSlotsResultModelResponses.accountId) && + Objects.equals(this.code, tryToGetSlotsResultModelResponses.code) && + Objects.equals(this.regionId, tryToGetSlotsResultModelResponses.regionId) && + Objects.equals(this.success, tryToGetSlotsResultModelResponses.success) && + Objects.equals(this.message, tryToGetSlotsResultModelResponses.message) && + Objects.equals(this.slotData, tryToGetSlotsResultModelResponses.slotData) && + Objects.equals(this.gameSession, tryToGetSlotsResultModelResponses.gameSession); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, accountId, code, regionId, success, message, slotData, gameSession); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TryToGetSlotsResultModelResponses {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",code: ").append(toIndentedString(code)); + sb.append(",regionId: ").append(toIndentedString(regionId)); + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",message: ").append(toIndentedString(message)); + sb.append(",slotData: ").append(toIndentedString(slotData)); + sb.append(",gameSession: ").append(toIndentedString(gameSession)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From a2f41913259c821841af5841dd40fac962e1ecdc Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:26 +0800 Subject: [PATCH 198/235] feat: update --- .../model/UpdatePreopenStrategyForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UpdatePreopenStrategyForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UpdatePreopenStrategyForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/UpdatePreopenStrategyForms.java new file mode 100644 index 000000000..f5b131d20 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UpdatePreopenStrategyForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * UpdatePreopenStrategyForms + */ +public class UpdatePreopenStrategyForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String appKey = null; + + + private String gameId = null; + + + private String preStartCmd = null; + + + public UpdatePreopenStrategyForms appKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * Get appKey + * @return appKey + **/ + public String getAppKey() { + return appKey; + } + + public void setAppKey(String appKey) { + this.appKey = appKey; + } + + public UpdatePreopenStrategyForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public UpdatePreopenStrategyForms preStartCmd(String preStartCmd) { + this.preStartCmd = preStartCmd; + return this; + } + + /** + * Get preStartCmd + * @return preStartCmd + **/ + public String getPreStartCmd() { + return preStartCmd; + } + + public void setPreStartCmd(String preStartCmd) { + this.preStartCmd = preStartCmd; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdatePreopenStrategyForms updatePreopenStrategyForms = (UpdatePreopenStrategyForms) o; + return Objects.equals(this.appKey, updatePreopenStrategyForms.appKey) && + Objects.equals(this.gameId, updatePreopenStrategyForms.gameId) && + Objects.equals(this.preStartCmd, updatePreopenStrategyForms.preStartCmd); + } + + @Override + public int hashCode() { + return Objects.hash(appKey, gameId, preStartCmd); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdatePreopenStrategyForms {"); + + sb.append(",appKey: ").append(toIndentedString(appKey)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",preStartCmd: ").append(toIndentedString(preStartCmd)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 81f5f490be3582f8cec8da6ffe850ca5c49e333b Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:27 +0800 Subject: [PATCH 199/235] feat: update --- .../model/UpdatePreopenStrategyResult.java | 155 ++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UpdatePreopenStrategyResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UpdatePreopenStrategyResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/UpdatePreopenStrategyResult.java new file mode 100644 index 000000000..e72cf99b2 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UpdatePreopenStrategyResult.java @@ -0,0 +1,155 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.io.Serializable; +/** + * UpdatePreopenStrategyResult + */ +public class UpdatePreopenStrategyResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private Map model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public UpdatePreopenStrategyResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public UpdatePreopenStrategyResult model(Map model) { + this.model = model; + return this; + } + + public UpdatePreopenStrategyResult putModelItem(String key, String modelItem) { + if (this.model == null) { + this.model = new HashMap(); + } + this.model.put(key, modelItem); + return this; + } + + /** + * Get model + * @return model + **/ + public Map getModel() { + return model; + } + + public void setModel(Map model) { + this.model = model; + } + + public UpdatePreopenStrategyResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public UpdatePreopenStrategyResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdatePreopenStrategyResult updatePreopenStrategyResult = (UpdatePreopenStrategyResult) o; + return Objects.equals(this.success, updatePreopenStrategyResult.success) && + Objects.equals(this.model, updatePreopenStrategyResult.model) && + Objects.equals(this.msgInfo, updatePreopenStrategyResult.msgInfo) && + Objects.equals(this.msgCode, updatePreopenStrategyResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdatePreopenStrategyResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 18c3efbb9446c57a440317ac7d4616fcd4159967 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:28 +0800 Subject: [PATCH 200/235] feat: update --- .../UsercontrollerDeleteGameArchiveForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerDeleteGameArchiveForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerDeleteGameArchiveForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerDeleteGameArchiveForms.java new file mode 100644 index 000000000..bc990a52f --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerDeleteGameArchiveForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * UsercontrollerDeleteGameArchiveForms + */ +public class UsercontrollerDeleteGameArchiveForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String accountId = null; + + + private String gameId = null; + + + private String archiveId = null; + + + public UsercontrollerDeleteGameArchiveForms accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public UsercontrollerDeleteGameArchiveForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public UsercontrollerDeleteGameArchiveForms archiveId(String archiveId) { + this.archiveId = archiveId; + return this; + } + + /** + * Get archiveId + * @return archiveId + **/ + public String getArchiveId() { + return archiveId; + } + + public void setArchiveId(String archiveId) { + this.archiveId = archiveId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerDeleteGameArchiveForms usercontrollerDeleteGameArchiveForms = (UsercontrollerDeleteGameArchiveForms) o; + return Objects.equals(this.accountId, usercontrollerDeleteGameArchiveForms.accountId) && + Objects.equals(this.gameId, usercontrollerDeleteGameArchiveForms.gameId) && + Objects.equals(this.archiveId, usercontrollerDeleteGameArchiveForms.archiveId); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, gameId, archiveId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerDeleteGameArchiveForms {"); + + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",archiveId: ").append(toIndentedString(archiveId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From cf85a79c6fae8633383eefc30a8428117faa5b60 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:29 +0800 Subject: [PATCH 201/235] feat: update --- ...UsercontrollerDeleteGameArchiveResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerDeleteGameArchiveResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerDeleteGameArchiveResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerDeleteGameArchiveResult.java new file mode 100644 index 000000000..11e7e7046 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerDeleteGameArchiveResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.UsercontrollerDeleteGameArchiveResultModel; +import java.io.Serializable; +/** + * UsercontrollerDeleteGameArchiveResult + */ +public class UsercontrollerDeleteGameArchiveResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private UsercontrollerDeleteGameArchiveResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public UsercontrollerDeleteGameArchiveResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public UsercontrollerDeleteGameArchiveResult model(UsercontrollerDeleteGameArchiveResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public UsercontrollerDeleteGameArchiveResultModel getModel() { + return model; + } + + public void setModel(UsercontrollerDeleteGameArchiveResultModel model) { + this.model = model; + } + + public UsercontrollerDeleteGameArchiveResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public UsercontrollerDeleteGameArchiveResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerDeleteGameArchiveResult usercontrollerDeleteGameArchiveResult = (UsercontrollerDeleteGameArchiveResult) o; + return Objects.equals(this.success, usercontrollerDeleteGameArchiveResult.success) && + Objects.equals(this.model, usercontrollerDeleteGameArchiveResult.model) && + Objects.equals(this.msgInfo, usercontrollerDeleteGameArchiveResult.msgInfo) && + Objects.equals(this.msgCode, usercontrollerDeleteGameArchiveResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerDeleteGameArchiveResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From ab6550361ef12dbbf0683f587f3c1e0f3678a933 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:31 +0800 Subject: [PATCH 202/235] feat: update --- ...ontrollerDeleteGameArchiveResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerDeleteGameArchiveResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerDeleteGameArchiveResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerDeleteGameArchiveResultModel.java new file mode 100644 index 000000000..34c3ccaf7 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerDeleteGameArchiveResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * UsercontrollerDeleteGameArchiveResultModel + */ +public class UsercontrollerDeleteGameArchiveResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer status = null; + + + public UsercontrollerDeleteGameArchiveResultModel status(Integer status) { + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerDeleteGameArchiveResultModel usercontrollerDeleteGameArchiveResultModel = (UsercontrollerDeleteGameArchiveResultModel) o; + return Objects.equals(this.status, usercontrollerDeleteGameArchiveResultModel.status); + } + + @Override + public int hashCode() { + return Objects.hash(status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerDeleteGameArchiveResultModel {"); + + sb.append(",status: ").append(toIndentedString(status)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 36160ced142261157b53ac101e876aeb37af203c Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:32 +0800 Subject: [PATCH 203/235] feat: update --- ...ollerGetGameTrialSurplusDurationForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationForms.java new file mode 100644 index 000000000..d3a685af1 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * UsercontrollerGetGameTrialSurplusDurationForms + */ +public class UsercontrollerGetGameTrialSurplusDurationForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String accountId = null; + + + private String gameId = null; + + + private String projectId = null; + + + public UsercontrollerGetGameTrialSurplusDurationForms accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * 账号id + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public UsercontrollerGetGameTrialSurplusDurationForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public UsercontrollerGetGameTrialSurplusDurationForms projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerGetGameTrialSurplusDurationForms usercontrollerGetGameTrialSurplusDurationForms = (UsercontrollerGetGameTrialSurplusDurationForms) o; + return Objects.equals(this.accountId, usercontrollerGetGameTrialSurplusDurationForms.accountId) && + Objects.equals(this.gameId, usercontrollerGetGameTrialSurplusDurationForms.gameId) && + Objects.equals(this.projectId, usercontrollerGetGameTrialSurplusDurationForms.projectId); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, gameId, projectId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerGetGameTrialSurplusDurationForms {"); + + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From d94af2c77e9e41c7017d17338eded4c212d94c46 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:33 +0800 Subject: [PATCH 204/235] feat: update --- ...llerGetGameTrialSurplusDurationResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationResult.java new file mode 100644 index 000000000..49280021f --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.UsercontrollerGetGameTrialSurplusDurationResultModel; +import java.io.Serializable; +/** + * UsercontrollerGetGameTrialSurplusDurationResult + */ +public class UsercontrollerGetGameTrialSurplusDurationResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private UsercontrollerGetGameTrialSurplusDurationResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public UsercontrollerGetGameTrialSurplusDurationResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public UsercontrollerGetGameTrialSurplusDurationResult model(UsercontrollerGetGameTrialSurplusDurationResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public UsercontrollerGetGameTrialSurplusDurationResultModel getModel() { + return model; + } + + public void setModel(UsercontrollerGetGameTrialSurplusDurationResultModel model) { + this.model = model; + } + + public UsercontrollerGetGameTrialSurplusDurationResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public UsercontrollerGetGameTrialSurplusDurationResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerGetGameTrialSurplusDurationResult usercontrollerGetGameTrialSurplusDurationResult = (UsercontrollerGetGameTrialSurplusDurationResult) o; + return Objects.equals(this.success, usercontrollerGetGameTrialSurplusDurationResult.success) && + Objects.equals(this.model, usercontrollerGetGameTrialSurplusDurationResult.model) && + Objects.equals(this.msgInfo, usercontrollerGetGameTrialSurplusDurationResult.msgInfo) && + Objects.equals(this.msgCode, usercontrollerGetGameTrialSurplusDurationResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerGetGameTrialSurplusDurationResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 74ce56ad01d41cb8bc707fe0db49379e9ed5110a Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:34 +0800 Subject: [PATCH 205/235] feat: update --- ...etGameTrialSurplusDurationResultModel.java | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationResultModel.java new file mode 100644 index 000000000..343624b8c --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationResultModel.java @@ -0,0 +1,89 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.UsercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * UsercontrollerGetGameTrialSurplusDurationResultModel + */ +public class UsercontrollerGetGameTrialSurplusDurationResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private List trialPolicyResponses = null; + + + public UsercontrollerGetGameTrialSurplusDurationResultModel trialPolicyResponses(List trialPolicyResponses) { + this.trialPolicyResponses = trialPolicyResponses; + return this; + } + + public UsercontrollerGetGameTrialSurplusDurationResultModel addTrialPolicyResponsesItem(UsercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses trialPolicyResponsesItem) { + if (this.trialPolicyResponses == null) { + this.trialPolicyResponses = new ArrayList(); + } + this.trialPolicyResponses.add(trialPolicyResponsesItem); + return this; + } + + /** + * Get trialPolicyResponses + * @return trialPolicyResponses + **/ + public List getTrialPolicyResponses() { + return trialPolicyResponses; + } + + public void setTrialPolicyResponses(List trialPolicyResponses) { + this.trialPolicyResponses = trialPolicyResponses; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerGetGameTrialSurplusDurationResultModel usercontrollerGetGameTrialSurplusDurationResultModel = (UsercontrollerGetGameTrialSurplusDurationResultModel) o; + return Objects.equals(this.trialPolicyResponses, usercontrollerGetGameTrialSurplusDurationResultModel.trialPolicyResponses); + } + + @Override + public int hashCode() { + return Objects.hash(trialPolicyResponses); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerGetGameTrialSurplusDurationResultModel {"); + + sb.append(",trialPolicyResponses: ").append(toIndentedString(trialPolicyResponses)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 22dccf6e1455ff205710952345401daae577b5ff Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:35 +0800 Subject: [PATCH 206/235] feat: update --- ...rationResultModelTrialPolicyResponses.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses.java new file mode 100644 index 000000000..f186b2f8d --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * UsercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses + */ +public class UsercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses implements Serializable { + private static final long serialVersionUID = 1L; + + private String policyType = null; + + + private Long surplusDurationInSecond = null; + + + public UsercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses policyType(String policyType) { + this.policyType = policyType; + return this; + } + + /** + * 策略类型 + * @return policyType + **/ + public String getPolicyType() { + return policyType; + } + + public void setPolicyType(String policyType) { + this.policyType = policyType; + } + + public UsercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses surplusDurationInSecond(Long surplusDurationInSecond) { + this.surplusDurationInSecond = surplusDurationInSecond; + return this; + } + + /** + * 剩余试玩时长 + * @return surplusDurationInSecond + **/ + public Long getSurplusDurationInSecond() { + return surplusDurationInSecond; + } + + public void setSurplusDurationInSecond(Long surplusDurationInSecond) { + this.surplusDurationInSecond = surplusDurationInSecond; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses usercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses = (UsercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses) o; + return Objects.equals(this.policyType, usercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses.policyType) && + Objects.equals(this.surplusDurationInSecond, usercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses.surplusDurationInSecond); + } + + @Override + public int hashCode() { + return Objects.hash(policyType, surplusDurationInSecond); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerGetGameTrialSurplusDurationResultModelTrialPolicyResponses {"); + + sb.append(",policyType: ").append(toIndentedString(policyType)); + sb.append(",surplusDurationInSecond: ").append(toIndentedString(surplusDurationInSecond)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 49c2acea22d40fac43438c2a69eb85636da01199 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:37 +0800 Subject: [PATCH 207/235] feat: update --- ...UsercontrollerGetUserGameArchiveForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveForms.java new file mode 100644 index 000000000..be59a447c --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * UsercontrollerGetUserGameArchiveForms + */ +public class UsercontrollerGetUserGameArchiveForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String accountId = null; + + + private String gameId = null; + + + private String projectId = null; + + + public UsercontrollerGetUserGameArchiveForms accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public UsercontrollerGetUserGameArchiveForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public UsercontrollerGetUserGameArchiveForms projectId(String projectId) { + this.projectId = projectId; + return this; + } + + /** + * Get projectId + * @return projectId + **/ + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerGetUserGameArchiveForms usercontrollerGetUserGameArchiveForms = (UsercontrollerGetUserGameArchiveForms) o; + return Objects.equals(this.accountId, usercontrollerGetUserGameArchiveForms.accountId) && + Objects.equals(this.gameId, usercontrollerGetUserGameArchiveForms.gameId) && + Objects.equals(this.projectId, usercontrollerGetUserGameArchiveForms.projectId); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, gameId, projectId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerGetUserGameArchiveForms {"); + + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",projectId: ").append(toIndentedString(projectId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 55cf8321deb55cecd241f6d7611f6c6fb90acd44 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:38 +0800 Subject: [PATCH 208/235] feat: update --- ...sercontrollerGetUserGameArchiveResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveResult.java new file mode 100644 index 000000000..40f63e0a7 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.UsercontrollerGetUserGameArchiveResultModel; +import java.io.Serializable; +/** + * UsercontrollerGetUserGameArchiveResult + */ +public class UsercontrollerGetUserGameArchiveResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private UsercontrollerGetUserGameArchiveResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public UsercontrollerGetUserGameArchiveResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public UsercontrollerGetUserGameArchiveResult model(UsercontrollerGetUserGameArchiveResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public UsercontrollerGetUserGameArchiveResultModel getModel() { + return model; + } + + public void setModel(UsercontrollerGetUserGameArchiveResultModel model) { + this.model = model; + } + + public UsercontrollerGetUserGameArchiveResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public UsercontrollerGetUserGameArchiveResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerGetUserGameArchiveResult usercontrollerGetUserGameArchiveResult = (UsercontrollerGetUserGameArchiveResult) o; + return Objects.equals(this.success, usercontrollerGetUserGameArchiveResult.success) && + Objects.equals(this.model, usercontrollerGetUserGameArchiveResult.model) && + Objects.equals(this.msgInfo, usercontrollerGetUserGameArchiveResult.msgInfo) && + Objects.equals(this.msgCode, usercontrollerGetUserGameArchiveResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerGetUserGameArchiveResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From cd4a6b65b40fd75ce6ea927945f3d883db3c91b1 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:39 +0800 Subject: [PATCH 209/235] feat: update --- ...ntrollerGetUserGameArchiveResultModel.java | 123 ++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveResultModel.java new file mode 100644 index 000000000..a95c115d5 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveResultModel.java @@ -0,0 +1,123 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO; +import java.io.Serializable; +/** + * UsercontrollerGetUserGameArchiveResultModel + */ +public class UsercontrollerGetUserGameArchiveResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO userGameArchiveDTO = null; + + + private String downloadUrl = null; + + + private String objectMD5 = null; + + + public UsercontrollerGetUserGameArchiveResultModel userGameArchiveDTO(UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO userGameArchiveDTO) { + this.userGameArchiveDTO = userGameArchiveDTO; + return this; + } + + /** + * Get userGameArchiveDTO + * @return userGameArchiveDTO + **/ + public UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO getUserGameArchiveDTO() { + return userGameArchiveDTO; + } + + public void setUserGameArchiveDTO(UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO userGameArchiveDTO) { + this.userGameArchiveDTO = userGameArchiveDTO; + } + + public UsercontrollerGetUserGameArchiveResultModel downloadUrl(String downloadUrl) { + this.downloadUrl = downloadUrl; + return this; + } + + /** + * Get downloadUrl + * @return downloadUrl + **/ + public String getDownloadUrl() { + return downloadUrl; + } + + public void setDownloadUrl(String downloadUrl) { + this.downloadUrl = downloadUrl; + } + + public UsercontrollerGetUserGameArchiveResultModel objectMD5(String objectMD5) { + this.objectMD5 = objectMD5; + return this; + } + + /** + * Get objectMD5 + * @return objectMD5 + **/ + public String getObjectMD5() { + return objectMD5; + } + + public void setObjectMD5(String objectMD5) { + this.objectMD5 = objectMD5; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerGetUserGameArchiveResultModel usercontrollerGetUserGameArchiveResultModel = (UsercontrollerGetUserGameArchiveResultModel) o; + return Objects.equals(this.userGameArchiveDTO, usercontrollerGetUserGameArchiveResultModel.userGameArchiveDTO) && + Objects.equals(this.downloadUrl, usercontrollerGetUserGameArchiveResultModel.downloadUrl) && + Objects.equals(this.objectMD5, usercontrollerGetUserGameArchiveResultModel.objectMD5); + } + + @Override + public int hashCode() { + return Objects.hash(userGameArchiveDTO, downloadUrl, objectMD5); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerGetUserGameArchiveResultModel {"); + + sb.append(",userGameArchiveDTO: ").append(toIndentedString(userGameArchiveDTO)); + sb.append(",downloadUrl: ").append(toIndentedString(downloadUrl)); + sb.append(",objectMD5: ").append(toIndentedString(objectMD5)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From d30e5fd209239df8c845cf468bc10f596b1d5654 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:40 +0800 Subject: [PATCH 210/235] feat: update --- ...eArchiveResultModelUserGameArchiveDTO.java | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO.java new file mode 100644 index 000000000..76e78fff8 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO.java @@ -0,0 +1,100 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO + */ +public class UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameSessionId = null; + + + private Long gmtCreate = null; + + + public UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO gameSessionId(String gameSessionId) { + this.gameSessionId = gameSessionId; + return this; + } + + /** + * 游戏会话ID + * @return gameSessionId + **/ + public String getGameSessionId() { + return gameSessionId; + } + + public void setGameSessionId(String gameSessionId) { + this.gameSessionId = gameSessionId; + } + + public UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO gmtCreate(Long gmtCreate) { + this.gmtCreate = gmtCreate; + return this; + } + + /** + * 存档生成时间 + * @return gmtCreate + **/ + public Long getGmtCreate() { + return gmtCreate; + } + + public void setGmtCreate(Long gmtCreate) { + this.gmtCreate = gmtCreate; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO usercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO = (UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO) o; + return Objects.equals(this.gameSessionId, usercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO.gameSessionId) && + Objects.equals(this.gmtCreate, usercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO.gmtCreate); + } + + @Override + public int hashCode() { + return Objects.hash(gameSessionId, gmtCreate); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerGetUserGameArchiveResultModelUserGameArchiveDTO {"); + + sb.append(",gameSessionId: ").append(toIndentedString(gameSessionId)); + sb.append(",gmtCreate: ").append(toIndentedString(gmtCreate)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From aea6d75f416a4ab3c638cfe32edba3fecc0b95b2 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:42 +0800 Subject: [PATCH 211/235] feat: update --- ...rcontrollerListLatestGameArchiveForms.java | 166 ++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveForms.java new file mode 100644 index 000000000..12f23d79e --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveForms.java @@ -0,0 +1,166 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * UsercontrollerListLatestGameArchiveForms + */ +public class UsercontrollerListLatestGameArchiveForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String accountId = null; + + + private String gameId = null; + + + private Integer pageSize = null; + + + private Integer pageNumber = null; + + + private Integer tagStatus = null; + + + public UsercontrollerListLatestGameArchiveForms accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public UsercontrollerListLatestGameArchiveForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public UsercontrollerListLatestGameArchiveForms pageSize(Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Get pageSize + * @return pageSize + **/ + public Integer getPageSize() { + return pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public UsercontrollerListLatestGameArchiveForms pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Get pageNumber + * @return pageNumber + **/ + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public UsercontrollerListLatestGameArchiveForms tagStatus(Integer tagStatus) { + this.tagStatus = tagStatus; + return this; + } + + /** + * Get tagStatus + * @return tagStatus + **/ + public Integer getTagStatus() { + return tagStatus; + } + + public void setTagStatus(Integer tagStatus) { + this.tagStatus = tagStatus; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerListLatestGameArchiveForms usercontrollerListLatestGameArchiveForms = (UsercontrollerListLatestGameArchiveForms) o; + return Objects.equals(this.accountId, usercontrollerListLatestGameArchiveForms.accountId) && + Objects.equals(this.gameId, usercontrollerListLatestGameArchiveForms.gameId) && + Objects.equals(this.pageSize, usercontrollerListLatestGameArchiveForms.pageSize) && + Objects.equals(this.pageNumber, usercontrollerListLatestGameArchiveForms.pageNumber) && + Objects.equals(this.tagStatus, usercontrollerListLatestGameArchiveForms.tagStatus); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, gameId, pageSize, pageNumber, tagStatus); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerListLatestGameArchiveForms {"); + + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",pageSize: ").append(toIndentedString(pageSize)); + sb.append(",pageNumber: ").append(toIndentedString(pageNumber)); + sb.append(",tagStatus: ").append(toIndentedString(tagStatus)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From e0e1d8791761a83cd163d4b9691e9e98aaff97d5 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:43 +0800 Subject: [PATCH 212/235] feat: update --- ...controllerListLatestGameArchiveResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveResult.java new file mode 100644 index 000000000..026526f58 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.UsercontrollerListLatestGameArchiveResultModel; +import java.io.Serializable; +/** + * UsercontrollerListLatestGameArchiveResult + */ +public class UsercontrollerListLatestGameArchiveResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private UsercontrollerListLatestGameArchiveResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public UsercontrollerListLatestGameArchiveResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public UsercontrollerListLatestGameArchiveResult model(UsercontrollerListLatestGameArchiveResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public UsercontrollerListLatestGameArchiveResultModel getModel() { + return model; + } + + public void setModel(UsercontrollerListLatestGameArchiveResultModel model) { + this.model = model; + } + + public UsercontrollerListLatestGameArchiveResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public UsercontrollerListLatestGameArchiveResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerListLatestGameArchiveResult usercontrollerListLatestGameArchiveResult = (UsercontrollerListLatestGameArchiveResult) o; + return Objects.equals(this.success, usercontrollerListLatestGameArchiveResult.success) && + Objects.equals(this.model, usercontrollerListLatestGameArchiveResult.model) && + Objects.equals(this.msgInfo, usercontrollerListLatestGameArchiveResult.msgInfo) && + Objects.equals(this.msgCode, usercontrollerListLatestGameArchiveResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerListLatestGameArchiveResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 92399799ce6eca8a3d8301f08a169d3076a69ec4 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:44 +0800 Subject: [PATCH 213/235] feat: update --- ...ollerListLatestGameArchiveResultModel.java | 177 ++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveResultModel.java new file mode 100644 index 000000000..bc7c0ddd3 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveResultModel.java @@ -0,0 +1,177 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.UsercontrollerListLatestGameArchiveResultModelItems; +import java.util.ArrayList; +import java.util.List; +import java.io.Serializable; +/** + * UsercontrollerListLatestGameArchiveResultModel + */ +public class UsercontrollerListLatestGameArchiveResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer pageNumber = null; + + + private String requestId = null; + + + private Integer pageSize = null; + + + private Integer totalCount = null; + + + private List items = null; + + + public UsercontrollerListLatestGameArchiveResultModel pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Get pageNumber + * @return pageNumber + **/ + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public UsercontrollerListLatestGameArchiveResultModel requestId(String requestId) { + this.requestId = requestId; + return this; + } + + /** + * Get requestId + * @return requestId + **/ + public String getRequestId() { + return requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public UsercontrollerListLatestGameArchiveResultModel pageSize(Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Get pageSize + * @return pageSize + **/ + public Integer getPageSize() { + return pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public UsercontrollerListLatestGameArchiveResultModel totalCount(Integer totalCount) { + this.totalCount = totalCount; + return this; + } + + /** + * Get totalCount + * @return totalCount + **/ + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public UsercontrollerListLatestGameArchiveResultModel items(List items) { + this.items = items; + return this; + } + + public UsercontrollerListLatestGameArchiveResultModel addItemsItem(UsercontrollerListLatestGameArchiveResultModelItems itemsItem) { + if (this.items == null) { + this.items = new ArrayList(); + } + this.items.add(itemsItem); + return this; + } + + /** + * Get items + * @return items + **/ + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerListLatestGameArchiveResultModel usercontrollerListLatestGameArchiveResultModel = (UsercontrollerListLatestGameArchiveResultModel) o; + return Objects.equals(this.pageNumber, usercontrollerListLatestGameArchiveResultModel.pageNumber) && + Objects.equals(this.requestId, usercontrollerListLatestGameArchiveResultModel.requestId) && + Objects.equals(this.pageSize, usercontrollerListLatestGameArchiveResultModel.pageSize) && + Objects.equals(this.totalCount, usercontrollerListLatestGameArchiveResultModel.totalCount) && + Objects.equals(this.items, usercontrollerListLatestGameArchiveResultModel.items); + } + + @Override + public int hashCode() { + return Objects.hash(pageNumber, requestId, pageSize, totalCount, items); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerListLatestGameArchiveResultModel {"); + + sb.append(",pageNumber: ").append(toIndentedString(pageNumber)); + sb.append(",requestId: ").append(toIndentedString(requestId)); + sb.append(",pageSize: ").append(toIndentedString(pageSize)); + sb.append(",totalCount: ").append(toIndentedString(totalCount)); + sb.append(",items: ").append(toIndentedString(items)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 06f91179137d550adf62caae7eb650f29860a183 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:45 +0800 Subject: [PATCH 214/235] feat: update --- ...ListLatestGameArchiveResultModelItems.java | 166 ++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveResultModelItems.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveResultModelItems.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveResultModelItems.java new file mode 100644 index 000000000..dd5b84e74 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerListLatestGameArchiveResultModelItems.java @@ -0,0 +1,166 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * UsercontrollerListLatestGameArchiveResultModelItems + */ +public class UsercontrollerListLatestGameArchiveResultModelItems implements Serializable { + private static final long serialVersionUID = 1L; + + private String gameId = null; + + + private String accountId = null; + + + private Long archiveTime = null; + + + private Integer tagStatus = null; + + + private String archiveId = null; + + + public UsercontrollerListLatestGameArchiveResultModelItems gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public UsercontrollerListLatestGameArchiveResultModelItems accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public UsercontrollerListLatestGameArchiveResultModelItems archiveTime(Long archiveTime) { + this.archiveTime = archiveTime; + return this; + } + + /** + * Get archiveTime + * @return archiveTime + **/ + public Long getArchiveTime() { + return archiveTime; + } + + public void setArchiveTime(Long archiveTime) { + this.archiveTime = archiveTime; + } + + public UsercontrollerListLatestGameArchiveResultModelItems tagStatus(Integer tagStatus) { + this.tagStatus = tagStatus; + return this; + } + + /** + * Get tagStatus + * @return tagStatus + **/ + public Integer getTagStatus() { + return tagStatus; + } + + public void setTagStatus(Integer tagStatus) { + this.tagStatus = tagStatus; + } + + public UsercontrollerListLatestGameArchiveResultModelItems archiveId(String archiveId) { + this.archiveId = archiveId; + return this; + } + + /** + * Get archiveId + * @return archiveId + **/ + public String getArchiveId() { + return archiveId; + } + + public void setArchiveId(String archiveId) { + this.archiveId = archiveId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerListLatestGameArchiveResultModelItems usercontrollerListLatestGameArchiveResultModelItems = (UsercontrollerListLatestGameArchiveResultModelItems) o; + return Objects.equals(this.gameId, usercontrollerListLatestGameArchiveResultModelItems.gameId) && + Objects.equals(this.accountId, usercontrollerListLatestGameArchiveResultModelItems.accountId) && + Objects.equals(this.archiveTime, usercontrollerListLatestGameArchiveResultModelItems.archiveTime) && + Objects.equals(this.tagStatus, usercontrollerListLatestGameArchiveResultModelItems.tagStatus) && + Objects.equals(this.archiveId, usercontrollerListLatestGameArchiveResultModelItems.archiveId); + } + + @Override + public int hashCode() { + return Objects.hash(gameId, accountId, archiveTime, tagStatus, archiveId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerListLatestGameArchiveResultModelItems {"); + + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",archiveTime: ").append(toIndentedString(archiveTime)); + sb.append(",tagStatus: ").append(toIndentedString(tagStatus)); + sb.append(",archiveId: ").append(toIndentedString(archiveId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From a5270f6cb30f944db984762b064690ec95b893f3 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:47 +0800 Subject: [PATCH 215/235] feat: update --- ...UsercontrollerRestoreGameArchiveForms.java | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerRestoreGameArchiveForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerRestoreGameArchiveForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerRestoreGameArchiveForms.java new file mode 100644 index 000000000..5799bd02c --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerRestoreGameArchiveForms.java @@ -0,0 +1,122 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * UsercontrollerRestoreGameArchiveForms + */ +public class UsercontrollerRestoreGameArchiveForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String accountId = null; + + + private String gameId = null; + + + private String archiveId = null; + + + public UsercontrollerRestoreGameArchiveForms accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public UsercontrollerRestoreGameArchiveForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public UsercontrollerRestoreGameArchiveForms archiveId(String archiveId) { + this.archiveId = archiveId; + return this; + } + + /** + * Get archiveId + * @return archiveId + **/ + public String getArchiveId() { + return archiveId; + } + + public void setArchiveId(String archiveId) { + this.archiveId = archiveId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerRestoreGameArchiveForms usercontrollerRestoreGameArchiveForms = (UsercontrollerRestoreGameArchiveForms) o; + return Objects.equals(this.accountId, usercontrollerRestoreGameArchiveForms.accountId) && + Objects.equals(this.gameId, usercontrollerRestoreGameArchiveForms.gameId) && + Objects.equals(this.archiveId, usercontrollerRestoreGameArchiveForms.archiveId); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, gameId, archiveId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerRestoreGameArchiveForms {"); + + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",archiveId: ").append(toIndentedString(archiveId)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From d8f6ea8add45520dd63bd08a9dc4cdcce4b0000a Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:48 +0800 Subject: [PATCH 216/235] feat: update --- ...sercontrollerRestoreGameArchiveResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerRestoreGameArchiveResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerRestoreGameArchiveResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerRestoreGameArchiveResult.java new file mode 100644 index 000000000..07fa1e979 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerRestoreGameArchiveResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.UsercontrollerRestoreGameArchiveResultModel; +import java.io.Serializable; +/** + * UsercontrollerRestoreGameArchiveResult + */ +public class UsercontrollerRestoreGameArchiveResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private UsercontrollerRestoreGameArchiveResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public UsercontrollerRestoreGameArchiveResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public UsercontrollerRestoreGameArchiveResult model(UsercontrollerRestoreGameArchiveResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public UsercontrollerRestoreGameArchiveResultModel getModel() { + return model; + } + + public void setModel(UsercontrollerRestoreGameArchiveResultModel model) { + this.model = model; + } + + public UsercontrollerRestoreGameArchiveResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public UsercontrollerRestoreGameArchiveResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerRestoreGameArchiveResult usercontrollerRestoreGameArchiveResult = (UsercontrollerRestoreGameArchiveResult) o; + return Objects.equals(this.success, usercontrollerRestoreGameArchiveResult.success) && + Objects.equals(this.model, usercontrollerRestoreGameArchiveResult.model) && + Objects.equals(this.msgInfo, usercontrollerRestoreGameArchiveResult.msgInfo) && + Objects.equals(this.msgCode, usercontrollerRestoreGameArchiveResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerRestoreGameArchiveResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 80c633d19004269ecdebd92e58be65cefadf63b8 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:49 +0800 Subject: [PATCH 217/235] feat: update --- ...ntrollerRestoreGameArchiveResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerRestoreGameArchiveResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerRestoreGameArchiveResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerRestoreGameArchiveResultModel.java new file mode 100644 index 000000000..10dd09887 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerRestoreGameArchiveResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * UsercontrollerRestoreGameArchiveResultModel + */ +public class UsercontrollerRestoreGameArchiveResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer status = null; + + + public UsercontrollerRestoreGameArchiveResultModel status(Integer status) { + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerRestoreGameArchiveResultModel usercontrollerRestoreGameArchiveResultModel = (UsercontrollerRestoreGameArchiveResultModel) o; + return Objects.equals(this.status, usercontrollerRestoreGameArchiveResultModel.status); + } + + @Override + public int hashCode() { + return Objects.hash(status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerRestoreGameArchiveResultModel {"); + + sb.append(",status: ").append(toIndentedString(status)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From ec18f8b3dfd9c8388c9a8778f924a86583de593c Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:50 +0800 Subject: [PATCH 218/235] feat: update --- ...rollerUpdateGameArchiveTagStatusForms.java | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerUpdateGameArchiveTagStatusForms.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerUpdateGameArchiveTagStatusForms.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerUpdateGameArchiveTagStatusForms.java new file mode 100644 index 000000000..e999935f1 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerUpdateGameArchiveTagStatusForms.java @@ -0,0 +1,144 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * UsercontrollerUpdateGameArchiveTagStatusForms + */ +public class UsercontrollerUpdateGameArchiveTagStatusForms implements Serializable { + private static final long serialVersionUID = 1L; + + private String accountId = null; + + + private String gameId = null; + + + private String archiveId = null; + + + private Integer tagStatus = null; + + + public UsercontrollerUpdateGameArchiveTagStatusForms accountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get accountId + * @return accountId + **/ + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public UsercontrollerUpdateGameArchiveTagStatusForms gameId(String gameId) { + this.gameId = gameId; + return this; + } + + /** + * Get gameId + * @return gameId + **/ + public String getGameId() { + return gameId; + } + + public void setGameId(String gameId) { + this.gameId = gameId; + } + + public UsercontrollerUpdateGameArchiveTagStatusForms archiveId(String archiveId) { + this.archiveId = archiveId; + return this; + } + + /** + * Get archiveId + * @return archiveId + **/ + public String getArchiveId() { + return archiveId; + } + + public void setArchiveId(String archiveId) { + this.archiveId = archiveId; + } + + public UsercontrollerUpdateGameArchiveTagStatusForms tagStatus(Integer tagStatus) { + this.tagStatus = tagStatus; + return this; + } + + /** + * Get tagStatus + * @return tagStatus + **/ + public Integer getTagStatus() { + return tagStatus; + } + + public void setTagStatus(Integer tagStatus) { + this.tagStatus = tagStatus; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerUpdateGameArchiveTagStatusForms usercontrollerUpdateGameArchiveTagStatusForms = (UsercontrollerUpdateGameArchiveTagStatusForms) o; + return Objects.equals(this.accountId, usercontrollerUpdateGameArchiveTagStatusForms.accountId) && + Objects.equals(this.gameId, usercontrollerUpdateGameArchiveTagStatusForms.gameId) && + Objects.equals(this.archiveId, usercontrollerUpdateGameArchiveTagStatusForms.archiveId) && + Objects.equals(this.tagStatus, usercontrollerUpdateGameArchiveTagStatusForms.tagStatus); + } + + @Override + public int hashCode() { + return Objects.hash(accountId, gameId, archiveId, tagStatus); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerUpdateGameArchiveTagStatusForms {"); + + sb.append(",accountId: ").append(toIndentedString(accountId)); + sb.append(",gameId: ").append(toIndentedString(gameId)); + sb.append(",archiveId: ").append(toIndentedString(archiveId)); + sb.append(",tagStatus: ").append(toIndentedString(tagStatus)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 3909e775fc4a01e73a1aa209f394354b10f25a88 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:52 +0800 Subject: [PATCH 219/235] feat: update --- ...ollerUpdateGameArchiveTagStatusResult.java | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerUpdateGameArchiveTagStatusResult.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerUpdateGameArchiveTagStatusResult.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerUpdateGameArchiveTagStatusResult.java new file mode 100644 index 000000000..c1bcbbd5d --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerUpdateGameArchiveTagStatusResult.java @@ -0,0 +1,145 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.alibaba.yjopenapi.client.model.UsercontrollerUpdateGameArchiveTagStatusResultModel; +import java.io.Serializable; +/** + * UsercontrollerUpdateGameArchiveTagStatusResult + */ +public class UsercontrollerUpdateGameArchiveTagStatusResult implements Serializable { + private static final long serialVersionUID = 1L; + + private Boolean success = null; + + + private UsercontrollerUpdateGameArchiveTagStatusResultModel model = null; + + + private String msgInfo = null; + + + private String msgCode = null; + + + public UsercontrollerUpdateGameArchiveTagStatusResult success(Boolean success) { + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + public Boolean getSuccess() { + return success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public UsercontrollerUpdateGameArchiveTagStatusResult model(UsercontrollerUpdateGameArchiveTagStatusResultModel model) { + this.model = model; + return this; + } + + /** + * Get model + * @return model + **/ + public UsercontrollerUpdateGameArchiveTagStatusResultModel getModel() { + return model; + } + + public void setModel(UsercontrollerUpdateGameArchiveTagStatusResultModel model) { + this.model = model; + } + + public UsercontrollerUpdateGameArchiveTagStatusResult msgInfo(String msgInfo) { + this.msgInfo = msgInfo; + return this; + } + + /** + * Get msgInfo + * @return msgInfo + **/ + public String getMsgInfo() { + return msgInfo; + } + + public void setMsgInfo(String msgInfo) { + this.msgInfo = msgInfo; + } + + public UsercontrollerUpdateGameArchiveTagStatusResult msgCode(String msgCode) { + this.msgCode = msgCode; + return this; + } + + /** + * Get msgCode + * @return msgCode + **/ + public String getMsgCode() { + return msgCode; + } + + public void setMsgCode(String msgCode) { + this.msgCode = msgCode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerUpdateGameArchiveTagStatusResult usercontrollerUpdateGameArchiveTagStatusResult = (UsercontrollerUpdateGameArchiveTagStatusResult) o; + return Objects.equals(this.success, usercontrollerUpdateGameArchiveTagStatusResult.success) && + Objects.equals(this.model, usercontrollerUpdateGameArchiveTagStatusResult.model) && + Objects.equals(this.msgInfo, usercontrollerUpdateGameArchiveTagStatusResult.msgInfo) && + Objects.equals(this.msgCode, usercontrollerUpdateGameArchiveTagStatusResult.msgCode); + } + + @Override + public int hashCode() { + return Objects.hash(success, model, msgInfo, msgCode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerUpdateGameArchiveTagStatusResult {"); + + sb.append(",success: ").append(toIndentedString(success)); + sb.append(",model: ").append(toIndentedString(model)); + sb.append(",msgInfo: ").append(toIndentedString(msgInfo)); + sb.append(",msgCode: ").append(toIndentedString(msgCode)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 3ebee3007e5ca08b96e1f5163feba3bada82a3cd Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:53 +0800 Subject: [PATCH 220/235] feat: update --- ...UpdateGameArchiveTagStatusResultModel.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerUpdateGameArchiveTagStatusResultModel.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerUpdateGameArchiveTagStatusResultModel.java b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerUpdateGameArchiveTagStatusResultModel.java new file mode 100644 index 000000000..b8e61beee --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/model/UsercontrollerUpdateGameArchiveTagStatusResultModel.java @@ -0,0 +1,78 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.io.Serializable; +/** + * UsercontrollerUpdateGameArchiveTagStatusResultModel + */ +public class UsercontrollerUpdateGameArchiveTagStatusResultModel implements Serializable { + private static final long serialVersionUID = 1L; + + private Integer status = null; + + + public UsercontrollerUpdateGameArchiveTagStatusResultModel status(Integer status) { + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsercontrollerUpdateGameArchiveTagStatusResultModel usercontrollerUpdateGameArchiveTagStatusResultModel = (UsercontrollerUpdateGameArchiveTagStatusResultModel) o; + return Objects.equals(this.status, usercontrollerUpdateGameArchiveTagStatusResultModel.status); + } + + @Override + public int hashCode() { + return Objects.hash(status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsercontrollerUpdateGameArchiveTagStatusResultModel {"); + + sb.append(",status: ").append(toIndentedString(status)); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString(); + } + +} From 51ce302109c0feda6324db344fea64e3b6725e23 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:54 +0800 Subject: [PATCH 221/235] feat: update --- .../yjopenapi/client/api/AdaptApi.java | 257 ++++++++++++++++++ 1 file changed, 257 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/api/AdaptApi.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/api/AdaptApi.java b/src/main/java/com/alibaba/yjopenapi/client/api/AdaptApi.java new file mode 100644 index 000000000..738391c25 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/api/AdaptApi.java @@ -0,0 +1,257 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.api; + +import java.io.IOException; + +import com.alibaba.yjopenapi.client.model.AdaptCreateAndSubmitAllResult; +import com.alibaba.yjopenapi.client.model.AdaptQueryRequestByIdResult; + +import com.alibaba.yjopenapi.client.model.*; + +import java.util.Arrays; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class AdaptApi { + private ApiClient apiClient; + private Configuration configuration; + + public AdaptApi() { + this(new ApiClient(), Configuration.getDefaultConfiguration()); + } + + public AdaptApi(ApiClient apiClient, Configuration configuration) { + this.apiClient = apiClient; + this.configuration = configuration; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public Configuration getConfiguration() { + return configuration; + } + + public void setConfiguration(Configuration configuration) { + this.configuration = configuration; + } + + /** + * Build call for createAndSubmitAll + * @param varForms AdaptCreateAndSubmitAllForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createAndSubmitAllCall(AdaptCreateAndSubmitAllForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/adapt/createAndSubmitAll"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + if (varForms.getGameId() != null) { + localVarFormParams.put("gameId", varForms.getGameId()); + } + if (varForms.getGameName() != null) { + localVarFormParams.put("gameName", varForms.getGameName()); + } + if (varForms.getGameVersionId() != null) { + localVarFormParams.put("gameVersionId", varForms.getGameVersionId()); + } + if (varForms.getGameVersion() != null) { + localVarFormParams.put("gameVersion", varForms.getGameVersion()); + } + if (varForms.getResolutionList() != null) { + localVarFormParams.put("resolutionList", varForms.getResolutionList()); + } + if (varForms.getFrameRateList() != null) { + localVarFormParams.put("frameRateList", varForms.getFrameRateList()); + } + localVarFormParams.put("platformType", varForms.getPlatformType()); + localVarFormParams.put("sourcePlatform", varForms.getSourcePlatform()); + localVarFormParams.put("records", varForms.getRecords()); + localVarFormParams.put("mixGameVersionId", varForms.getMixGameVersionId()); + localVarFormParams.put("mixGameId", varForms.getMixGameId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call createAndSubmitAllValidateBeforeCall(AdaptCreateAndSubmitAllForms varForms) throws ApiException { + // verify the required parameter 'platformType' is set + if (varForms.getPlatformType() == null) { + throw new ApiException("Missing the required parameter 'platformType' when calling createAndSubmitAll(Async)"); + } + // verify the required parameter 'sourcePlatform' is set + if (varForms.getSourcePlatform() == null) { + throw new ApiException("Missing the required parameter 'sourcePlatform' when calling createAndSubmitAll(Async)"); + } + // verify the required parameter 'records' is set + if (varForms.getRecords() == null) { + throw new ApiException("Missing the required parameter 'records' when calling createAndSubmitAll(Async)"); + } + // verify the required parameter 'mixGameVersionId' is set + if (varForms.getMixGameVersionId() == null) { + throw new ApiException("Missing the required parameter 'mixGameVersionId' when calling createAndSubmitAll(Async)"); + } + // verify the required parameter 'mixGameId' is set + if (varForms.getMixGameId() == null) { + throw new ApiException("Missing the required parameter 'mixGameId' when calling createAndSubmitAll(Async)"); + } + + com.squareup.okhttp.Call call = createAndSubmitAllCall(varForms); + return call; + } + + /** + * + * createAndSubmitAll + * @param varForms AdaptCreateAndSubmitAllForms + * @return AdaptCreateAndSubmitAllResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public AdaptCreateAndSubmitAllResult createAndSubmitAll(AdaptCreateAndSubmitAllForms varForms) throws ApiException { + ApiResponse resp = createAndSubmitAllWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * createAndSubmitAll + * @param varForms AdaptCreateAndSubmitAllForms + * @return ApiResponse<AdaptCreateAndSubmitAllResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createAndSubmitAllWithHttpInfo(AdaptCreateAndSubmitAllForms varForms) throws ApiException { + com.squareup.okhttp.Call call = createAndSubmitAllValidateBeforeCall(varForms); + return apiClient.execute(call, AdaptCreateAndSubmitAllResult.class); + } + + /** + * (asynchronously) + * createAndSubmitAll + * @param varForms AdaptCreateAndSubmitAllForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createAndSubmitAllAsync(AdaptCreateAndSubmitAllForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = createAndSubmitAllValidateBeforeCall(varForms); + apiClient.executeAsync(call, AdaptCreateAndSubmitAllResult.class, callback); + return call; + } + /** + * Build call for queryRequestById + * @param varForms AdaptQueryRequestByIdForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call queryRequestByIdCall(AdaptQueryRequestByIdForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/adapt/queryRequestById"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("id", varForms.getId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call queryRequestByIdValidateBeforeCall(AdaptQueryRequestByIdForms varForms) throws ApiException { + // verify the required parameter 'id' is set + if (varForms.getId() == null) { + throw new ApiException("Missing the required parameter 'id' when calling queryRequestById(Async)"); + } + + com.squareup.okhttp.Call call = queryRequestByIdCall(varForms); + return call; + } + + /** + * + * queryRequestById + * @param varForms AdaptQueryRequestByIdForms + * @return AdaptQueryRequestByIdResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public AdaptQueryRequestByIdResult queryRequestById(AdaptQueryRequestByIdForms varForms) throws ApiException { + ApiResponse resp = queryRequestByIdWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * queryRequestById + * @param varForms AdaptQueryRequestByIdForms + * @return ApiResponse<AdaptQueryRequestByIdResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse queryRequestByIdWithHttpInfo(AdaptQueryRequestByIdForms varForms) throws ApiException { + com.squareup.okhttp.Call call = queryRequestByIdValidateBeforeCall(varForms); + return apiClient.execute(call, AdaptQueryRequestByIdResult.class); + } + + /** + * (asynchronously) + * queryRequestById + * @param varForms AdaptQueryRequestByIdForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call queryRequestByIdAsync(AdaptQueryRequestByIdForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = queryRequestByIdValidateBeforeCall(varForms); + apiClient.executeAsync(call, AdaptQueryRequestByIdResult.class, callback); + return call; + } +} From c04555668c5d2a11cee83033523479cb1db7c4ae Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:56 +0800 Subject: [PATCH 222/235] feat: update --- .../yjopenapi/client/api/ConsoleAdminApi.java | 2814 +++++++++++++++++ 1 file changed, 2814 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/api/ConsoleAdminApi.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/api/ConsoleAdminApi.java b/src/main/java/com/alibaba/yjopenapi/client/api/ConsoleAdminApi.java new file mode 100644 index 000000000..ac19ee980 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/api/ConsoleAdminApi.java @@ -0,0 +1,2814 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.api; + +import java.io.IOException; + +import com.alibaba.yjopenapi.client.model.ConsoleAdminActivateDeploymentResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminAdaptGameVersionResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminAddGameToProjectResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminBatchUpdateDispatchConfigFormsConfigList; +import com.alibaba.yjopenapi.client.model.ConsoleAdminBatchUpdateDispatchConfigResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminCreateGameResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminCreateOrderFormsAttributeRequestList; +import com.alibaba.yjopenapi.client.model.ConsoleAdminCreateOrderResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminCreateProjectResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminDeleteGameResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminDeleteGameVersionResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminDeleteProjectResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminGetBillFlowInfoResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminGetGameVersionProgressResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminGetGameVersionResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminGetOrderResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListActivateableInstancesResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListActivatedInstancesResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListControllersOfGameResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListDeployableInstancesResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListGameDeployDetailsOfProjectResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListGameVersionsResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListGamesResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListInstancesOfProjectResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListMonthBillResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListProjectsResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminListVersionDeployInstancesResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminQueryAdaptResultByVersionIdResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminRecommendSpecificationResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminRemoveGameFromProjectResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminSubmitDeploymentResult; +import com.alibaba.yjopenapi.client.model.ConsoleAdminUploadGameVersionByDownloadFormsDownloadType; +import com.alibaba.yjopenapi.client.model.ConsoleAdminUploadGameVersionByDownloadResult; + +import com.alibaba.yjopenapi.client.model.*; + +import java.util.Arrays; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class ConsoleAdminApi { + private ApiClient apiClient; + private Configuration configuration; + + public ConsoleAdminApi() { + this(new ApiClient(), Configuration.getDefaultConfiguration()); + } + + public ConsoleAdminApi(ApiClient apiClient, Configuration configuration) { + this.apiClient = apiClient; + this.configuration = configuration; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public Configuration getConfiguration() { + return configuration; + } + + public void setConfiguration(Configuration configuration) { + this.configuration = configuration; + } + + /** + * Build call for activateDeployment + * @param varForms ConsoleAdminActivateDeploymentForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call activateDeploymentCall(ConsoleAdminActivateDeploymentForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/activateDeployment"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("projectId", varForms.getProjectId()); + localVarFormParams.put("versionId", varForms.getVersionId()); + if (varForms.getMaxConcurrency() != null) { + localVarFormParams.put("maxConcurrency", varForms.getMaxConcurrency()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call activateDeploymentValidateBeforeCall(ConsoleAdminActivateDeploymentForms varForms) throws ApiException { + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling activateDeployment(Async)"); + } + // verify the required parameter 'projectId' is set + if (varForms.getProjectId() == null) { + throw new ApiException("Missing the required parameter 'projectId' when calling activateDeployment(Async)"); + } + // verify the required parameter 'versionId' is set + if (varForms.getVersionId() == null) { + throw new ApiException("Missing the required parameter 'versionId' when calling activateDeployment(Async)"); + } + + com.squareup.okhttp.Call call = activateDeploymentCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminActivateDeploymentForms + * @return ConsoleAdminActivateDeploymentResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminActivateDeploymentResult activateDeployment(ConsoleAdminActivateDeploymentForms varForms) throws ApiException { + ApiResponse resp = activateDeploymentWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminActivateDeploymentForms + * @return ApiResponse<ConsoleAdminActivateDeploymentResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse activateDeploymentWithHttpInfo(ConsoleAdminActivateDeploymentForms varForms) throws ApiException { + com.squareup.okhttp.Call call = activateDeploymentValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminActivateDeploymentResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminActivateDeploymentForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call activateDeploymentAsync(ConsoleAdminActivateDeploymentForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = activateDeploymentValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminActivateDeploymentResult.class, callback); + return call; + } + /** + * Build call for adaptGameVersion + * @param varForms ConsoleAdminAdaptGameVersionForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call adaptGameVersionCall(ConsoleAdminAdaptGameVersionForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/adaptGameVersion"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("versionId", varForms.getVersionId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call adaptGameVersionValidateBeforeCall(ConsoleAdminAdaptGameVersionForms varForms) throws ApiException { + // verify the required parameter 'versionId' is set + if (varForms.getVersionId() == null) { + throw new ApiException("Missing the required parameter 'versionId' when calling adaptGameVersion(Async)"); + } + + com.squareup.okhttp.Call call = adaptGameVersionCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminAdaptGameVersionForms + * @return ConsoleAdminAdaptGameVersionResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminAdaptGameVersionResult adaptGameVersion(ConsoleAdminAdaptGameVersionForms varForms) throws ApiException { + ApiResponse resp = adaptGameVersionWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminAdaptGameVersionForms + * @return ApiResponse<ConsoleAdminAdaptGameVersionResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse adaptGameVersionWithHttpInfo(ConsoleAdminAdaptGameVersionForms varForms) throws ApiException { + com.squareup.okhttp.Call call = adaptGameVersionValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminAdaptGameVersionResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminAdaptGameVersionForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call adaptGameVersionAsync(ConsoleAdminAdaptGameVersionForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = adaptGameVersionValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminAdaptGameVersionResult.class, callback); + return call; + } + /** + * Build call for addGameToProject + * @param varForms ConsoleAdminAddGameToProjectForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call addGameToProjectCall(ConsoleAdminAddGameToProjectForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/addGameToProject"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("projectId", varForms.getProjectId()); + localVarFormParams.put("gameId", varForms.getGameId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call addGameToProjectValidateBeforeCall(ConsoleAdminAddGameToProjectForms varForms) throws ApiException { + // verify the required parameter 'projectId' is set + if (varForms.getProjectId() == null) { + throw new ApiException("Missing the required parameter 'projectId' when calling addGameToProject(Async)"); + } + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling addGameToProject(Async)"); + } + + com.squareup.okhttp.Call call = addGameToProjectCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminAddGameToProjectForms + * @return ConsoleAdminAddGameToProjectResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminAddGameToProjectResult addGameToProject(ConsoleAdminAddGameToProjectForms varForms) throws ApiException { + ApiResponse resp = addGameToProjectWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminAddGameToProjectForms + * @return ApiResponse<ConsoleAdminAddGameToProjectResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse addGameToProjectWithHttpInfo(ConsoleAdminAddGameToProjectForms varForms) throws ApiException { + com.squareup.okhttp.Call call = addGameToProjectValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminAddGameToProjectResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminAddGameToProjectForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call addGameToProjectAsync(ConsoleAdminAddGameToProjectForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = addGameToProjectValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminAddGameToProjectResult.class, callback); + return call; + } + /** + * Build call for batchUpdateDispatchConfig + * @param varForms ConsoleAdminBatchUpdateDispatchConfigForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call batchUpdateDispatchConfigCall(ConsoleAdminBatchUpdateDispatchConfigForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/batchUpdateDispatchConfig"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("mixProjectId", varForms.getMixProjectId()); + localVarFormParams.put("instanceId", varForms.getInstanceId()); + localVarFormParams.put("appName", varForms.getAppName()); + localVarFormParams.put("configList", varForms.getConfigList()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call batchUpdateDispatchConfigValidateBeforeCall(ConsoleAdminBatchUpdateDispatchConfigForms varForms) throws ApiException { + // verify the required parameter 'mixProjectId' is set + if (varForms.getMixProjectId() == null) { + throw new ApiException("Missing the required parameter 'mixProjectId' when calling batchUpdateDispatchConfig(Async)"); + } + // verify the required parameter 'instanceId' is set + if (varForms.getInstanceId() == null) { + throw new ApiException("Missing the required parameter 'instanceId' when calling batchUpdateDispatchConfig(Async)"); + } + // verify the required parameter 'appName' is set + if (varForms.getAppName() == null) { + throw new ApiException("Missing the required parameter 'appName' when calling batchUpdateDispatchConfig(Async)"); + } + // verify the required parameter 'configList' is set + if (varForms.getConfigList() == null) { + throw new ApiException("Missing the required parameter 'configList' when calling batchUpdateDispatchConfig(Async)"); + } + + com.squareup.okhttp.Call call = batchUpdateDispatchConfigCall(varForms); + return call; + } + + /** + * + * 批量更新游戏各自调度配置 + * @param varForms ConsoleAdminBatchUpdateDispatchConfigForms + * @return ConsoleAdminBatchUpdateDispatchConfigResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminBatchUpdateDispatchConfigResult batchUpdateDispatchConfig(ConsoleAdminBatchUpdateDispatchConfigForms varForms) throws ApiException { + ApiResponse resp = batchUpdateDispatchConfigWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 批量更新游戏各自调度配置 + * @param varForms ConsoleAdminBatchUpdateDispatchConfigForms + * @return ApiResponse<ConsoleAdminBatchUpdateDispatchConfigResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse batchUpdateDispatchConfigWithHttpInfo(ConsoleAdminBatchUpdateDispatchConfigForms varForms) throws ApiException { + com.squareup.okhttp.Call call = batchUpdateDispatchConfigValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminBatchUpdateDispatchConfigResult.class); + } + + /** + * (asynchronously) + * 批量更新游戏各自调度配置 + * @param varForms ConsoleAdminBatchUpdateDispatchConfigForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call batchUpdateDispatchConfigAsync(ConsoleAdminBatchUpdateDispatchConfigForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = batchUpdateDispatchConfigValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminBatchUpdateDispatchConfigResult.class, callback); + return call; + } + /** + * Build call for createGame + * @param varForms ConsoleAdminCreateGameForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createGameCall(ConsoleAdminCreateGameForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/createGame"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameName", varForms.getGameName()); + localVarFormParams.put("platformType", varForms.getPlatformType()); + if (varForms.getOsType() != null) { + localVarFormParams.put("osType", varForms.getOsType()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call createGameValidateBeforeCall(ConsoleAdminCreateGameForms varForms) throws ApiException { + // verify the required parameter 'gameName' is set + if (varForms.getGameName() == null) { + throw new ApiException("Missing the required parameter 'gameName' when calling createGame(Async)"); + } + // verify the required parameter 'platformType' is set + if (varForms.getPlatformType() == null) { + throw new ApiException("Missing the required parameter 'platformType' when calling createGame(Async)"); + } + + com.squareup.okhttp.Call call = createGameCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminCreateGameForms + * @return ConsoleAdminCreateGameResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminCreateGameResult createGame(ConsoleAdminCreateGameForms varForms) throws ApiException { + ApiResponse resp = createGameWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminCreateGameForms + * @return ApiResponse<ConsoleAdminCreateGameResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createGameWithHttpInfo(ConsoleAdminCreateGameForms varForms) throws ApiException { + com.squareup.okhttp.Call call = createGameValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminCreateGameResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminCreateGameForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createGameAsync(ConsoleAdminCreateGameForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = createGameValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminCreateGameResult.class, callback); + return call; + } + /** + * Build call for createOrder + * @param varForms ConsoleAdminCreateOrderForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createOrderCall(ConsoleAdminCreateOrderForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/createOrder"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("categoryCode", varForms.getCategoryCode()); + localVarFormParams.put("commodityCode", varForms.getCommodityCode()); + if (varForms.getInstanceId() != null) { + localVarFormParams.put("instanceId", varForms.getInstanceId()); + } + localVarFormParams.put("primaryChargeItemCode", varForms.getPrimaryChargeItemCode()); + localVarFormParams.put("attributeRequestList", varForms.getAttributeRequestList()); + localVarFormParams.put("orderType", varForms.getOrderType()); + if (varForms.getAutoRenew() != null) { + localVarFormParams.put("autoRenew", varForms.getAutoRenew()); + } + if (varForms.getCreateOrderExtParams() != null) { + localVarFormParams.put("createOrderExtParams", varForms.getCreateOrderExtParams()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call createOrderValidateBeforeCall(ConsoleAdminCreateOrderForms varForms) throws ApiException { + // verify the required parameter 'categoryCode' is set + if (varForms.getCategoryCode() == null) { + throw new ApiException("Missing the required parameter 'categoryCode' when calling createOrder(Async)"); + } + // verify the required parameter 'commodityCode' is set + if (varForms.getCommodityCode() == null) { + throw new ApiException("Missing the required parameter 'commodityCode' when calling createOrder(Async)"); + } + // verify the required parameter 'primaryChargeItemCode' is set + if (varForms.getPrimaryChargeItemCode() == null) { + throw new ApiException("Missing the required parameter 'primaryChargeItemCode' when calling createOrder(Async)"); + } + // verify the required parameter 'attributeRequestList' is set + if (varForms.getAttributeRequestList() == null) { + throw new ApiException("Missing the required parameter 'attributeRequestList' when calling createOrder(Async)"); + } + // verify the required parameter 'orderType' is set + if (varForms.getOrderType() == null) { + throw new ApiException("Missing the required parameter 'orderType' when calling createOrder(Async)"); + } + + com.squareup.okhttp.Call call = createOrderCall(varForms); + return call; + } + + /** + * + * 订单下单 + * @param varForms ConsoleAdminCreateOrderForms + * @return ConsoleAdminCreateOrderResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminCreateOrderResult createOrder(ConsoleAdminCreateOrderForms varForms) throws ApiException { + ApiResponse resp = createOrderWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 订单下单 + * @param varForms ConsoleAdminCreateOrderForms + * @return ApiResponse<ConsoleAdminCreateOrderResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createOrderWithHttpInfo(ConsoleAdminCreateOrderForms varForms) throws ApiException { + com.squareup.okhttp.Call call = createOrderValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminCreateOrderResult.class); + } + + /** + * (asynchronously) + * 订单下单 + * @param varForms ConsoleAdminCreateOrderForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createOrderAsync(ConsoleAdminCreateOrderForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = createOrderValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminCreateOrderResult.class, callback); + return call; + } + /** + * Build call for createProject + * @param varForms ConsoleAdminCreateProjectForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createProjectCall(ConsoleAdminCreateProjectForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/createProject"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("projectName", varForms.getProjectName()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call createProjectValidateBeforeCall(ConsoleAdminCreateProjectForms varForms) throws ApiException { + // verify the required parameter 'projectName' is set + if (varForms.getProjectName() == null) { + throw new ApiException("Missing the required parameter 'projectName' when calling createProject(Async)"); + } + + com.squareup.okhttp.Call call = createProjectCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminCreateProjectForms + * @return ConsoleAdminCreateProjectResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminCreateProjectResult createProject(ConsoleAdminCreateProjectForms varForms) throws ApiException { + ApiResponse resp = createProjectWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminCreateProjectForms + * @return ApiResponse<ConsoleAdminCreateProjectResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createProjectWithHttpInfo(ConsoleAdminCreateProjectForms varForms) throws ApiException { + com.squareup.okhttp.Call call = createProjectValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminCreateProjectResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminCreateProjectForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createProjectAsync(ConsoleAdminCreateProjectForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = createProjectValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminCreateProjectResult.class, callback); + return call; + } + /** + * Build call for deleteGame + * @param varForms ConsoleAdminDeleteGameForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteGameCall(ConsoleAdminDeleteGameForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/deleteGame"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameId", varForms.getGameId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call deleteGameValidateBeforeCall(ConsoleAdminDeleteGameForms varForms) throws ApiException { + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling deleteGame(Async)"); + } + + com.squareup.okhttp.Call call = deleteGameCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminDeleteGameForms + * @return ConsoleAdminDeleteGameResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminDeleteGameResult deleteGame(ConsoleAdminDeleteGameForms varForms) throws ApiException { + ApiResponse resp = deleteGameWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminDeleteGameForms + * @return ApiResponse<ConsoleAdminDeleteGameResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteGameWithHttpInfo(ConsoleAdminDeleteGameForms varForms) throws ApiException { + com.squareup.okhttp.Call call = deleteGameValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminDeleteGameResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminDeleteGameForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteGameAsync(ConsoleAdminDeleteGameForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = deleteGameValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminDeleteGameResult.class, callback); + return call; + } + /** + * Build call for deleteGameVersion + * @param varForms ConsoleAdminDeleteGameVersionForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteGameVersionCall(ConsoleAdminDeleteGameVersionForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/deleteGameVersion"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("versionId", varForms.getVersionId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call deleteGameVersionValidateBeforeCall(ConsoleAdminDeleteGameVersionForms varForms) throws ApiException { + // verify the required parameter 'versionId' is set + if (varForms.getVersionId() == null) { + throw new ApiException("Missing the required parameter 'versionId' when calling deleteGameVersion(Async)"); + } + + com.squareup.okhttp.Call call = deleteGameVersionCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminDeleteGameVersionForms + * @return ConsoleAdminDeleteGameVersionResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminDeleteGameVersionResult deleteGameVersion(ConsoleAdminDeleteGameVersionForms varForms) throws ApiException { + ApiResponse resp = deleteGameVersionWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminDeleteGameVersionForms + * @return ApiResponse<ConsoleAdminDeleteGameVersionResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteGameVersionWithHttpInfo(ConsoleAdminDeleteGameVersionForms varForms) throws ApiException { + com.squareup.okhttp.Call call = deleteGameVersionValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminDeleteGameVersionResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminDeleteGameVersionForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteGameVersionAsync(ConsoleAdminDeleteGameVersionForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = deleteGameVersionValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminDeleteGameVersionResult.class, callback); + return call; + } + /** + * Build call for deleteProject + * @param varForms ConsoleAdminDeleteProjectForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteProjectCall(ConsoleAdminDeleteProjectForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/deleteProject"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("projectId", varForms.getProjectId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call deleteProjectValidateBeforeCall(ConsoleAdminDeleteProjectForms varForms) throws ApiException { + // verify the required parameter 'projectId' is set + if (varForms.getProjectId() == null) { + throw new ApiException("Missing the required parameter 'projectId' when calling deleteProject(Async)"); + } + + com.squareup.okhttp.Call call = deleteProjectCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminDeleteProjectForms + * @return ConsoleAdminDeleteProjectResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminDeleteProjectResult deleteProject(ConsoleAdminDeleteProjectForms varForms) throws ApiException { + ApiResponse resp = deleteProjectWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminDeleteProjectForms + * @return ApiResponse<ConsoleAdminDeleteProjectResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteProjectWithHttpInfo(ConsoleAdminDeleteProjectForms varForms) throws ApiException { + com.squareup.okhttp.Call call = deleteProjectValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminDeleteProjectResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminDeleteProjectForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteProjectAsync(ConsoleAdminDeleteProjectForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = deleteProjectValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminDeleteProjectResult.class, callback); + return call; + } + /** + * Build call for getBillFlowInfo + * @param varForms ConsoleAdminGetBillFlowInfoForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getBillFlowInfoCall(ConsoleAdminGetBillFlowInfoForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/getBillFlowInfo"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("accountingPeriodFrom", varForms.getAccountingPeriodFrom()); + localVarFormParams.put("accountingPeriodTo", varForms.getAccountingPeriodTo()); + if (varForms.getCommodityCode() != null) { + localVarFormParams.put("commodityCode", varForms.getCommodityCode()); + } + if (varForms.getTenantId() != null) { + localVarFormParams.put("tenantId", varForms.getTenantId()); + } + if (varForms.getOrderId() != null) { + localVarFormParams.put("orderId", varForms.getOrderId()); + } + if (varForms.getStatus() != null) { + localVarFormParams.put("status", varForms.getStatus()); + } + if (varForms.getConsumeType() != null) { + localVarFormParams.put("consumeType", varForms.getConsumeType()); + } + if (varForms.getBillType() != null) { + localVarFormParams.put("billType", varForms.getBillType()); + } + if (varForms.getPageNumber() != null) { + localVarFormParams.put("pageNumber", varForms.getPageNumber()); + } + if (varForms.getPageSize() != null) { + localVarFormParams.put("pageSize", varForms.getPageSize()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call getBillFlowInfoValidateBeforeCall(ConsoleAdminGetBillFlowInfoForms varForms) throws ApiException { + // verify the required parameter 'accountingPeriodFrom' is set + if (varForms.getAccountingPeriodFrom() == null) { + throw new ApiException("Missing the required parameter 'accountingPeriodFrom' when calling getBillFlowInfo(Async)"); + } + // verify the required parameter 'accountingPeriodTo' is set + if (varForms.getAccountingPeriodTo() == null) { + throw new ApiException("Missing the required parameter 'accountingPeriodTo' when calling getBillFlowInfo(Async)"); + } + + com.squareup.okhttp.Call call = getBillFlowInfoCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminGetBillFlowInfoForms + * @return ConsoleAdminGetBillFlowInfoResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminGetBillFlowInfoResult getBillFlowInfo(ConsoleAdminGetBillFlowInfoForms varForms) throws ApiException { + ApiResponse resp = getBillFlowInfoWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminGetBillFlowInfoForms + * @return ApiResponse<ConsoleAdminGetBillFlowInfoResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getBillFlowInfoWithHttpInfo(ConsoleAdminGetBillFlowInfoForms varForms) throws ApiException { + com.squareup.okhttp.Call call = getBillFlowInfoValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminGetBillFlowInfoResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminGetBillFlowInfoForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getBillFlowInfoAsync(ConsoleAdminGetBillFlowInfoForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = getBillFlowInfoValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminGetBillFlowInfoResult.class, callback); + return call; + } + /** + * Build call for getGameVersion + * @param varForms ConsoleAdminGetGameVersionForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getGameVersionCall(ConsoleAdminGetGameVersionForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/getGameVersion"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("versionId", varForms.getVersionId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call getGameVersionValidateBeforeCall(ConsoleAdminGetGameVersionForms varForms) throws ApiException { + // verify the required parameter 'versionId' is set + if (varForms.getVersionId() == null) { + throw new ApiException("Missing the required parameter 'versionId' when calling getGameVersion(Async)"); + } + + com.squareup.okhttp.Call call = getGameVersionCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminGetGameVersionForms + * @return ConsoleAdminGetGameVersionResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminGetGameVersionResult getGameVersion(ConsoleAdminGetGameVersionForms varForms) throws ApiException { + ApiResponse resp = getGameVersionWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminGetGameVersionForms + * @return ApiResponse<ConsoleAdminGetGameVersionResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getGameVersionWithHttpInfo(ConsoleAdminGetGameVersionForms varForms) throws ApiException { + com.squareup.okhttp.Call call = getGameVersionValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminGetGameVersionResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminGetGameVersionForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getGameVersionAsync(ConsoleAdminGetGameVersionForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = getGameVersionValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminGetGameVersionResult.class, callback); + return call; + } + /** + * Build call for getGameVersionProgress + * @param varForms ConsoleAdminGetGameVersionProgressForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getGameVersionProgressCall(ConsoleAdminGetGameVersionProgressForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/getGameVersionProgress"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("taskId", varForms.getTaskId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call getGameVersionProgressValidateBeforeCall(ConsoleAdminGetGameVersionProgressForms varForms) throws ApiException { + // verify the required parameter 'taskId' is set + if (varForms.getTaskId() == null) { + throw new ApiException("Missing the required parameter 'taskId' when calling getGameVersionProgress(Async)"); + } + + com.squareup.okhttp.Call call = getGameVersionProgressCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminGetGameVersionProgressForms + * @return ConsoleAdminGetGameVersionProgressResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminGetGameVersionProgressResult getGameVersionProgress(ConsoleAdminGetGameVersionProgressForms varForms) throws ApiException { + ApiResponse resp = getGameVersionProgressWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminGetGameVersionProgressForms + * @return ApiResponse<ConsoleAdminGetGameVersionProgressResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getGameVersionProgressWithHttpInfo(ConsoleAdminGetGameVersionProgressForms varForms) throws ApiException { + com.squareup.okhttp.Call call = getGameVersionProgressValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminGetGameVersionProgressResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminGetGameVersionProgressForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getGameVersionProgressAsync(ConsoleAdminGetGameVersionProgressForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = getGameVersionProgressValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminGetGameVersionProgressResult.class, callback); + return call; + } + /** + * Build call for getOrder + * @param varForms ConsoleAdminGetOrderForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getOrderCall(ConsoleAdminGetOrderForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/getOrder"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("orderId", varForms.getOrderId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call getOrderValidateBeforeCall(ConsoleAdminGetOrderForms varForms) throws ApiException { + // verify the required parameter 'orderId' is set + if (varForms.getOrderId() == null) { + throw new ApiException("Missing the required parameter 'orderId' when calling getOrder(Async)"); + } + + com.squareup.okhttp.Call call = getOrderCall(varForms); + return call; + } + + /** + * + * 查询订单 + * @param varForms ConsoleAdminGetOrderForms + * @return ConsoleAdminGetOrderResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminGetOrderResult getOrder(ConsoleAdminGetOrderForms varForms) throws ApiException { + ApiResponse resp = getOrderWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 查询订单 + * @param varForms ConsoleAdminGetOrderForms + * @return ApiResponse<ConsoleAdminGetOrderResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getOrderWithHttpInfo(ConsoleAdminGetOrderForms varForms) throws ApiException { + com.squareup.okhttp.Call call = getOrderValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminGetOrderResult.class); + } + + /** + * (asynchronously) + * 查询订单 + * @param varForms ConsoleAdminGetOrderForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getOrderAsync(ConsoleAdminGetOrderForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = getOrderValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminGetOrderResult.class, callback); + return call; + } + /** + * Build call for listActivateableInstances + * @param varForms ConsoleAdminListActivateableInstancesForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listActivateableInstancesCall(ConsoleAdminListActivateableInstancesForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/listActivateableInstances"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("projectId", varForms.getProjectId()); + localVarFormParams.put("versionId", varForms.getVersionId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call listActivateableInstancesValidateBeforeCall(ConsoleAdminListActivateableInstancesForms varForms) throws ApiException { + // verify the required parameter 'projectId' is set + if (varForms.getProjectId() == null) { + throw new ApiException("Missing the required parameter 'projectId' when calling listActivateableInstances(Async)"); + } + // verify the required parameter 'versionId' is set + if (varForms.getVersionId() == null) { + throw new ApiException("Missing the required parameter 'versionId' when calling listActivateableInstances(Async)"); + } + + com.squareup.okhttp.Call call = listActivateableInstancesCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminListActivateableInstancesForms + * @return ConsoleAdminListActivateableInstancesResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminListActivateableInstancesResult listActivateableInstances(ConsoleAdminListActivateableInstancesForms varForms) throws ApiException { + ApiResponse resp = listActivateableInstancesWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminListActivateableInstancesForms + * @return ApiResponse<ConsoleAdminListActivateableInstancesResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listActivateableInstancesWithHttpInfo(ConsoleAdminListActivateableInstancesForms varForms) throws ApiException { + com.squareup.okhttp.Call call = listActivateableInstancesValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminListActivateableInstancesResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminListActivateableInstancesForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listActivateableInstancesAsync(ConsoleAdminListActivateableInstancesForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = listActivateableInstancesValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminListActivateableInstancesResult.class, callback); + return call; + } + /** + * Build call for listActivatedInstances + * @param varForms ConsoleAdminListActivatedInstancesForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listActivatedInstancesCall(ConsoleAdminListActivatedInstancesForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/listActivatedInstances"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("projectId", varForms.getProjectId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call listActivatedInstancesValidateBeforeCall(ConsoleAdminListActivatedInstancesForms varForms) throws ApiException { + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling listActivatedInstances(Async)"); + } + // verify the required parameter 'projectId' is set + if (varForms.getProjectId() == null) { + throw new ApiException("Missing the required parameter 'projectId' when calling listActivatedInstances(Async)"); + } + + com.squareup.okhttp.Call call = listActivatedInstancesCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminListActivatedInstancesForms + * @return ConsoleAdminListActivatedInstancesResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminListActivatedInstancesResult listActivatedInstances(ConsoleAdminListActivatedInstancesForms varForms) throws ApiException { + ApiResponse resp = listActivatedInstancesWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminListActivatedInstancesForms + * @return ApiResponse<ConsoleAdminListActivatedInstancesResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listActivatedInstancesWithHttpInfo(ConsoleAdminListActivatedInstancesForms varForms) throws ApiException { + com.squareup.okhttp.Call call = listActivatedInstancesValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminListActivatedInstancesResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminListActivatedInstancesForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listActivatedInstancesAsync(ConsoleAdminListActivatedInstancesForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = listActivatedInstancesValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminListActivatedInstancesResult.class, callback); + return call; + } + /** + * Build call for listControllersOfGame + * @param varForms ConsoleAdminListControllersOfGameForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listControllersOfGameCall(ConsoleAdminListControllersOfGameForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/listControllersOfGame"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameId", varForms.getGameId()); + if (varForms.getNextToken() != null) { + localVarFormParams.put("nextToken", varForms.getNextToken()); + } + if (varForms.getMaxResults() != null) { + localVarFormParams.put("maxResults", varForms.getMaxResults()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call listControllersOfGameValidateBeforeCall(ConsoleAdminListControllersOfGameForms varForms) throws ApiException { + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling listControllersOfGame(Async)"); + } + + com.squareup.okhttp.Call call = listControllersOfGameCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminListControllersOfGameForms + * @return ConsoleAdminListControllersOfGameResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminListControllersOfGameResult listControllersOfGame(ConsoleAdminListControllersOfGameForms varForms) throws ApiException { + ApiResponse resp = listControllersOfGameWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminListControllersOfGameForms + * @return ApiResponse<ConsoleAdminListControllersOfGameResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listControllersOfGameWithHttpInfo(ConsoleAdminListControllersOfGameForms varForms) throws ApiException { + com.squareup.okhttp.Call call = listControllersOfGameValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminListControllersOfGameResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminListControllersOfGameForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listControllersOfGameAsync(ConsoleAdminListControllersOfGameForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = listControllersOfGameValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminListControllersOfGameResult.class, callback); + return call; + } + /** + * Build call for listDeployableInstances + * @param varForms ConsoleAdminListDeployableInstancesForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listDeployableInstancesCall(ConsoleAdminListDeployableInstancesForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/listDeployableInstances"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("versionId", varForms.getVersionId()); + localVarFormParams.put("projectId", varForms.getProjectId()); + if (varForms.getPageSize() != null) { + localVarFormParams.put("pageSize", varForms.getPageSize()); + } + if (varForms.getPageNumber() != null) { + localVarFormParams.put("pageNumber", varForms.getPageNumber()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call listDeployableInstancesValidateBeforeCall(ConsoleAdminListDeployableInstancesForms varForms) throws ApiException { + // verify the required parameter 'versionId' is set + if (varForms.getVersionId() == null) { + throw new ApiException("Missing the required parameter 'versionId' when calling listDeployableInstances(Async)"); + } + // verify the required parameter 'projectId' is set + if (varForms.getProjectId() == null) { + throw new ApiException("Missing the required parameter 'projectId' when calling listDeployableInstances(Async)"); + } + + com.squareup.okhttp.Call call = listDeployableInstancesCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminListDeployableInstancesForms + * @return ConsoleAdminListDeployableInstancesResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminListDeployableInstancesResult listDeployableInstances(ConsoleAdminListDeployableInstancesForms varForms) throws ApiException { + ApiResponse resp = listDeployableInstancesWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminListDeployableInstancesForms + * @return ApiResponse<ConsoleAdminListDeployableInstancesResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listDeployableInstancesWithHttpInfo(ConsoleAdminListDeployableInstancesForms varForms) throws ApiException { + com.squareup.okhttp.Call call = listDeployableInstancesValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminListDeployableInstancesResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminListDeployableInstancesForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listDeployableInstancesAsync(ConsoleAdminListDeployableInstancesForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = listDeployableInstancesValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminListDeployableInstancesResult.class, callback); + return call; + } + /** + * Build call for listGameDeployDetailsOfProject + * @param varForms ConsoleAdminListGameDeployDetailsOfProjectForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listGameDeployDetailsOfProjectCall(ConsoleAdminListGameDeployDetailsOfProjectForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/listGameDeployDetailsOfProject"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + if (varForms.getProjectId() != null) { + localVarFormParams.put("projectId", varForms.getProjectId()); + } + if (varForms.getGameId() != null) { + localVarFormParams.put("gameId", varForms.getGameId()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call listGameDeployDetailsOfProjectValidateBeforeCall(ConsoleAdminListGameDeployDetailsOfProjectForms varForms) throws ApiException { + + com.squareup.okhttp.Call call = listGameDeployDetailsOfProjectCall(varForms); + return call; + } + + /** + * + * 获取项目下游戏部署版本信息。 + * @param varForms ConsoleAdminListGameDeployDetailsOfProjectForms + * @return ConsoleAdminListGameDeployDetailsOfProjectResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminListGameDeployDetailsOfProjectResult listGameDeployDetailsOfProject(ConsoleAdminListGameDeployDetailsOfProjectForms varForms) throws ApiException { + ApiResponse resp = listGameDeployDetailsOfProjectWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 获取项目下游戏部署版本信息。 + * @param varForms ConsoleAdminListGameDeployDetailsOfProjectForms + * @return ApiResponse<ConsoleAdminListGameDeployDetailsOfProjectResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listGameDeployDetailsOfProjectWithHttpInfo(ConsoleAdminListGameDeployDetailsOfProjectForms varForms) throws ApiException { + com.squareup.okhttp.Call call = listGameDeployDetailsOfProjectValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminListGameDeployDetailsOfProjectResult.class); + } + + /** + * (asynchronously) + * 获取项目下游戏部署版本信息。 + * @param varForms ConsoleAdminListGameDeployDetailsOfProjectForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listGameDeployDetailsOfProjectAsync(ConsoleAdminListGameDeployDetailsOfProjectForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = listGameDeployDetailsOfProjectValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminListGameDeployDetailsOfProjectResult.class, callback); + return call; + } + /** + * Build call for listGameVersions + * @param varForms ConsoleAdminListGameVersionsForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listGameVersionsCall(ConsoleAdminListGameVersionsForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/listGameVersions"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + if (varForms.getNextToken() != null) { + localVarFormParams.put("nextToken", varForms.getNextToken()); + } + if (varForms.getMaxResults() != null) { + localVarFormParams.put("maxResults", varForms.getMaxResults()); + } + localVarFormParams.put("gameId", varForms.getGameId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call listGameVersionsValidateBeforeCall(ConsoleAdminListGameVersionsForms varForms) throws ApiException { + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling listGameVersions(Async)"); + } + + com.squareup.okhttp.Call call = listGameVersionsCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminListGameVersionsForms + * @return ConsoleAdminListGameVersionsResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminListGameVersionsResult listGameVersions(ConsoleAdminListGameVersionsForms varForms) throws ApiException { + ApiResponse resp = listGameVersionsWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminListGameVersionsForms + * @return ApiResponse<ConsoleAdminListGameVersionsResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listGameVersionsWithHttpInfo(ConsoleAdminListGameVersionsForms varForms) throws ApiException { + com.squareup.okhttp.Call call = listGameVersionsValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminListGameVersionsResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminListGameVersionsForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listGameVersionsAsync(ConsoleAdminListGameVersionsForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = listGameVersionsValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminListGameVersionsResult.class, callback); + return call; + } + /** + * Build call for listGames + * @param varForms ConsoleAdminListGamesForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listGamesCall(ConsoleAdminListGamesForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/listGames"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + if (varForms.getNextToken() != null) { + localVarFormParams.put("nextToken", varForms.getNextToken()); + } + if (varForms.getMaxResults() != null) { + localVarFormParams.put("maxResults", varForms.getMaxResults()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call listGamesValidateBeforeCall(ConsoleAdminListGamesForms varForms) throws ApiException { + + com.squareup.okhttp.Call call = listGamesCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminListGamesForms + * @return ConsoleAdminListGamesResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminListGamesResult listGames(ConsoleAdminListGamesForms varForms) throws ApiException { + ApiResponse resp = listGamesWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminListGamesForms + * @return ApiResponse<ConsoleAdminListGamesResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listGamesWithHttpInfo(ConsoleAdminListGamesForms varForms) throws ApiException { + com.squareup.okhttp.Call call = listGamesValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminListGamesResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminListGamesForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listGamesAsync(ConsoleAdminListGamesForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = listGamesValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminListGamesResult.class, callback); + return call; + } + /** + * Build call for listInstancesOfProject + * @param varForms ConsoleAdminListInstancesOfProjectForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listInstancesOfProjectCall(ConsoleAdminListInstancesOfProjectForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/listInstancesOfProject"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + if (varForms.getNextToken() != null) { + localVarFormParams.put("nextToken", varForms.getNextToken()); + } + if (varForms.getMaxResult() != null) { + localVarFormParams.put("maxResult", varForms.getMaxResult()); + } + localVarFormParams.put("projectId", varForms.getProjectId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call listInstancesOfProjectValidateBeforeCall(ConsoleAdminListInstancesOfProjectForms varForms) throws ApiException { + // verify the required parameter 'projectId' is set + if (varForms.getProjectId() == null) { + throw new ApiException("Missing the required parameter 'projectId' when calling listInstancesOfProject(Async)"); + } + + com.squareup.okhttp.Call call = listInstancesOfProjectCall(varForms); + return call; + } + + /** + * + * 分页获取项目中的实例 + * @param varForms ConsoleAdminListInstancesOfProjectForms + * @return ConsoleAdminListInstancesOfProjectResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminListInstancesOfProjectResult listInstancesOfProject(ConsoleAdminListInstancesOfProjectForms varForms) throws ApiException { + ApiResponse resp = listInstancesOfProjectWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 分页获取项目中的实例 + * @param varForms ConsoleAdminListInstancesOfProjectForms + * @return ApiResponse<ConsoleAdminListInstancesOfProjectResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listInstancesOfProjectWithHttpInfo(ConsoleAdminListInstancesOfProjectForms varForms) throws ApiException { + com.squareup.okhttp.Call call = listInstancesOfProjectValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminListInstancesOfProjectResult.class); + } + + /** + * (asynchronously) + * 分页获取项目中的实例 + * @param varForms ConsoleAdminListInstancesOfProjectForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listInstancesOfProjectAsync(ConsoleAdminListInstancesOfProjectForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = listInstancesOfProjectValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminListInstancesOfProjectResult.class, callback); + return call; + } + /** + * Build call for listMonthBill + * @param varForms ConsoleAdminListMonthBillForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listMonthBillCall(ConsoleAdminListMonthBillForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/listMonthBill"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("accountingPeriodFrom", varForms.getAccountingPeriodFrom()); + localVarFormParams.put("accountingPeriodTo", varForms.getAccountingPeriodTo()); + if (varForms.getPageNumber() != null) { + localVarFormParams.put("pageNumber", varForms.getPageNumber()); + } + if (varForms.getPageSize() != null) { + localVarFormParams.put("pageSize", varForms.getPageSize()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call listMonthBillValidateBeforeCall(ConsoleAdminListMonthBillForms varForms) throws ApiException { + // verify the required parameter 'accountingPeriodFrom' is set + if (varForms.getAccountingPeriodFrom() == null) { + throw new ApiException("Missing the required parameter 'accountingPeriodFrom' when calling listMonthBill(Async)"); + } + // verify the required parameter 'accountingPeriodTo' is set + if (varForms.getAccountingPeriodTo() == null) { + throw new ApiException("Missing the required parameter 'accountingPeriodTo' when calling listMonthBill(Async)"); + } + + com.squareup.okhttp.Call call = listMonthBillCall(varForms); + return call; + } + + /** + * + * 月度账单列表 + * @param varForms ConsoleAdminListMonthBillForms + * @return ConsoleAdminListMonthBillResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminListMonthBillResult listMonthBill(ConsoleAdminListMonthBillForms varForms) throws ApiException { + ApiResponse resp = listMonthBillWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 月度账单列表 + * @param varForms ConsoleAdminListMonthBillForms + * @return ApiResponse<ConsoleAdminListMonthBillResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listMonthBillWithHttpInfo(ConsoleAdminListMonthBillForms varForms) throws ApiException { + com.squareup.okhttp.Call call = listMonthBillValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminListMonthBillResult.class); + } + + /** + * (asynchronously) + * 月度账单列表 + * @param varForms ConsoleAdminListMonthBillForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listMonthBillAsync(ConsoleAdminListMonthBillForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = listMonthBillValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminListMonthBillResult.class, callback); + return call; + } + /** + * Build call for listProjects + * @param varForms ConsoleAdminListProjectsForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listProjectsCall(ConsoleAdminListProjectsForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/listProjects"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + if (varForms.getNextToken() != null) { + localVarFormParams.put("nextToken", varForms.getNextToken()); + } + if (varForms.getMaxResults() != null) { + localVarFormParams.put("maxResults", varForms.getMaxResults()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call listProjectsValidateBeforeCall(ConsoleAdminListProjectsForms varForms) throws ApiException { + + com.squareup.okhttp.Call call = listProjectsCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminListProjectsForms + * @return ConsoleAdminListProjectsResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminListProjectsResult listProjects(ConsoleAdminListProjectsForms varForms) throws ApiException { + ApiResponse resp = listProjectsWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminListProjectsForms + * @return ApiResponse<ConsoleAdminListProjectsResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listProjectsWithHttpInfo(ConsoleAdminListProjectsForms varForms) throws ApiException { + com.squareup.okhttp.Call call = listProjectsValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminListProjectsResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminListProjectsForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listProjectsAsync(ConsoleAdminListProjectsForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = listProjectsValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminListProjectsResult.class, callback); + return call; + } + /** + * Build call for listVersionDeployInstances + * @param varForms ConsoleAdminListVersionDeployInstancesForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listVersionDeployInstancesCall(ConsoleAdminListVersionDeployInstancesForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/listVersionDeployInstances"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + if (varForms.getProjectId() != null) { + localVarFormParams.put("projectId", varForms.getProjectId()); + } + if (varForms.getGameId() != null) { + localVarFormParams.put("gameId", varForms.getGameId()); + } + if (varForms.getVersionId() != null) { + localVarFormParams.put("versionId", varForms.getVersionId()); + } + if (varForms.getDeployStatus() != null) { + localVarFormParams.put("deployStatus", varForms.getDeployStatus()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call listVersionDeployInstancesValidateBeforeCall(ConsoleAdminListVersionDeployInstancesForms varForms) throws ApiException { + + com.squareup.okhttp.Call call = listVersionDeployInstancesCall(varForms); + return call; + } + + /** + * + * 获取项目下游戏版本的部署实例信息。 + * @param varForms ConsoleAdminListVersionDeployInstancesForms + * @return ConsoleAdminListVersionDeployInstancesResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminListVersionDeployInstancesResult listVersionDeployInstances(ConsoleAdminListVersionDeployInstancesForms varForms) throws ApiException { + ApiResponse resp = listVersionDeployInstancesWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 获取项目下游戏版本的部署实例信息。 + * @param varForms ConsoleAdminListVersionDeployInstancesForms + * @return ApiResponse<ConsoleAdminListVersionDeployInstancesResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listVersionDeployInstancesWithHttpInfo(ConsoleAdminListVersionDeployInstancesForms varForms) throws ApiException { + com.squareup.okhttp.Call call = listVersionDeployInstancesValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminListVersionDeployInstancesResult.class); + } + + /** + * (asynchronously) + * 获取项目下游戏版本的部署实例信息。 + * @param varForms ConsoleAdminListVersionDeployInstancesForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listVersionDeployInstancesAsync(ConsoleAdminListVersionDeployInstancesForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = listVersionDeployInstancesValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminListVersionDeployInstancesResult.class, callback); + return call; + } + /** + * Build call for queryAdaptResultByVersionId + * @param varForms ConsoleAdminQueryAdaptResultByVersionIdForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call queryAdaptResultByVersionIdCall(ConsoleAdminQueryAdaptResultByVersionIdForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/queryAdaptResultByVersionId"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("mixVersionId", varForms.getMixVersionId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call queryAdaptResultByVersionIdValidateBeforeCall(ConsoleAdminQueryAdaptResultByVersionIdForms varForms) throws ApiException { + // verify the required parameter 'mixVersionId' is set + if (varForms.getMixVersionId() == null) { + throw new ApiException("Missing the required parameter 'mixVersionId' when calling queryAdaptResultByVersionId(Async)"); + } + + com.squareup.okhttp.Call call = queryAdaptResultByVersionIdCall(varForms); + return call; + } + + /** + * + * 查询适配结果 + * @param varForms ConsoleAdminQueryAdaptResultByVersionIdForms + * @return ConsoleAdminQueryAdaptResultByVersionIdResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminQueryAdaptResultByVersionIdResult queryAdaptResultByVersionId(ConsoleAdminQueryAdaptResultByVersionIdForms varForms) throws ApiException { + ApiResponse resp = queryAdaptResultByVersionIdWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 查询适配结果 + * @param varForms ConsoleAdminQueryAdaptResultByVersionIdForms + * @return ApiResponse<ConsoleAdminQueryAdaptResultByVersionIdResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse queryAdaptResultByVersionIdWithHttpInfo(ConsoleAdminQueryAdaptResultByVersionIdForms varForms) throws ApiException { + com.squareup.okhttp.Call call = queryAdaptResultByVersionIdValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminQueryAdaptResultByVersionIdResult.class); + } + + /** + * (asynchronously) + * 查询适配结果 + * @param varForms ConsoleAdminQueryAdaptResultByVersionIdForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call queryAdaptResultByVersionIdAsync(ConsoleAdminQueryAdaptResultByVersionIdForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = queryAdaptResultByVersionIdValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminQueryAdaptResultByVersionIdResult.class, callback); + return call; + } + /** + * Build call for recommendSpecification + * @param varForms ConsoleAdminRecommendSpecificationForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call recommendSpecificationCall(ConsoleAdminRecommendSpecificationForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/recommendSpecification"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("gameVersionId", varForms.getGameVersionId()); + localVarFormParams.put("platformType", varForms.getPlatformType()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call recommendSpecificationValidateBeforeCall(ConsoleAdminRecommendSpecificationForms varForms) throws ApiException { + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling recommendSpecification(Async)"); + } + // verify the required parameter 'gameVersionId' is set + if (varForms.getGameVersionId() == null) { + throw new ApiException("Missing the required parameter 'gameVersionId' when calling recommendSpecification(Async)"); + } + // verify the required parameter 'platformType' is set + if (varForms.getPlatformType() == null) { + throw new ApiException("Missing the required parameter 'platformType' when calling recommendSpecification(Async)"); + } + + com.squareup.okhttp.Call call = recommendSpecificationCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminRecommendSpecificationForms + * @return ConsoleAdminRecommendSpecificationResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminRecommendSpecificationResult recommendSpecification(ConsoleAdminRecommendSpecificationForms varForms) throws ApiException { + ApiResponse resp = recommendSpecificationWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminRecommendSpecificationForms + * @return ApiResponse<ConsoleAdminRecommendSpecificationResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse recommendSpecificationWithHttpInfo(ConsoleAdminRecommendSpecificationForms varForms) throws ApiException { + com.squareup.okhttp.Call call = recommendSpecificationValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminRecommendSpecificationResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminRecommendSpecificationForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call recommendSpecificationAsync(ConsoleAdminRecommendSpecificationForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = recommendSpecificationValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminRecommendSpecificationResult.class, callback); + return call; + } + /** + * Build call for removeGameFromProject + * @param varForms ConsoleAdminRemoveGameFromProjectForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call removeGameFromProjectCall(ConsoleAdminRemoveGameFromProjectForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/removeGameFromProject"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("projectId", varForms.getProjectId()); + localVarFormParams.put("gameId", varForms.getGameId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call removeGameFromProjectValidateBeforeCall(ConsoleAdminRemoveGameFromProjectForms varForms) throws ApiException { + // verify the required parameter 'projectId' is set + if (varForms.getProjectId() == null) { + throw new ApiException("Missing the required parameter 'projectId' when calling removeGameFromProject(Async)"); + } + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling removeGameFromProject(Async)"); + } + + com.squareup.okhttp.Call call = removeGameFromProjectCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminRemoveGameFromProjectForms + * @return ConsoleAdminRemoveGameFromProjectResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminRemoveGameFromProjectResult removeGameFromProject(ConsoleAdminRemoveGameFromProjectForms varForms) throws ApiException { + ApiResponse resp = removeGameFromProjectWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminRemoveGameFromProjectForms + * @return ApiResponse<ConsoleAdminRemoveGameFromProjectResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse removeGameFromProjectWithHttpInfo(ConsoleAdminRemoveGameFromProjectForms varForms) throws ApiException { + com.squareup.okhttp.Call call = removeGameFromProjectValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminRemoveGameFromProjectResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminRemoveGameFromProjectForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call removeGameFromProjectAsync(ConsoleAdminRemoveGameFromProjectForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = removeGameFromProjectValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminRemoveGameFromProjectResult.class, callback); + return call; + } + /** + * Build call for submitDeployment + * @param varForms ConsoleAdminSubmitDeploymentForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call submitDeploymentCall(ConsoleAdminSubmitDeploymentForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/submitDeployment"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("projectId", varForms.getProjectId()); + localVarFormParams.put("versionId", varForms.getVersionId()); + localVarFormParams.put("cloudGameInstanceIds", varForms.getCloudGameInstanceIds()); + localVarFormParams.put("operationType", varForms.getOperationType()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call submitDeploymentValidateBeforeCall(ConsoleAdminSubmitDeploymentForms varForms) throws ApiException { + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling submitDeployment(Async)"); + } + // verify the required parameter 'projectId' is set + if (varForms.getProjectId() == null) { + throw new ApiException("Missing the required parameter 'projectId' when calling submitDeployment(Async)"); + } + // verify the required parameter 'versionId' is set + if (varForms.getVersionId() == null) { + throw new ApiException("Missing the required parameter 'versionId' when calling submitDeployment(Async)"); + } + // verify the required parameter 'cloudGameInstanceIds' is set + if (varForms.getCloudGameInstanceIds() == null) { + throw new ApiException("Missing the required parameter 'cloudGameInstanceIds' when calling submitDeployment(Async)"); + } + // verify the required parameter 'operationType' is set + if (varForms.getOperationType() == null) { + throw new ApiException("Missing the required parameter 'operationType' when calling submitDeployment(Async)"); + } + + com.squareup.okhttp.Call call = submitDeploymentCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminSubmitDeploymentForms + * @return ConsoleAdminSubmitDeploymentResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminSubmitDeploymentResult submitDeployment(ConsoleAdminSubmitDeploymentForms varForms) throws ApiException { + ApiResponse resp = submitDeploymentWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminSubmitDeploymentForms + * @return ApiResponse<ConsoleAdminSubmitDeploymentResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse submitDeploymentWithHttpInfo(ConsoleAdminSubmitDeploymentForms varForms) throws ApiException { + com.squareup.okhttp.Call call = submitDeploymentValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminSubmitDeploymentResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminSubmitDeploymentForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call submitDeploymentAsync(ConsoleAdminSubmitDeploymentForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = submitDeploymentValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminSubmitDeploymentResult.class, callback); + return call; + } + /** + * Build call for uploadGameVersionByDownload + * @param varForms ConsoleAdminUploadGameVersionByDownloadForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call uploadGameVersionByDownloadCall(ConsoleAdminUploadGameVersionByDownloadForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/consoleAdmin/uploadGameVersionByDownload"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("hash", varForms.getHash()); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("downloadType", varForms.getDownloadType()); + localVarFormParams.put("versionName", varForms.getVersionName()); + if (varForms.getOsManifest() != null) { + localVarFormParams.put("osManifest", varForms.getOsManifest()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call uploadGameVersionByDownloadValidateBeforeCall(ConsoleAdminUploadGameVersionByDownloadForms varForms) throws ApiException { + // verify the required parameter 'hash' is set + if (varForms.getHash() == null) { + throw new ApiException("Missing the required parameter 'hash' when calling uploadGameVersionByDownload(Async)"); + } + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling uploadGameVersionByDownload(Async)"); + } + // verify the required parameter 'downloadType' is set + if (varForms.getDownloadType() == null) { + throw new ApiException("Missing the required parameter 'downloadType' when calling uploadGameVersionByDownload(Async)"); + } + // verify the required parameter 'versionName' is set + if (varForms.getVersionName() == null) { + throw new ApiException("Missing the required parameter 'versionName' when calling uploadGameVersionByDownload(Async)"); + } + + com.squareup.okhttp.Call call = uploadGameVersionByDownloadCall(varForms); + return call; + } + + /** + * + * + * @param varForms ConsoleAdminUploadGameVersionByDownloadForms + * @return ConsoleAdminUploadGameVersionByDownloadResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ConsoleAdminUploadGameVersionByDownloadResult uploadGameVersionByDownload(ConsoleAdminUploadGameVersionByDownloadForms varForms) throws ApiException { + ApiResponse resp = uploadGameVersionByDownloadWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ConsoleAdminUploadGameVersionByDownloadForms + * @return ApiResponse<ConsoleAdminUploadGameVersionByDownloadResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse uploadGameVersionByDownloadWithHttpInfo(ConsoleAdminUploadGameVersionByDownloadForms varForms) throws ApiException { + com.squareup.okhttp.Call call = uploadGameVersionByDownloadValidateBeforeCall(varForms); + return apiClient.execute(call, ConsoleAdminUploadGameVersionByDownloadResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ConsoleAdminUploadGameVersionByDownloadForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call uploadGameVersionByDownloadAsync(ConsoleAdminUploadGameVersionByDownloadForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = uploadGameVersionByDownloadValidateBeforeCall(varForms); + apiClient.executeAsync(call, ConsoleAdminUploadGameVersionByDownloadResult.class, callback); + return call; + } +} From e80b2baf669bfbbfdec609a77d1d6b2d045419a8 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:57 +0800 Subject: [PATCH 223/235] feat: update --- .../yjopenapi/client/api/DispatchApi.java | 1691 +++++++++++++++++ 1 file changed, 1691 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/api/DispatchApi.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/api/DispatchApi.java b/src/main/java/com/alibaba/yjopenapi/client/api/DispatchApi.java new file mode 100644 index 000000000..0e5b15b3d --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/api/DispatchApi.java @@ -0,0 +1,1691 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.api; + +import java.io.IOException; + +import com.alibaba.yjopenapi.client.model.BatchStopGameResult; +import com.alibaba.yjopenapi.client.model.CancelGameHangResult; +import com.alibaba.yjopenapi.client.model.ClientNotifyResult; +import com.alibaba.yjopenapi.client.model.GameNotifyResult; +import com.alibaba.yjopenapi.client.model.GetGameConcurrencyResult; +import com.alibaba.yjopenapi.client.model.GetStockResult; +import com.alibaba.yjopenapi.client.model.GetStopGameTokenResult; +import com.alibaba.yjopenapi.client.model.ListGameServerIpResult; +import com.alibaba.yjopenapi.client.model.QueryGameHangResult; +import com.alibaba.yjopenapi.client.model.QuerySessionStatusResult; +import com.alibaba.yjopenapi.client.model.SetGameAliveResult; +import com.alibaba.yjopenapi.client.model.SetGameHangResult; +import com.alibaba.yjopenapi.client.model.StopGameResult; +import com.alibaba.yjopenapi.client.model.StopPreopenContainerResult; +import com.alibaba.yjopenapi.client.model.TryToGetSlotFormsStartParam; +import com.alibaba.yjopenapi.client.model.TryToGetSlotResult; +import com.alibaba.yjopenapi.client.model.TryToGetSlotsFormsRequests; +import com.alibaba.yjopenapi.client.model.TryToGetSlotsResult; +import com.alibaba.yjopenapi.client.model.UpdatePreopenStrategyResult; + +import com.alibaba.yjopenapi.client.model.*; + +import java.util.Arrays; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class DispatchApi { + private ApiClient apiClient; + private Configuration configuration; + + public DispatchApi() { + this(new ApiClient(), Configuration.getDefaultConfiguration()); + } + + public DispatchApi(ApiClient apiClient, Configuration configuration) { + this.apiClient = apiClient; + this.configuration = configuration; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public Configuration getConfiguration() { + return configuration; + } + + public void setConfiguration(Configuration configuration) { + this.configuration = configuration; + } + + /** + * Build call for batchStopGame + * @param varForms BatchStopGameForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call batchStopGameCall(BatchStopGameForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/batchStopGame"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("appKey", varForms.getAppKey()); + localVarFormParams.put("token", varForms.getToken()); + if (varForms.getReason() != null) { + localVarFormParams.put("reason", varForms.getReason()); + } + if (varForms.getTrackInfo() != null) { + localVarFormParams.put("trackInfo", varForms.getTrackInfo()); + } + if (varForms.getTags() != null) { + localVarFormParams.put("tags", varForms.getTags()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call batchStopGameValidateBeforeCall(BatchStopGameForms varForms) throws ApiException { + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling batchStopGame(Async)"); + } + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling batchStopGame(Async)"); + } + // verify the required parameter 'token' is set + if (varForms.getToken() == null) { + throw new ApiException("Missing the required parameter 'token' when calling batchStopGame(Async)"); + } + + com.squareup.okhttp.Call call = batchStopGameCall(varForms); + return call; + } + + /** + * + * + * @param varForms BatchStopGameForms + * @return BatchStopGameResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public BatchStopGameResult batchStopGame(BatchStopGameForms varForms) throws ApiException { + ApiResponse resp = batchStopGameWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms BatchStopGameForms + * @return ApiResponse<BatchStopGameResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse batchStopGameWithHttpInfo(BatchStopGameForms varForms) throws ApiException { + com.squareup.okhttp.Call call = batchStopGameValidateBeforeCall(varForms); + return apiClient.execute(call, BatchStopGameResult.class); + } + + /** + * (asynchronously) + * + * @param varForms BatchStopGameForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call batchStopGameAsync(BatchStopGameForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = batchStopGameValidateBeforeCall(varForms); + apiClient.executeAsync(call, BatchStopGameResult.class, callback); + return call; + } + /** + * Build call for cancelGameHang + * @param varForms CancelGameHangForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call cancelGameHangCall(CancelGameHangForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/cancelGameHang"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameSession", varForms.getGameSession()); + localVarFormParams.put("appKey", varForms.getAppKey()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call cancelGameHangValidateBeforeCall(CancelGameHangForms varForms) throws ApiException { + // verify the required parameter 'gameSession' is set + if (varForms.getGameSession() == null) { + throw new ApiException("Missing the required parameter 'gameSession' when calling cancelGameHang(Async)"); + } + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling cancelGameHang(Async)"); + } + + com.squareup.okhttp.Call call = cancelGameHangCall(varForms); + return call; + } + + /** + * + * 取消游戏挂机 + * @param varForms CancelGameHangForms + * @return CancelGameHangResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public CancelGameHangResult cancelGameHang(CancelGameHangForms varForms) throws ApiException { + ApiResponse resp = cancelGameHangWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 取消游戏挂机 + * @param varForms CancelGameHangForms + * @return ApiResponse<CancelGameHangResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse cancelGameHangWithHttpInfo(CancelGameHangForms varForms) throws ApiException { + com.squareup.okhttp.Call call = cancelGameHangValidateBeforeCall(varForms); + return apiClient.execute(call, CancelGameHangResult.class); + } + + /** + * (asynchronously) + * 取消游戏挂机 + * @param varForms CancelGameHangForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call cancelGameHangAsync(CancelGameHangForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = cancelGameHangValidateBeforeCall(varForms); + apiClient.executeAsync(call, CancelGameHangResult.class, callback); + return call; + } + /** + * Build call for clientNotify + * @param varForms ClientNotifyForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call clientNotifyCall(ClientNotifyForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/clientNotify"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("appKey", varForms.getAppKey()); + localVarFormParams.put("gameSession", varForms.getGameSession()); + localVarFormParams.put("value", varForms.getValue()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call clientNotifyValidateBeforeCall(ClientNotifyForms varForms) throws ApiException { + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling clientNotify(Async)"); + } + // verify the required parameter 'gameSession' is set + if (varForms.getGameSession() == null) { + throw new ApiException("Missing the required parameter 'gameSession' when calling clientNotify(Async)"); + } + // verify the required parameter 'value' is set + if (varForms.getValue() == null) { + throw new ApiException("Missing the required parameter 'value' when calling clientNotify(Async)"); + } + + com.squareup.okhttp.Call call = clientNotifyCall(varForms); + return call; + } + + /** + * + * clientNotify + * @param varForms ClientNotifyForms + * @return ClientNotifyResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ClientNotifyResult clientNotify(ClientNotifyForms varForms) throws ApiException { + ApiResponse resp = clientNotifyWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * clientNotify + * @param varForms ClientNotifyForms + * @return ApiResponse<ClientNotifyResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse clientNotifyWithHttpInfo(ClientNotifyForms varForms) throws ApiException { + com.squareup.okhttp.Call call = clientNotifyValidateBeforeCall(varForms); + return apiClient.execute(call, ClientNotifyResult.class); + } + + /** + * (asynchronously) + * clientNotify + * @param varForms ClientNotifyForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call clientNotifyAsync(ClientNotifyForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = clientNotifyValidateBeforeCall(varForms); + apiClient.executeAsync(call, ClientNotifyResult.class, callback); + return call; + } + /** + * Build call for gameNotify + * @param varForms GameNotifyForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call gameNotifyCall(GameNotifyForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/gameNotify"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("appKey", varForms.getAppKey()); + localVarFormParams.put("gameSession", varForms.getGameSession()); + localVarFormParams.put("type", varForms.getType()); + if (varForms.getValue() != null) { + localVarFormParams.put("value", varForms.getValue()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call gameNotifyValidateBeforeCall(GameNotifyForms varForms) throws ApiException { + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling gameNotify(Async)"); + } + // verify the required parameter 'gameSession' is set + if (varForms.getGameSession() == null) { + throw new ApiException("Missing the required parameter 'gameSession' when calling gameNotify(Async)"); + } + // verify the required parameter 'type' is set + if (varForms.getType() == null) { + throw new ApiException("Missing the required parameter 'type' when calling gameNotify(Async)"); + } + + com.squareup.okhttp.Call call = gameNotifyCall(varForms); + return call; + } + + /** + * + * 游戏通知接口 + * @param varForms GameNotifyForms + * @return GameNotifyResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public GameNotifyResult gameNotify(GameNotifyForms varForms) throws ApiException { + ApiResponse resp = gameNotifyWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 游戏通知接口 + * @param varForms GameNotifyForms + * @return ApiResponse<GameNotifyResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse gameNotifyWithHttpInfo(GameNotifyForms varForms) throws ApiException { + com.squareup.okhttp.Call call = gameNotifyValidateBeforeCall(varForms); + return apiClient.execute(call, GameNotifyResult.class); + } + + /** + * (asynchronously) + * 游戏通知接口 + * @param varForms GameNotifyForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call gameNotifyAsync(GameNotifyForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = gameNotifyValidateBeforeCall(varForms); + apiClient.executeAsync(call, GameNotifyResult.class, callback); + return call; + } + /** + * Build call for getGameConcurrency + * @param varForms GetGameConcurrencyForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getGameConcurrencyCall(GetGameConcurrencyForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/getGameConcurrency"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("appKey", varForms.getAppKey()); + if (varForms.getQueryQueueConcurrency() != null) { + localVarFormParams.put("queryQueueConcurrency", varForms.getQueryQueueConcurrency()); + } + if (varForms.getQueueUserLevel() != null) { + localVarFormParams.put("queueUserLevel", varForms.getQueueUserLevel()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call getGameConcurrencyValidateBeforeCall(GetGameConcurrencyForms varForms) throws ApiException { + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling getGameConcurrency(Async)"); + } + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling getGameConcurrency(Async)"); + } + + com.squareup.okhttp.Call call = getGameConcurrencyCall(varForms); + return call; + } + + /** + * + * 调用GetGameConcurrency获取游戏当前并发数 + * @param varForms GetGameConcurrencyForms + * @return GetGameConcurrencyResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public GetGameConcurrencyResult getGameConcurrency(GetGameConcurrencyForms varForms) throws ApiException { + ApiResponse resp = getGameConcurrencyWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 调用GetGameConcurrency获取游戏当前并发数 + * @param varForms GetGameConcurrencyForms + * @return ApiResponse<GetGameConcurrencyResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getGameConcurrencyWithHttpInfo(GetGameConcurrencyForms varForms) throws ApiException { + com.squareup.okhttp.Call call = getGameConcurrencyValidateBeforeCall(varForms); + return apiClient.execute(call, GetGameConcurrencyResult.class); + } + + /** + * (asynchronously) + * 调用GetGameConcurrency获取游戏当前并发数 + * @param varForms GetGameConcurrencyForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getGameConcurrencyAsync(GetGameConcurrencyForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = getGameConcurrencyValidateBeforeCall(varForms); + apiClient.executeAsync(call, GetGameConcurrencyResult.class, callback); + return call; + } + /** + * Build call for getStock + * @param varForms GetStockForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getStockCall(GetStockForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/getStock"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + if (varForms.getGameId() != null) { + localVarFormParams.put("gameId", varForms.getGameId()); + } + localVarFormParams.put("appKey", varForms.getAppKey()); + localVarFormParams.put("type", varForms.getType()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call getStockValidateBeforeCall(GetStockForms varForms) throws ApiException { + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling getStock(Async)"); + } + // verify the required parameter 'type' is set + if (varForms.getType() == null) { + throw new ApiException("Missing the required parameter 'type' when calling getStock(Async)"); + } + + com.squareup.okhttp.Call call = getStockCall(varForms); + return call; + } + + /** + * + * 调用GetStock获取游戏当前库存 + * @param varForms GetStockForms + * @return GetStockResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public GetStockResult getStock(GetStockForms varForms) throws ApiException { + ApiResponse resp = getStockWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 调用GetStock获取游戏当前库存 + * @param varForms GetStockForms + * @return ApiResponse<GetStockResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getStockWithHttpInfo(GetStockForms varForms) throws ApiException { + com.squareup.okhttp.Call call = getStockValidateBeforeCall(varForms); + return apiClient.execute(call, GetStockResult.class); + } + + /** + * (asynchronously) + * 调用GetStock获取游戏当前库存 + * @param varForms GetStockForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getStockAsync(GetStockForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = getStockValidateBeforeCall(varForms); + apiClient.executeAsync(call, GetStockResult.class, callback); + return call; + } + /** + * Build call for getStopGameToken + * @param varForms GetStopGameTokenForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getStopGameTokenCall(GetStopGameTokenForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/getStopGameToken"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("appKey", varForms.getAppKey()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call getStopGameTokenValidateBeforeCall(GetStopGameTokenForms varForms) throws ApiException { + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling getStopGameToken(Async)"); + } + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling getStopGameToken(Async)"); + } + + com.squareup.okhttp.Call call = getStopGameTokenCall(varForms); + return call; + } + + /** + * + * 全量踢下线获取token + * @param varForms GetStopGameTokenForms + * @return GetStopGameTokenResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public GetStopGameTokenResult getStopGameToken(GetStopGameTokenForms varForms) throws ApiException { + ApiResponse resp = getStopGameTokenWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 全量踢下线获取token + * @param varForms GetStopGameTokenForms + * @return ApiResponse<GetStopGameTokenResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getStopGameTokenWithHttpInfo(GetStopGameTokenForms varForms) throws ApiException { + com.squareup.okhttp.Call call = getStopGameTokenValidateBeforeCall(varForms); + return apiClient.execute(call, GetStopGameTokenResult.class); + } + + /** + * (asynchronously) + * 全量踢下线获取token + * @param varForms GetStopGameTokenForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getStopGameTokenAsync(GetStopGameTokenForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = getStopGameTokenValidateBeforeCall(varForms); + apiClient.executeAsync(call, GetStopGameTokenResult.class, callback); + return call; + } + /** + * Build call for listGameServerIp + * @param varForms ListGameServerIpForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listGameServerIpCall(ListGameServerIpForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/listGameServerIp"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + if (varForms.getPageSize() != null) { + localVarFormParams.put("pageSize", varForms.getPageSize()); + } + if (varForms.getNextToken() != null) { + localVarFormParams.put("nextToken", varForms.getNextToken()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call listGameServerIpValidateBeforeCall(ListGameServerIpForms varForms) throws ApiException { + + com.squareup.okhttp.Call call = listGameServerIpCall(varForms); + return call; + } + + /** + * + * + * @param varForms ListGameServerIpForms + * @return ListGameServerIpResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ListGameServerIpResult listGameServerIp(ListGameServerIpForms varForms) throws ApiException { + ApiResponse resp = listGameServerIpWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms ListGameServerIpForms + * @return ApiResponse<ListGameServerIpResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listGameServerIpWithHttpInfo(ListGameServerIpForms varForms) throws ApiException { + com.squareup.okhttp.Call call = listGameServerIpValidateBeforeCall(varForms); + return apiClient.execute(call, ListGameServerIpResult.class); + } + + /** + * (asynchronously) + * + * @param varForms ListGameServerIpForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listGameServerIpAsync(ListGameServerIpForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = listGameServerIpValidateBeforeCall(varForms); + apiClient.executeAsync(call, ListGameServerIpResult.class, callback); + return call; + } + /** + * Build call for queryGameHang + * @param varForms QueryGameHangForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call queryGameHangCall(QueryGameHangForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/queryGameHang"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameSession", varForms.getGameSession()); + localVarFormParams.put("appKey", varForms.getAppKey()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call queryGameHangValidateBeforeCall(QueryGameHangForms varForms) throws ApiException { + // verify the required parameter 'gameSession' is set + if (varForms.getGameSession() == null) { + throw new ApiException("Missing the required parameter 'gameSession' when calling queryGameHang(Async)"); + } + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling queryGameHang(Async)"); + } + + com.squareup.okhttp.Call call = queryGameHangCall(varForms); + return call; + } + + /** + * + * 查询游戏挂机状态 + * @param varForms QueryGameHangForms + * @return QueryGameHangResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public QueryGameHangResult queryGameHang(QueryGameHangForms varForms) throws ApiException { + ApiResponse resp = queryGameHangWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 查询游戏挂机状态 + * @param varForms QueryGameHangForms + * @return ApiResponse<QueryGameHangResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse queryGameHangWithHttpInfo(QueryGameHangForms varForms) throws ApiException { + com.squareup.okhttp.Call call = queryGameHangValidateBeforeCall(varForms); + return apiClient.execute(call, QueryGameHangResult.class); + } + + /** + * (asynchronously) + * 查询游戏挂机状态 + * @param varForms QueryGameHangForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call queryGameHangAsync(QueryGameHangForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = queryGameHangValidateBeforeCall(varForms); + apiClient.executeAsync(call, QueryGameHangResult.class, callback); + return call; + } + /** + * Build call for querySessionStatus + * @param varForms QuerySessionStatusForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call querySessionStatusCall(QuerySessionStatusForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/querySessionStatus"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameSession", varForms.getGameSession()); + localVarFormParams.put("appKey", varForms.getAppKey()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call querySessionStatusValidateBeforeCall(QuerySessionStatusForms varForms) throws ApiException { + // verify the required parameter 'gameSession' is set + if (varForms.getGameSession() == null) { + throw new ApiException("Missing the required parameter 'gameSession' when calling querySessionStatus(Async)"); + } + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling querySessionStatus(Async)"); + } + + com.squareup.okhttp.Call call = querySessionStatusCall(varForms); + return call; + } + + /** + * + * 查询会话当前状态 + * @param varForms QuerySessionStatusForms + * @return QuerySessionStatusResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public QuerySessionStatusResult querySessionStatus(QuerySessionStatusForms varForms) throws ApiException { + ApiResponse resp = querySessionStatusWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 查询会话当前状态 + * @param varForms QuerySessionStatusForms + * @return ApiResponse<QuerySessionStatusResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse querySessionStatusWithHttpInfo(QuerySessionStatusForms varForms) throws ApiException { + com.squareup.okhttp.Call call = querySessionStatusValidateBeforeCall(varForms); + return apiClient.execute(call, QuerySessionStatusResult.class); + } + + /** + * (asynchronously) + * 查询会话当前状态 + * @param varForms QuerySessionStatusForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call querySessionStatusAsync(QuerySessionStatusForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = querySessionStatusValidateBeforeCall(varForms); + apiClient.executeAsync(call, QuerySessionStatusResult.class, callback); + return call; + } + /** + * Build call for setGameAlive + * @param varForms SetGameAliveForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call setGameAliveCall(SetGameAliveForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/setGameAlive"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameSession", varForms.getGameSession()); + localVarFormParams.put("appKey", varForms.getAppKey()); + localVarFormParams.put("keepAlive", varForms.getKeepAlive()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call setGameAliveValidateBeforeCall(SetGameAliveForms varForms) throws ApiException { + // verify the required parameter 'gameSession' is set + if (varForms.getGameSession() == null) { + throw new ApiException("Missing the required parameter 'gameSession' when calling setGameAlive(Async)"); + } + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling setGameAlive(Async)"); + } + // verify the required parameter 'keepAlive' is set + if (varForms.getKeepAlive() == null) { + throw new ApiException("Missing the required parameter 'keepAlive' when calling setGameAlive(Async)"); + } + + com.squareup.okhttp.Call call = setGameAliveCall(varForms); + return call; + } + + /** + * + * 设置游戏可运行时长 + * @param varForms SetGameAliveForms + * @return SetGameAliveResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public SetGameAliveResult setGameAlive(SetGameAliveForms varForms) throws ApiException { + ApiResponse resp = setGameAliveWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 设置游戏可运行时长 + * @param varForms SetGameAliveForms + * @return ApiResponse<SetGameAliveResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse setGameAliveWithHttpInfo(SetGameAliveForms varForms) throws ApiException { + com.squareup.okhttp.Call call = setGameAliveValidateBeforeCall(varForms); + return apiClient.execute(call, SetGameAliveResult.class); + } + + /** + * (asynchronously) + * 设置游戏可运行时长 + * @param varForms SetGameAliveForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call setGameAliveAsync(SetGameAliveForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = setGameAliveValidateBeforeCall(varForms); + apiClient.executeAsync(call, SetGameAliveResult.class, callback); + return call; + } + /** + * Build call for setGameHang + * @param varForms SetGameHangForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call setGameHangCall(SetGameHangForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/setGameHang"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameSession", varForms.getGameSession()); + localVarFormParams.put("appKey", varForms.getAppKey()); + localVarFormParams.put("duration", varForms.getDuration()); + if (varForms.getKickInTheGame() != null) { + localVarFormParams.put("kickInTheGame", varForms.getKickInTheGame()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call setGameHangValidateBeforeCall(SetGameHangForms varForms) throws ApiException { + // verify the required parameter 'gameSession' is set + if (varForms.getGameSession() == null) { + throw new ApiException("Missing the required parameter 'gameSession' when calling setGameHang(Async)"); + } + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling setGameHang(Async)"); + } + // verify the required parameter 'duration' is set + if (varForms.getDuration() == null) { + throw new ApiException("Missing the required parameter 'duration' when calling setGameHang(Async)"); + } + + com.squareup.okhttp.Call call = setGameHangCall(varForms); + return call; + } + + /** + * + * 设置游戏挂机 + * @param varForms SetGameHangForms + * @return SetGameHangResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public SetGameHangResult setGameHang(SetGameHangForms varForms) throws ApiException { + ApiResponse resp = setGameHangWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 设置游戏挂机 + * @param varForms SetGameHangForms + * @return ApiResponse<SetGameHangResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse setGameHangWithHttpInfo(SetGameHangForms varForms) throws ApiException { + com.squareup.okhttp.Call call = setGameHangValidateBeforeCall(varForms); + return apiClient.execute(call, SetGameHangResult.class); + } + + /** + * (asynchronously) + * 设置游戏挂机 + * @param varForms SetGameHangForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call setGameHangAsync(SetGameHangForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = setGameHangValidateBeforeCall(varForms); + apiClient.executeAsync(call, SetGameHangResult.class, callback); + return call; + } + /** + * Build call for stopGame + * @param varForms StopGameForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call stopGameCall(StopGameForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/stopGame"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("accountId", varForms.getAccountId()); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("appKey", varForms.getAppKey()); + localVarFormParams.put("gameSession", varForms.getGameSession()); + if (varForms.getReason() != null) { + localVarFormParams.put("reason", varForms.getReason()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call stopGameValidateBeforeCall(StopGameForms varForms) throws ApiException { + // verify the required parameter 'accountId' is set + if (varForms.getAccountId() == null) { + throw new ApiException("Missing the required parameter 'accountId' when calling stopGame(Async)"); + } + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling stopGame(Async)"); + } + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling stopGame(Async)"); + } + // verify the required parameter 'gameSession' is set + if (varForms.getGameSession() == null) { + throw new ApiException("Missing the required parameter 'gameSession' when calling stopGame(Async)"); + } + + com.squareup.okhttp.Call call = stopGameCall(varForms); + return call; + } + + /** + * + * 服务端发起,停止某个用户的某个游戏的某个会话 + * @param varForms StopGameForms + * @return StopGameResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public StopGameResult stopGame(StopGameForms varForms) throws ApiException { + ApiResponse resp = stopGameWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 服务端发起,停止某个用户的某个游戏的某个会话 + * @param varForms StopGameForms + * @return ApiResponse<StopGameResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse stopGameWithHttpInfo(StopGameForms varForms) throws ApiException { + com.squareup.okhttp.Call call = stopGameValidateBeforeCall(varForms); + return apiClient.execute(call, StopGameResult.class); + } + + /** + * (asynchronously) + * 服务端发起,停止某个用户的某个游戏的某个会话 + * @param varForms StopGameForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call stopGameAsync(StopGameForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = stopGameValidateBeforeCall(varForms); + apiClient.executeAsync(call, StopGameResult.class, callback); + return call; + } + /** + * Build call for stopPreopenContainer + * @param varForms StopPreopenContainerForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call stopPreopenContainerCall(StopPreopenContainerForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/stopPreopenContainer"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("appKey", varForms.getAppKey()); + localVarFormParams.put("gameId", varForms.getGameId()); + if (varForms.getNumberOfBatches() != null) { + localVarFormParams.put("numberOfBatches", varForms.getNumberOfBatches()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call stopPreopenContainerValidateBeforeCall(StopPreopenContainerForms varForms) throws ApiException { + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling stopPreopenContainer(Async)"); + } + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling stopPreopenContainer(Async)"); + } + + com.squareup.okhttp.Call call = stopPreopenContainerCall(varForms); + return call; + } + + /** + * + * 停止预开容器 + * @param varForms StopPreopenContainerForms + * @return StopPreopenContainerResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public StopPreopenContainerResult stopPreopenContainer(StopPreopenContainerForms varForms) throws ApiException { + ApiResponse resp = stopPreopenContainerWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 停止预开容器 + * @param varForms StopPreopenContainerForms + * @return ApiResponse<StopPreopenContainerResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse stopPreopenContainerWithHttpInfo(StopPreopenContainerForms varForms) throws ApiException { + com.squareup.okhttp.Call call = stopPreopenContainerValidateBeforeCall(varForms); + return apiClient.execute(call, StopPreopenContainerResult.class); + } + + /** + * (asynchronously) + * 停止预开容器 + * @param varForms StopPreopenContainerForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call stopPreopenContainerAsync(StopPreopenContainerForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = stopPreopenContainerValidateBeforeCall(varForms); + apiClient.executeAsync(call, StopPreopenContainerResult.class, callback); + return call; + } + /** + * Build call for tryToGetSlot + * @param varForms TryToGetSlotForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call tryToGetSlotCall(TryToGetSlotForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/tryToGetSlot"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("accountId", varForms.getAccountId()); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("appKey", varForms.getAppKey()); + if (varForms.getRegionId() != null) { + localVarFormParams.put("regionId", varForms.getRegionId()); + } + if (varForms.getReConnect() != null) { + localVarFormParams.put("reConnect", varForms.getReConnect()); + } + if (varForms.getBizParam() != null) { + localVarFormParams.put("bizParam", varForms.getBizParam()); + } + if (varForms.getClientIp() != null) { + localVarFormParams.put("clientIp", varForms.getClientIp()); + } + if (varForms.getTags() != null) { + localVarFormParams.put("tags", varForms.getTags()); + } + if (varForms.getUserLevel() != null) { + localVarFormParams.put("userLevel", varForms.getUserLevel()); + } + if (varForms.getCodec() != null) { + localVarFormParams.put("codec", varForms.getCodec()); + } + if (varForms.getResolution() != null) { + localVarFormParams.put("resolution", varForms.getResolution()); + } + if (varForms.getBitRate() != null) { + localVarFormParams.put("bitRate", varForms.getBitRate()); + } + if (varForms.getFps() != null) { + localVarFormParams.put("fps", varForms.getFps()); + } + if (varForms.getGameCmdParam() != null) { + localVarFormParams.put("gameCmdParam", varForms.getGameCmdParam()); + } + if (varForms.getStartParam() != null) { + localVarFormParams.put("startParam", varForms.getStartParam()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call tryToGetSlotValidateBeforeCall(TryToGetSlotForms varForms) throws ApiException { + // verify the required parameter 'accountId' is set + if (varForms.getAccountId() == null) { + throw new ApiException("Missing the required parameter 'accountId' when calling tryToGetSlot(Async)"); + } + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling tryToGetSlot(Async)"); + } + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling tryToGetSlot(Async)"); + } + + com.squareup.okhttp.Call call = tryToGetSlotCall(varForms); + return call; + } + + /** + * + * 为用户调度分配游戏容器,容器一旦分配成功会被锁住,一段时间内不再分配给其他用户,过期释放。 + * @param varForms TryToGetSlotForms + * @return TryToGetSlotResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public TryToGetSlotResult tryToGetSlot(TryToGetSlotForms varForms) throws ApiException { + ApiResponse resp = tryToGetSlotWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 为用户调度分配游戏容器,容器一旦分配成功会被锁住,一段时间内不再分配给其他用户,过期释放。 + * @param varForms TryToGetSlotForms + * @return ApiResponse<TryToGetSlotResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse tryToGetSlotWithHttpInfo(TryToGetSlotForms varForms) throws ApiException { + com.squareup.okhttp.Call call = tryToGetSlotValidateBeforeCall(varForms); + return apiClient.execute(call, TryToGetSlotResult.class); + } + + /** + * (asynchronously) + * 为用户调度分配游戏容器,容器一旦分配成功会被锁住,一段时间内不再分配给其他用户,过期释放。 + * @param varForms TryToGetSlotForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call tryToGetSlotAsync(TryToGetSlotForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = tryToGetSlotValidateBeforeCall(varForms); + apiClient.executeAsync(call, TryToGetSlotResult.class, callback); + return call; + } + /** + * Build call for tryToGetSlots + * @param varForms TryToGetSlotsForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call tryToGetSlotsCall(TryToGetSlotsForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/tryToGetSlots"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("appKey", varForms.getAppKey()); + localVarFormParams.put("parallelSchedule", varForms.getParallelSchedule()); + localVarFormParams.put("requests", varForms.getRequests()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call tryToGetSlotsValidateBeforeCall(TryToGetSlotsForms varForms) throws ApiException { + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling tryToGetSlots(Async)"); + } + // verify the required parameter 'parallelSchedule' is set + if (varForms.getParallelSchedule() == null) { + throw new ApiException("Missing the required parameter 'parallelSchedule' when calling tryToGetSlots(Async)"); + } + // verify the required parameter 'requests' is set + if (varForms.getRequests() == null) { + throw new ApiException("Missing the required parameter 'requests' when calling tryToGetSlots(Async)"); + } + + com.squareup.okhttp.Call call = tryToGetSlotsCall(varForms); + return call; + } + + /** + * + * tryToGetSlots + * @param varForms TryToGetSlotsForms + * @return TryToGetSlotsResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public TryToGetSlotsResult tryToGetSlots(TryToGetSlotsForms varForms) throws ApiException { + ApiResponse resp = tryToGetSlotsWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * tryToGetSlots + * @param varForms TryToGetSlotsForms + * @return ApiResponse<TryToGetSlotsResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse tryToGetSlotsWithHttpInfo(TryToGetSlotsForms varForms) throws ApiException { + com.squareup.okhttp.Call call = tryToGetSlotsValidateBeforeCall(varForms); + return apiClient.execute(call, TryToGetSlotsResult.class); + } + + /** + * (asynchronously) + * tryToGetSlots + * @param varForms TryToGetSlotsForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call tryToGetSlotsAsync(TryToGetSlotsForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = tryToGetSlotsValidateBeforeCall(varForms); + apiClient.executeAsync(call, TryToGetSlotsResult.class, callback); + return call; + } + /** + * Build call for updatePreopenStrategy + * @param varForms UpdatePreopenStrategyForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call updatePreopenStrategyCall(UpdatePreopenStrategyForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/updatePreopenStrategy"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("appKey", varForms.getAppKey()); + localVarFormParams.put("gameId", varForms.getGameId()); + if (varForms.getPreStartCmd() != null) { + localVarFormParams.put("preStartCmd", varForms.getPreStartCmd()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call updatePreopenStrategyValidateBeforeCall(UpdatePreopenStrategyForms varForms) throws ApiException { + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling updatePreopenStrategy(Async)"); + } + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling updatePreopenStrategy(Async)"); + } + + com.squareup.okhttp.Call call = updatePreopenStrategyCall(varForms); + return call; + } + + /** + * + * 更新预开预起策略 + * @param varForms UpdatePreopenStrategyForms + * @return UpdatePreopenStrategyResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public UpdatePreopenStrategyResult updatePreopenStrategy(UpdatePreopenStrategyForms varForms) throws ApiException { + ApiResponse resp = updatePreopenStrategyWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * 更新预开预起策略 + * @param varForms UpdatePreopenStrategyForms + * @return ApiResponse<UpdatePreopenStrategyResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse updatePreopenStrategyWithHttpInfo(UpdatePreopenStrategyForms varForms) throws ApiException { + com.squareup.okhttp.Call call = updatePreopenStrategyValidateBeforeCall(varForms); + return apiClient.execute(call, UpdatePreopenStrategyResult.class); + } + + /** + * (asynchronously) + * 更新预开预起策略 + * @param varForms UpdatePreopenStrategyForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call updatePreopenStrategyAsync(UpdatePreopenStrategyForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = updatePreopenStrategyValidateBeforeCall(varForms); + apiClient.executeAsync(call, UpdatePreopenStrategyResult.class, callback); + return call; + } +} From 471906d6d19d5e1ebfe30ce3c152a13238cca46c Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:14:59 +0800 Subject: [PATCH 224/235] feat: update --- .../alibaba/yjopenapi/client/api/LiveApi.java | 339 ++++++++++++++++++ 1 file changed, 339 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/api/LiveApi.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/api/LiveApi.java b/src/main/java/com/alibaba/yjopenapi/client/api/LiveApi.java new file mode 100644 index 000000000..a5d766f42 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/api/LiveApi.java @@ -0,0 +1,339 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.api; + +import java.io.IOException; + +import com.alibaba.yjopenapi.client.model.LiveQueryStatusResult; +import com.alibaba.yjopenapi.client.model.LiveStartGameLiveFormsConfig; +import com.alibaba.yjopenapi.client.model.LiveStartGameLiveResult; +import com.alibaba.yjopenapi.client.model.LiveStopGameLiveResult; + +import com.alibaba.yjopenapi.client.model.*; + +import java.util.Arrays; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class LiveApi { + private ApiClient apiClient; + private Configuration configuration; + + public LiveApi() { + this(new ApiClient(), Configuration.getDefaultConfiguration()); + } + + public LiveApi(ApiClient apiClient, Configuration configuration) { + this.apiClient = apiClient; + this.configuration = configuration; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public Configuration getConfiguration() { + return configuration; + } + + public void setConfiguration(Configuration configuration) { + this.configuration = configuration; + } + + /** + * Build call for queryStatus + * @param varForms LiveQueryStatusForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call queryStatusCall(LiveQueryStatusForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/live/queryStatus"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("appKey", varForms.getAppKey()); + localVarFormParams.put("gameSession", varForms.getGameSession()); + if (varForms.getLiveId() != null) { + localVarFormParams.put("liveId", varForms.getLiveId()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call queryStatusValidateBeforeCall(LiveQueryStatusForms varForms) throws ApiException { + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling queryStatus(Async)"); + } + // verify the required parameter 'gameSession' is set + if (varForms.getGameSession() == null) { + throw new ApiException("Missing the required parameter 'gameSession' when calling queryStatus(Async)"); + } + + com.squareup.okhttp.Call call = queryStatusCall(varForms); + return call; + } + + /** + * + * + * @param varForms LiveQueryStatusForms + * @return LiveQueryStatusResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public LiveQueryStatusResult queryStatus(LiveQueryStatusForms varForms) throws ApiException { + ApiResponse resp = queryStatusWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms LiveQueryStatusForms + * @return ApiResponse<LiveQueryStatusResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse queryStatusWithHttpInfo(LiveQueryStatusForms varForms) throws ApiException { + com.squareup.okhttp.Call call = queryStatusValidateBeforeCall(varForms); + return apiClient.execute(call, LiveQueryStatusResult.class); + } + + /** + * (asynchronously) + * + * @param varForms LiveQueryStatusForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call queryStatusAsync(LiveQueryStatusForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = queryStatusValidateBeforeCall(varForms); + apiClient.executeAsync(call, LiveQueryStatusResult.class, callback); + return call; + } + /** + * Build call for startGameLive + * @param varForms LiveStartGameLiveForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call startGameLiveCall(LiveStartGameLiveForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/live/startGameLive"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("appKey", varForms.getAppKey()); + localVarFormParams.put("gameSession", varForms.getGameSession()); + localVarFormParams.put("serverUrl", varForms.getServerUrl()); + localVarFormParams.put("streamKey", varForms.getStreamKey()); + if (varForms.getConfig() != null) { + localVarFormParams.put("config", varForms.getConfig()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call startGameLiveValidateBeforeCall(LiveStartGameLiveForms varForms) throws ApiException { + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling startGameLive(Async)"); + } + // verify the required parameter 'gameSession' is set + if (varForms.getGameSession() == null) { + throw new ApiException("Missing the required parameter 'gameSession' when calling startGameLive(Async)"); + } + // verify the required parameter 'serverUrl' is set + if (varForms.getServerUrl() == null) { + throw new ApiException("Missing the required parameter 'serverUrl' when calling startGameLive(Async)"); + } + // verify the required parameter 'streamKey' is set + if (varForms.getStreamKey() == null) { + throw new ApiException("Missing the required parameter 'streamKey' when calling startGameLive(Async)"); + } + + com.squareup.okhttp.Call call = startGameLiveCall(varForms); + return call; + } + + /** + * + * + * @param varForms LiveStartGameLiveForms + * @return LiveStartGameLiveResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public LiveStartGameLiveResult startGameLive(LiveStartGameLiveForms varForms) throws ApiException { + ApiResponse resp = startGameLiveWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms LiveStartGameLiveForms + * @return ApiResponse<LiveStartGameLiveResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse startGameLiveWithHttpInfo(LiveStartGameLiveForms varForms) throws ApiException { + com.squareup.okhttp.Call call = startGameLiveValidateBeforeCall(varForms); + return apiClient.execute(call, LiveStartGameLiveResult.class); + } + + /** + * (asynchronously) + * + * @param varForms LiveStartGameLiveForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call startGameLiveAsync(LiveStartGameLiveForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = startGameLiveValidateBeforeCall(varForms); + apiClient.executeAsync(call, LiveStartGameLiveResult.class, callback); + return call; + } + /** + * Build call for stopGameLive + * @param varForms LiveStopGameLiveForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call stopGameLiveCall(LiveStopGameLiveForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/live/stopGameLive"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("appKey", varForms.getAppKey()); + localVarFormParams.put("gameSession", varForms.getGameSession()); + if (varForms.getLiveId() != null) { + localVarFormParams.put("liveId", varForms.getLiveId()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call stopGameLiveValidateBeforeCall(LiveStopGameLiveForms varForms) throws ApiException { + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling stopGameLive(Async)"); + } + // verify the required parameter 'gameSession' is set + if (varForms.getGameSession() == null) { + throw new ApiException("Missing the required parameter 'gameSession' when calling stopGameLive(Async)"); + } + + com.squareup.okhttp.Call call = stopGameLiveCall(varForms); + return call; + } + + /** + * + * + * @param varForms LiveStopGameLiveForms + * @return LiveStopGameLiveResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public LiveStopGameLiveResult stopGameLive(LiveStopGameLiveForms varForms) throws ApiException { + ApiResponse resp = stopGameLiveWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms LiveStopGameLiveForms + * @return ApiResponse<LiveStopGameLiveResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse stopGameLiveWithHttpInfo(LiveStopGameLiveForms varForms) throws ApiException { + com.squareup.okhttp.Call call = stopGameLiveValidateBeforeCall(varForms); + return apiClient.execute(call, LiveStopGameLiveResult.class); + } + + /** + * (asynchronously) + * + * @param varForms LiveStopGameLiveForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call stopGameLiveAsync(LiveStopGameLiveForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = stopGameLiveValidateBeforeCall(varForms); + apiClient.executeAsync(call, LiveStopGameLiveResult.class, callback); + return call; + } +} From 1cf99ebe41e14683ee75ae9514b579088105a3b5 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:15:00 +0800 Subject: [PATCH 225/235] feat: update --- .../yjopenapi/client/api/MultiplayApi.java | 600 ++++++++++++++++++ 1 file changed, 600 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/api/MultiplayApi.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/api/MultiplayApi.java b/src/main/java/com/alibaba/yjopenapi/client/api/MultiplayApi.java new file mode 100644 index 000000000..3becd3738 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/api/MultiplayApi.java @@ -0,0 +1,600 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.api; + +import java.io.IOException; + +import com.alibaba.yjopenapi.client.model.MultiplayCloseResult; +import com.alibaba.yjopenapi.client.model.MultiplayInitFormsConfig; +import com.alibaba.yjopenapi.client.model.MultiplayInitFormsTokens; +import com.alibaba.yjopenapi.client.model.MultiplayInitResult; +import com.alibaba.yjopenapi.client.model.MultiplayJoinResult; +import com.alibaba.yjopenapi.client.model.MultiplayLeaveResult; +import com.alibaba.yjopenapi.client.model.MultiplayModifyFormsTokens; +import com.alibaba.yjopenapi.client.model.MultiplayModifyResult; +import com.alibaba.yjopenapi.client.model.MultiplayQueryResult; + +import com.alibaba.yjopenapi.client.model.*; + +import java.util.Arrays; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class MultiplayApi { + private ApiClient apiClient; + private Configuration configuration; + + public MultiplayApi() { + this(new ApiClient(), Configuration.getDefaultConfiguration()); + } + + public MultiplayApi(ApiClient apiClient, Configuration configuration) { + this.apiClient = apiClient; + this.configuration = configuration; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public Configuration getConfiguration() { + return configuration; + } + + public void setConfiguration(Configuration configuration) { + this.configuration = configuration; + } + + /** + * Build call for close + * @param varForms MultiplayCloseForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call closeCall(MultiplayCloseForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/multiplay/close"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("mpId", varForms.getMpId()); + if (varForms.getReason() != null) { + localVarFormParams.put("reason", varForms.getReason()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call closeValidateBeforeCall(MultiplayCloseForms varForms) throws ApiException { + // verify the required parameter 'mpId' is set + if (varForms.getMpId() == null) { + throw new ApiException("Missing the required parameter 'mpId' when calling close(Async)"); + } + + com.squareup.okhttp.Call call = closeCall(varForms); + return call; + } + + /** + * + * + * @param varForms MultiplayCloseForms + * @return MultiplayCloseResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public MultiplayCloseResult close(MultiplayCloseForms varForms) throws ApiException { + ApiResponse resp = closeWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms MultiplayCloseForms + * @return ApiResponse<MultiplayCloseResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse closeWithHttpInfo(MultiplayCloseForms varForms) throws ApiException { + com.squareup.okhttp.Call call = closeValidateBeforeCall(varForms); + return apiClient.execute(call, MultiplayCloseResult.class); + } + + /** + * (asynchronously) + * + * @param varForms MultiplayCloseForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call closeAsync(MultiplayCloseForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = closeValidateBeforeCall(varForms); + apiClient.executeAsync(call, MultiplayCloseResult.class, callback); + return call; + } + /** + * Build call for init + * @param varForms MultiplayInitForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call initCall(MultiplayInitForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/multiplay/init"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("gameSession", varForms.getGameSession()); + localVarFormParams.put("appKey", varForms.getAppKey()); + if (varForms.getConfig() != null) { + localVarFormParams.put("config", varForms.getConfig()); + } + if (varForms.getTokens() != null) { + localVarFormParams.put("tokens", varForms.getTokens()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call initValidateBeforeCall(MultiplayInitForms varForms) throws ApiException { + // verify the required parameter 'gameSession' is set + if (varForms.getGameSession() == null) { + throw new ApiException("Missing the required parameter 'gameSession' when calling init(Async)"); + } + // verify the required parameter 'appKey' is set + if (varForms.getAppKey() == null) { + throw new ApiException("Missing the required parameter 'appKey' when calling init(Async)"); + } + + com.squareup.okhttp.Call call = initCall(varForms); + return call; + } + + /** + * + * + * @param varForms MultiplayInitForms + * @return MultiplayInitResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public MultiplayInitResult init(MultiplayInitForms varForms) throws ApiException { + ApiResponse resp = initWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms MultiplayInitForms + * @return ApiResponse<MultiplayInitResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse initWithHttpInfo(MultiplayInitForms varForms) throws ApiException { + com.squareup.okhttp.Call call = initValidateBeforeCall(varForms); + return apiClient.execute(call, MultiplayInitResult.class); + } + + /** + * (asynchronously) + * + * @param varForms MultiplayInitForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call initAsync(MultiplayInitForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = initValidateBeforeCall(varForms); + apiClient.executeAsync(call, MultiplayInitResult.class, callback); + return call; + } + /** + * Build call for join + * @param varForms MultiplayJoinForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call joinCall(MultiplayJoinForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/multiplay/join"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("mpId", varForms.getMpId()); + localVarFormParams.put("accountId", varForms.getAccountId()); + if (varForms.getControlId() != null) { + localVarFormParams.put("controlId", varForms.getControlId()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call joinValidateBeforeCall(MultiplayJoinForms varForms) throws ApiException { + // verify the required parameter 'mpId' is set + if (varForms.getMpId() == null) { + throw new ApiException("Missing the required parameter 'mpId' when calling join(Async)"); + } + // verify the required parameter 'accountId' is set + if (varForms.getAccountId() == null) { + throw new ApiException("Missing the required parameter 'accountId' when calling join(Async)"); + } + + com.squareup.okhttp.Call call = joinCall(varForms); + return call; + } + + /** + * + * + * @param varForms MultiplayJoinForms + * @return MultiplayJoinResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public MultiplayJoinResult join(MultiplayJoinForms varForms) throws ApiException { + ApiResponse resp = joinWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms MultiplayJoinForms + * @return ApiResponse<MultiplayJoinResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse joinWithHttpInfo(MultiplayJoinForms varForms) throws ApiException { + com.squareup.okhttp.Call call = joinValidateBeforeCall(varForms); + return apiClient.execute(call, MultiplayJoinResult.class); + } + + /** + * (asynchronously) + * + * @param varForms MultiplayJoinForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call joinAsync(MultiplayJoinForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = joinValidateBeforeCall(varForms); + apiClient.executeAsync(call, MultiplayJoinResult.class, callback); + return call; + } + /** + * Build call for leave + * @param varForms MultiplayLeaveForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call leaveCall(MultiplayLeaveForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/multiplay/leave"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("mpId", varForms.getMpId()); + localVarFormParams.put("kickOut", varForms.getKickOut()); + if (varForms.getReason() != null) { + localVarFormParams.put("reason", varForms.getReason()); + } + localVarFormParams.put("tokenIds", varForms.getTokenIds()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call leaveValidateBeforeCall(MultiplayLeaveForms varForms) throws ApiException { + // verify the required parameter 'mpId' is set + if (varForms.getMpId() == null) { + throw new ApiException("Missing the required parameter 'mpId' when calling leave(Async)"); + } + // verify the required parameter 'kickOut' is set + if (varForms.getKickOut() == null) { + throw new ApiException("Missing the required parameter 'kickOut' when calling leave(Async)"); + } + // verify the required parameter 'tokenIds' is set + if (varForms.getTokenIds() == null) { + throw new ApiException("Missing the required parameter 'tokenIds' when calling leave(Async)"); + } + + com.squareup.okhttp.Call call = leaveCall(varForms); + return call; + } + + /** + * + * + * @param varForms MultiplayLeaveForms + * @return MultiplayLeaveResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public MultiplayLeaveResult leave(MultiplayLeaveForms varForms) throws ApiException { + ApiResponse resp = leaveWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms MultiplayLeaveForms + * @return ApiResponse<MultiplayLeaveResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse leaveWithHttpInfo(MultiplayLeaveForms varForms) throws ApiException { + com.squareup.okhttp.Call call = leaveValidateBeforeCall(varForms); + return apiClient.execute(call, MultiplayLeaveResult.class); + } + + /** + * (asynchronously) + * + * @param varForms MultiplayLeaveForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call leaveAsync(MultiplayLeaveForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = leaveValidateBeforeCall(varForms); + apiClient.executeAsync(call, MultiplayLeaveResult.class, callback); + return call; + } + /** + * Build call for modify + * @param varForms MultiplayModifyForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call modifyCall(MultiplayModifyForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/multiplay/modify"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("mpId", varForms.getMpId()); + if (varForms.getTokens() != null) { + localVarFormParams.put("tokens", varForms.getTokens()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call modifyValidateBeforeCall(MultiplayModifyForms varForms) throws ApiException { + // verify the required parameter 'mpId' is set + if (varForms.getMpId() == null) { + throw new ApiException("Missing the required parameter 'mpId' when calling modify(Async)"); + } + + com.squareup.okhttp.Call call = modifyCall(varForms); + return call; + } + + /** + * + * + * @param varForms MultiplayModifyForms + * @return MultiplayModifyResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public MultiplayModifyResult modify(MultiplayModifyForms varForms) throws ApiException { + ApiResponse resp = modifyWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms MultiplayModifyForms + * @return ApiResponse<MultiplayModifyResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse modifyWithHttpInfo(MultiplayModifyForms varForms) throws ApiException { + com.squareup.okhttp.Call call = modifyValidateBeforeCall(varForms); + return apiClient.execute(call, MultiplayModifyResult.class); + } + + /** + * (asynchronously) + * + * @param varForms MultiplayModifyForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call modifyAsync(MultiplayModifyForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = modifyValidateBeforeCall(varForms); + apiClient.executeAsync(call, MultiplayModifyResult.class, callback); + return call; + } + /** + * Build call for query + * @param varForms MultiplayQueryForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call queryCall(MultiplayQueryForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/multiplay/query"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("mpId", varForms.getMpId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call queryValidateBeforeCall(MultiplayQueryForms varForms) throws ApiException { + // verify the required parameter 'mpId' is set + if (varForms.getMpId() == null) { + throw new ApiException("Missing the required parameter 'mpId' when calling query(Async)"); + } + + com.squareup.okhttp.Call call = queryCall(varForms); + return call; + } + + /** + * + * + * @param varForms MultiplayQueryForms + * @return MultiplayQueryResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public MultiplayQueryResult query(MultiplayQueryForms varForms) throws ApiException { + ApiResponse resp = queryWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms MultiplayQueryForms + * @return ApiResponse<MultiplayQueryResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse queryWithHttpInfo(MultiplayQueryForms varForms) throws ApiException { + com.squareup.okhttp.Call call = queryValidateBeforeCall(varForms); + return apiClient.execute(call, MultiplayQueryResult.class); + } + + /** + * (asynchronously) + * + * @param varForms MultiplayQueryForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call queryAsync(MultiplayQueryForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = queryValidateBeforeCall(varForms); + apiClient.executeAsync(call, MultiplayQueryResult.class, callback); + return call; + } +} From 94c9a2199964de26c4472e39a9707d99fe9dd7ad Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:15:02 +0800 Subject: [PATCH 226/235] feat: update --- .../yjopenapi/client/api/TokenApi.java | 201 ++++++++++++++++++ 1 file changed, 201 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/api/TokenApi.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/api/TokenApi.java b/src/main/java/com/alibaba/yjopenapi/client/api/TokenApi.java new file mode 100644 index 000000000..e97ec179a --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/api/TokenApi.java @@ -0,0 +1,201 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.api; + +import java.io.IOException; + +import com.alibaba.yjopenapi.client.model.GetPairResult; +import com.alibaba.yjopenapi.client.model.GetTripleResult; + +import com.alibaba.yjopenapi.client.model.*; + +import java.util.Arrays; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class TokenApi { + private ApiClient apiClient; + private Configuration configuration; + + public TokenApi() { + this(new ApiClient(), Configuration.getDefaultConfiguration()); + } + + public TokenApi(ApiClient apiClient, Configuration configuration) { + this.apiClient = apiClient; + this.configuration = configuration; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public Configuration getConfiguration() { + return configuration; + } + + public void setConfiguration(Configuration configuration) { + this.configuration = configuration; + } + + /** + * Build call for getPair + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPairCall() throws ApiException { + + // create path and map variables + String localVarPath = "/sts?type=pair"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call getPairValidateBeforeCall() throws ApiException { + + com.squareup.okhttp.Call call = getPairCall(); + return call; + } + + /** + * + * 获取临时安全令牌(二元组) + * @return GetPairResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public GetPairResult getPair() throws ApiException { + ApiResponse resp = getPairWithHttpInfo(); + return resp.getData(); + } + + /** + * + * 获取临时安全令牌(二元组) + * @return ApiResponse<GetPairResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPairWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getPairValidateBeforeCall(); + return apiClient.execute(call, GetPairResult.class); + } + + /** + * (asynchronously) + * 获取临时安全令牌(二元组) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPairAsync(final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = getPairValidateBeforeCall(); + apiClient.executeAsync(call, GetPairResult.class, callback); + return call; + } + /** + * Build call for getTriple + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getTripleCall() throws ApiException { + + // create path and map variables + String localVarPath = "/sts"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call getTripleValidateBeforeCall() throws ApiException { + + com.squareup.okhttp.Call call = getTripleCall(); + return call; + } + + /** + * + * 获取临时安全令牌 + * @return GetTripleResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public GetTripleResult getTriple() throws ApiException { + ApiResponse resp = getTripleWithHttpInfo(); + return resp.getData(); + } + + /** + * + * 获取临时安全令牌 + * @return ApiResponse<GetTripleResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getTripleWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getTripleValidateBeforeCall(); + return apiClient.execute(call, GetTripleResult.class); + } + + /** + * (asynchronously) + * 获取临时安全令牌 + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getTripleAsync(final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = getTripleValidateBeforeCall(); + apiClient.executeAsync(call, GetTripleResult.class, callback); + return call; + } +} From 3340918699dd9a1b06b9a47809442ae387761b3e Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:15:03 +0800 Subject: [PATCH 227/235] feat: update --- .../client/api/UsercontrollerApi.java | 628 ++++++++++++++++++ 1 file changed, 628 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/api/UsercontrollerApi.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/api/UsercontrollerApi.java b/src/main/java/com/alibaba/yjopenapi/client/api/UsercontrollerApi.java new file mode 100644 index 000000000..0034cc812 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/api/UsercontrollerApi.java @@ -0,0 +1,628 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.api; + +import java.io.IOException; + +import com.alibaba.yjopenapi.client.model.UsercontrollerDeleteGameArchiveResult; +import com.alibaba.yjopenapi.client.model.UsercontrollerGetGameTrialSurplusDurationResult; +import com.alibaba.yjopenapi.client.model.UsercontrollerGetUserGameArchiveResult; +import com.alibaba.yjopenapi.client.model.UsercontrollerListLatestGameArchiveResult; +import com.alibaba.yjopenapi.client.model.UsercontrollerRestoreGameArchiveResult; +import com.alibaba.yjopenapi.client.model.UsercontrollerUpdateGameArchiveTagStatusResult; + +import com.alibaba.yjopenapi.client.model.*; + +import java.util.Arrays; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class UsercontrollerApi { + private ApiClient apiClient; + private Configuration configuration; + + public UsercontrollerApi() { + this(new ApiClient(), Configuration.getDefaultConfiguration()); + } + + public UsercontrollerApi(ApiClient apiClient, Configuration configuration) { + this.apiClient = apiClient; + this.configuration = configuration; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public Configuration getConfiguration() { + return configuration; + } + + public void setConfiguration(Configuration configuration) { + this.configuration = configuration; + } + + /** + * Build call for deleteGameArchive + * @param varForms UsercontrollerDeleteGameArchiveForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteGameArchiveCall(UsercontrollerDeleteGameArchiveForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/usercontroller/deleteGameArchive"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("accountId", varForms.getAccountId()); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("archiveId", varForms.getArchiveId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call deleteGameArchiveValidateBeforeCall(UsercontrollerDeleteGameArchiveForms varForms) throws ApiException { + // verify the required parameter 'accountId' is set + if (varForms.getAccountId() == null) { + throw new ApiException("Missing the required parameter 'accountId' when calling deleteGameArchive(Async)"); + } + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling deleteGameArchive(Async)"); + } + // verify the required parameter 'archiveId' is set + if (varForms.getArchiveId() == null) { + throw new ApiException("Missing the required parameter 'archiveId' when calling deleteGameArchive(Async)"); + } + + com.squareup.okhttp.Call call = deleteGameArchiveCall(varForms); + return call; + } + + /** + * + * + * @param varForms UsercontrollerDeleteGameArchiveForms + * @return UsercontrollerDeleteGameArchiveResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public UsercontrollerDeleteGameArchiveResult deleteGameArchive(UsercontrollerDeleteGameArchiveForms varForms) throws ApiException { + ApiResponse resp = deleteGameArchiveWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms UsercontrollerDeleteGameArchiveForms + * @return ApiResponse<UsercontrollerDeleteGameArchiveResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteGameArchiveWithHttpInfo(UsercontrollerDeleteGameArchiveForms varForms) throws ApiException { + com.squareup.okhttp.Call call = deleteGameArchiveValidateBeforeCall(varForms); + return apiClient.execute(call, UsercontrollerDeleteGameArchiveResult.class); + } + + /** + * (asynchronously) + * + * @param varForms UsercontrollerDeleteGameArchiveForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteGameArchiveAsync(UsercontrollerDeleteGameArchiveForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = deleteGameArchiveValidateBeforeCall(varForms); + apiClient.executeAsync(call, UsercontrollerDeleteGameArchiveResult.class, callback); + return call; + } + /** + * Build call for getGameTrialSurplusDuration + * @param varForms UsercontrollerGetGameTrialSurplusDurationForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getGameTrialSurplusDurationCall(UsercontrollerGetGameTrialSurplusDurationForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/usercontroller/getGameTrialSurplusDuration"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("accountId", varForms.getAccountId()); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("projectId", varForms.getProjectId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call getGameTrialSurplusDurationValidateBeforeCall(UsercontrollerGetGameTrialSurplusDurationForms varForms) throws ApiException { + // verify the required parameter 'accountId' is set + if (varForms.getAccountId() == null) { + throw new ApiException("Missing the required parameter 'accountId' when calling getGameTrialSurplusDuration(Async)"); + } + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling getGameTrialSurplusDuration(Async)"); + } + // verify the required parameter 'projectId' is set + if (varForms.getProjectId() == null) { + throw new ApiException("Missing the required parameter 'projectId' when calling getGameTrialSurplusDuration(Async)"); + } + + com.squareup.okhttp.Call call = getGameTrialSurplusDurationCall(varForms); + return call; + } + + /** + * + * + * @param varForms UsercontrollerGetGameTrialSurplusDurationForms + * @return UsercontrollerGetGameTrialSurplusDurationResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public UsercontrollerGetGameTrialSurplusDurationResult getGameTrialSurplusDuration(UsercontrollerGetGameTrialSurplusDurationForms varForms) throws ApiException { + ApiResponse resp = getGameTrialSurplusDurationWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms UsercontrollerGetGameTrialSurplusDurationForms + * @return ApiResponse<UsercontrollerGetGameTrialSurplusDurationResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getGameTrialSurplusDurationWithHttpInfo(UsercontrollerGetGameTrialSurplusDurationForms varForms) throws ApiException { + com.squareup.okhttp.Call call = getGameTrialSurplusDurationValidateBeforeCall(varForms); + return apiClient.execute(call, UsercontrollerGetGameTrialSurplusDurationResult.class); + } + + /** + * (asynchronously) + * + * @param varForms UsercontrollerGetGameTrialSurplusDurationForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getGameTrialSurplusDurationAsync(UsercontrollerGetGameTrialSurplusDurationForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = getGameTrialSurplusDurationValidateBeforeCall(varForms); + apiClient.executeAsync(call, UsercontrollerGetGameTrialSurplusDurationResult.class, callback); + return call; + } + /** + * Build call for getUserGameArchive + * @param varForms UsercontrollerGetUserGameArchiveForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getUserGameArchiveCall(UsercontrollerGetUserGameArchiveForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/usercontroller/getUserGameArchive"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("accountId", varForms.getAccountId()); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("projectId", varForms.getProjectId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call getUserGameArchiveValidateBeforeCall(UsercontrollerGetUserGameArchiveForms varForms) throws ApiException { + // verify the required parameter 'accountId' is set + if (varForms.getAccountId() == null) { + throw new ApiException("Missing the required parameter 'accountId' when calling getUserGameArchive(Async)"); + } + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling getUserGameArchive(Async)"); + } + // verify the required parameter 'projectId' is set + if (varForms.getProjectId() == null) { + throw new ApiException("Missing the required parameter 'projectId' when calling getUserGameArchive(Async)"); + } + + com.squareup.okhttp.Call call = getUserGameArchiveCall(varForms); + return call; + } + + /** + * + * + * @param varForms UsercontrollerGetUserGameArchiveForms + * @return UsercontrollerGetUserGameArchiveResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public UsercontrollerGetUserGameArchiveResult getUserGameArchive(UsercontrollerGetUserGameArchiveForms varForms) throws ApiException { + ApiResponse resp = getUserGameArchiveWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms UsercontrollerGetUserGameArchiveForms + * @return ApiResponse<UsercontrollerGetUserGameArchiveResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getUserGameArchiveWithHttpInfo(UsercontrollerGetUserGameArchiveForms varForms) throws ApiException { + com.squareup.okhttp.Call call = getUserGameArchiveValidateBeforeCall(varForms); + return apiClient.execute(call, UsercontrollerGetUserGameArchiveResult.class); + } + + /** + * (asynchronously) + * + * @param varForms UsercontrollerGetUserGameArchiveForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getUserGameArchiveAsync(UsercontrollerGetUserGameArchiveForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = getUserGameArchiveValidateBeforeCall(varForms); + apiClient.executeAsync(call, UsercontrollerGetUserGameArchiveResult.class, callback); + return call; + } + /** + * Build call for listLatestGameArchive + * @param varForms UsercontrollerListLatestGameArchiveForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listLatestGameArchiveCall(UsercontrollerListLatestGameArchiveForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/usercontroller/listLatestGameArchive"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("accountId", varForms.getAccountId()); + localVarFormParams.put("gameId", varForms.getGameId()); + if (varForms.getPageSize() != null) { + localVarFormParams.put("pageSize", varForms.getPageSize()); + } + if (varForms.getPageNumber() != null) { + localVarFormParams.put("pageNumber", varForms.getPageNumber()); + } + if (varForms.getTagStatus() != null) { + localVarFormParams.put("tagStatus", varForms.getTagStatus()); + } + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call listLatestGameArchiveValidateBeforeCall(UsercontrollerListLatestGameArchiveForms varForms) throws ApiException { + // verify the required parameter 'accountId' is set + if (varForms.getAccountId() == null) { + throw new ApiException("Missing the required parameter 'accountId' when calling listLatestGameArchive(Async)"); + } + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling listLatestGameArchive(Async)"); + } + + com.squareup.okhttp.Call call = listLatestGameArchiveCall(varForms); + return call; + } + + /** + * + * + * @param varForms UsercontrollerListLatestGameArchiveForms + * @return UsercontrollerListLatestGameArchiveResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public UsercontrollerListLatestGameArchiveResult listLatestGameArchive(UsercontrollerListLatestGameArchiveForms varForms) throws ApiException { + ApiResponse resp = listLatestGameArchiveWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms UsercontrollerListLatestGameArchiveForms + * @return ApiResponse<UsercontrollerListLatestGameArchiveResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listLatestGameArchiveWithHttpInfo(UsercontrollerListLatestGameArchiveForms varForms) throws ApiException { + com.squareup.okhttp.Call call = listLatestGameArchiveValidateBeforeCall(varForms); + return apiClient.execute(call, UsercontrollerListLatestGameArchiveResult.class); + } + + /** + * (asynchronously) + * + * @param varForms UsercontrollerListLatestGameArchiveForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listLatestGameArchiveAsync(UsercontrollerListLatestGameArchiveForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = listLatestGameArchiveValidateBeforeCall(varForms); + apiClient.executeAsync(call, UsercontrollerListLatestGameArchiveResult.class, callback); + return call; + } + /** + * Build call for restoreGameArchive + * @param varForms UsercontrollerRestoreGameArchiveForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call restoreGameArchiveCall(UsercontrollerRestoreGameArchiveForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/usercontroller/restoreGameArchive"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("accountId", varForms.getAccountId()); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("archiveId", varForms.getArchiveId()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call restoreGameArchiveValidateBeforeCall(UsercontrollerRestoreGameArchiveForms varForms) throws ApiException { + // verify the required parameter 'accountId' is set + if (varForms.getAccountId() == null) { + throw new ApiException("Missing the required parameter 'accountId' when calling restoreGameArchive(Async)"); + } + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling restoreGameArchive(Async)"); + } + // verify the required parameter 'archiveId' is set + if (varForms.getArchiveId() == null) { + throw new ApiException("Missing the required parameter 'archiveId' when calling restoreGameArchive(Async)"); + } + + com.squareup.okhttp.Call call = restoreGameArchiveCall(varForms); + return call; + } + + /** + * + * + * @param varForms UsercontrollerRestoreGameArchiveForms + * @return UsercontrollerRestoreGameArchiveResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public UsercontrollerRestoreGameArchiveResult restoreGameArchive(UsercontrollerRestoreGameArchiveForms varForms) throws ApiException { + ApiResponse resp = restoreGameArchiveWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms UsercontrollerRestoreGameArchiveForms + * @return ApiResponse<UsercontrollerRestoreGameArchiveResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse restoreGameArchiveWithHttpInfo(UsercontrollerRestoreGameArchiveForms varForms) throws ApiException { + com.squareup.okhttp.Call call = restoreGameArchiveValidateBeforeCall(varForms); + return apiClient.execute(call, UsercontrollerRestoreGameArchiveResult.class); + } + + /** + * (asynchronously) + * + * @param varForms UsercontrollerRestoreGameArchiveForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call restoreGameArchiveAsync(UsercontrollerRestoreGameArchiveForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = restoreGameArchiveValidateBeforeCall(varForms); + apiClient.executeAsync(call, UsercontrollerRestoreGameArchiveResult.class, callback); + return call; + } + /** + * Build call for updateGameArchiveTagStatus + * @param varForms UsercontrollerUpdateGameArchiveTagStatusForms + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call updateGameArchiveTagStatusCall(UsercontrollerUpdateGameArchiveTagStatusForms varForms) throws ApiException { + + // create path and map variables + String localVarPath = "/usercontroller/updateGameArchiveTagStatus"; + + Map localVarQueryParams = new HashMap(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + localVarFormParams.put("accountId", varForms.getAccountId()); + localVarFormParams.put("gameId", varForms.getGameId()); + localVarFormParams.put("archiveId", varForms.getArchiveId()); + localVarFormParams.put("tagStatus", varForms.getTagStatus()); + + final List localVarAccepts = Arrays.asList( + "application/json" + ); + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final List localVarContentTypes = Arrays.asList( + "application/x-www-form-urlencoded" + ); + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + String path = configuration.getScheme() + "://" + configuration.getHost() + localVarPath; + return apiClient.buildCall(path, "POST", localVarQueryParams, localVarHeaderParams, localVarFormParams, configuration); + } + + private com.squareup.okhttp.Call updateGameArchiveTagStatusValidateBeforeCall(UsercontrollerUpdateGameArchiveTagStatusForms varForms) throws ApiException { + // verify the required parameter 'accountId' is set + if (varForms.getAccountId() == null) { + throw new ApiException("Missing the required parameter 'accountId' when calling updateGameArchiveTagStatus(Async)"); + } + // verify the required parameter 'gameId' is set + if (varForms.getGameId() == null) { + throw new ApiException("Missing the required parameter 'gameId' when calling updateGameArchiveTagStatus(Async)"); + } + // verify the required parameter 'archiveId' is set + if (varForms.getArchiveId() == null) { + throw new ApiException("Missing the required parameter 'archiveId' when calling updateGameArchiveTagStatus(Async)"); + } + // verify the required parameter 'tagStatus' is set + if (varForms.getTagStatus() == null) { + throw new ApiException("Missing the required parameter 'tagStatus' when calling updateGameArchiveTagStatus(Async)"); + } + + com.squareup.okhttp.Call call = updateGameArchiveTagStatusCall(varForms); + return call; + } + + /** + * + * + * @param varForms UsercontrollerUpdateGameArchiveTagStatusForms + * @return UsercontrollerUpdateGameArchiveTagStatusResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public UsercontrollerUpdateGameArchiveTagStatusResult updateGameArchiveTagStatus(UsercontrollerUpdateGameArchiveTagStatusForms varForms) throws ApiException { + ApiResponse resp = updateGameArchiveTagStatusWithHttpInfo(varForms); + return resp.getData(); + } + + /** + * + * + * @param varForms UsercontrollerUpdateGameArchiveTagStatusForms + * @return ApiResponse<UsercontrollerUpdateGameArchiveTagStatusResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse updateGameArchiveTagStatusWithHttpInfo(UsercontrollerUpdateGameArchiveTagStatusForms varForms) throws ApiException { + com.squareup.okhttp.Call call = updateGameArchiveTagStatusValidateBeforeCall(varForms); + return apiClient.execute(call, UsercontrollerUpdateGameArchiveTagStatusResult.class); + } + + /** + * (asynchronously) + * + * @param varForms UsercontrollerUpdateGameArchiveTagStatusForms + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call updateGameArchiveTagStatusAsync(UsercontrollerUpdateGameArchiveTagStatusForms varForms, final ApiCallback callback) throws ApiException { + + com.squareup.okhttp.Call call = updateGameArchiveTagStatusValidateBeforeCall(varForms); + apiClient.executeAsync(call, UsercontrollerUpdateGameArchiveTagStatusResult.class, callback); + return call; + } +} From b803b5eb07151128e451f1a1e1f46d9f2fb40218 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:15:04 +0800 Subject: [PATCH 228/235] feat: update --- pom.xml | 176 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 pom.xml diff --git a/pom.xml b/pom.xml new file mode 100644 index 000000000..298119952 --- /dev/null +++ b/pom.xml @@ -0,0 +1,176 @@ + + 4.0.0 + com.alibaba + alibabacloud-yjopenapi-java-client + jar + alibabacloud-yjopenapi-java-client + 1.1.20240521 + https://github.com/aliyun/alibabacloud-yjopenapi-java-client + YuanJing OpenAPI SDK for Java + + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + yuanjingproducts + yuanjing-sdk-team + + + + + sonatype-nexus-snapshots + https://s01.oss.sonatype.org/content/repositories/snapshots + + + sonatype-nexus-staging + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.6.1 + + 7 + 7 + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + sonatype-nexus-staging + https://s01.oss.sonatype.org/ + true + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.1.1 + + UTF-8 + none + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.1 + + + org.apache.maven.plugins + maven-shade-plugin + 3.2.4 + + + package + + shade + + + + + com.squareup.okhttp + com.alibaba.external.okhttp + + + okio + com.alibaba.external.okio + + + com.alibaba.fastjson + com.alibaba.external.fastjson + + + + + org.jacoco:* + + + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + META-INF/*.MF + **/pom.xml + + + + + + + true + shaded + + + + + + + + + + + com.squareup.okhttp + okhttp + ${okhttp-version} + + + com.squareup.okhttp + logging-interceptor + ${okhttp-version} + + + com.alibaba + fastjson + ${fastjson-version} + + + + + + + 1.7 + ${java.version} + ${java.version} + + 2.7.5 + 1.2.83 + 1.0.0 + UTF-8 + + From 668c12cd1cd7b9f21d7a846e30ca4573c2ffe77e Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:15:05 +0800 Subject: [PATCH 229/235] feat: update --- README.md | 145 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 000000000..fe0d71bdd --- /dev/null +++ b/README.md @@ -0,0 +1,145 @@ +![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg) + +# YuanJing OpenAPI SDK for Java + +## Requirements + +Building the API client library requires: +1. Java 1.7+ +2. Maven + +## Installation + +### Maven users + +Add this dependency to your project's POM: + +```xml + + com.alibaba + alibabacloud-yjopenapi-java-client + 1.1.20240521 + + +or + + + com.alibaba + alibabacloud-yjopenapi-java-client + 1.1.20240521 + shaded + + + * + * + + + +``` + +## Usage + +```java +import com.alibaba.yjopenapi.client.api.*; +import com.alibaba.yjopenapi.client.model.*; + +Configuration configuration = Configuration.getDefaultConfiguration(); +configuration + .host("host") + .accessKey("Your Access Key") + .secretKey("Your Secret Key"); + +try { + // {{Api}},{{Method}},{{Param}},{{Result}} is placeholder, take a look at Explain Of Usage Placeholder + {{Api}} api = new {{Api}}(new ApiClient(), configuration); + // OpenAPI result + {{Result}} result = api.{{Method}}({{Param}}); + + // OpenAPI result with header + ApiResponse<{{Result}}> tripleWithHttpInfo = api. {{Method}}WithHttpInfo(); + result = tripleWithHttpInfo.getData(); + // OpenAPI TraceId + String traceId = tripleWithHttpInfo.getHeaders().get(ApiClient.Trace_Id).get(0); + // OpenAPI Status Code + String resultStatus = tripleWithHttpInfo.getHeaders().get(ApiClient.Result_Status).get(0); + +} catch (ApiException e) { + // handle exception +} +``` + +## Explain Of Usage Placeholder + +| Api | Method | Params | Result | Description | +| ------------ | ------------- | ------------- | ------------- | ------------- | + | *AdaptApi* | **createAndSubmitAll** | *createAndSubmitAllForms* | *AdaptCreateAndSubmitAllResult* | createAndSubmitAll | + | *AdaptApi* | **queryRequestById** | *queryRequestByIdForms* | *AdaptQueryRequestByIdResult* | queryRequestById | + | *ConsoleAdminApi* | **activateDeployment** | *activateDeploymentForms* | *ConsoleAdminActivateDeploymentResult* | | + | *ConsoleAdminApi* | **adaptGameVersion** | *adaptGameVersionForms* | *ConsoleAdminAdaptGameVersionResult* | | + | *ConsoleAdminApi* | **addGameToProject** | *addGameToProjectForms* | *ConsoleAdminAddGameToProjectResult* | | + | *ConsoleAdminApi* | **batchUpdateDispatchConfig** | *batchUpdateDispatchConfigForms* | *ConsoleAdminBatchUpdateDispatchConfigResult* | 批量更新游戏各自调度配置 | + | *ConsoleAdminApi* | **createGame** | *createGameForms* | *ConsoleAdminCreateGameResult* | | + | *ConsoleAdminApi* | **createOrder** | *createOrderForms* | *ConsoleAdminCreateOrderResult* | 订单下单 | + | *ConsoleAdminApi* | **createProject** | *createProjectForms* | *ConsoleAdminCreateProjectResult* | | + | *ConsoleAdminApi* | **deleteGame** | *deleteGameForms* | *ConsoleAdminDeleteGameResult* | | + | *ConsoleAdminApi* | **deleteGameVersion** | *deleteGameVersionForms* | *ConsoleAdminDeleteGameVersionResult* | | + | *ConsoleAdminApi* | **deleteProject** | *deleteProjectForms* | *ConsoleAdminDeleteProjectResult* | | + | *ConsoleAdminApi* | **getBillFlowInfo** | *getBillFlowInfoForms* | *ConsoleAdminGetBillFlowInfoResult* | | + | *ConsoleAdminApi* | **getGameVersion** | *getGameVersionForms* | *ConsoleAdminGetGameVersionResult* | | + | *ConsoleAdminApi* | **getGameVersionProgress** | *getGameVersionProgressForms* | *ConsoleAdminGetGameVersionProgressResult* | | + | *ConsoleAdminApi* | **getOrder** | *getOrderForms* | *ConsoleAdminGetOrderResult* | 查询订单 | + | *ConsoleAdminApi* | **listActivateableInstances** | *listActivateableInstancesForms* | *ConsoleAdminListActivateableInstancesResult* | | + | *ConsoleAdminApi* | **listActivatedInstances** | *listActivatedInstancesForms* | *ConsoleAdminListActivatedInstancesResult* | | + | *ConsoleAdminApi* | **listControllersOfGame** | *listControllersOfGameForms* | *ConsoleAdminListControllersOfGameResult* | | + | *ConsoleAdminApi* | **listDeployableInstances** | *listDeployableInstancesForms* | *ConsoleAdminListDeployableInstancesResult* | | + | *ConsoleAdminApi* | **listGameDeployDetailsOfProject** | *listGameDeployDetailsOfProjectForms* | *ConsoleAdminListGameDeployDetailsOfProjectResult* | 获取项目下游戏部署版本信息。 | + | *ConsoleAdminApi* | **listGameVersions** | *listGameVersionsForms* | *ConsoleAdminListGameVersionsResult* | | + | *ConsoleAdminApi* | **listGames** | *listGamesForms* | *ConsoleAdminListGamesResult* | | + | *ConsoleAdminApi* | **listInstancesOfProject** | *listInstancesOfProjectForms* | *ConsoleAdminListInstancesOfProjectResult* | 分页获取项目中的实例 | + | *ConsoleAdminApi* | **listMonthBill** | *listMonthBillForms* | *ConsoleAdminListMonthBillResult* | 月度账单列表 | + | *ConsoleAdminApi* | **listProjects** | *listProjectsForms* | *ConsoleAdminListProjectsResult* | | + | *ConsoleAdminApi* | **listVersionDeployInstances** | *listVersionDeployInstancesForms* | *ConsoleAdminListVersionDeployInstancesResult* | 获取项目下游戏版本的部署实例信息。 | + | *ConsoleAdminApi* | **queryAdaptResultByVersionId** | *queryAdaptResultByVersionIdForms* | *ConsoleAdminQueryAdaptResultByVersionIdResult* | 查询适配结果 | + | *ConsoleAdminApi* | **recommendSpecification** | *recommendSpecificationForms* | *ConsoleAdminRecommendSpecificationResult* | | + | *ConsoleAdminApi* | **removeGameFromProject** | *removeGameFromProjectForms* | *ConsoleAdminRemoveGameFromProjectResult* | | + | *ConsoleAdminApi* | **submitDeployment** | *submitDeploymentForms* | *ConsoleAdminSubmitDeploymentResult* | | + | *ConsoleAdminApi* | **uploadGameVersionByDownload** | *uploadGameVersionByDownloadForms* | *ConsoleAdminUploadGameVersionByDownloadResult* | | + | *DispatchApi* | **batchStopGame** | *batchStopGameForms* | *BatchStopGameResult* | | + | *DispatchApi* | **cancelGameHang** | *cancelGameHangForms* | *CancelGameHangResult* | 取消游戏挂机 | + | *DispatchApi* | **clientNotify** | *clientNotifyForms* | *ClientNotifyResult* | clientNotify | + | *DispatchApi* | **gameNotify** | *gameNotifyForms* | *GameNotifyResult* | 游戏通知接口 | + | *DispatchApi* | **getGameConcurrency** | *getGameConcurrencyForms* | *GetGameConcurrencyResult* | 调用GetGameConcurrency获取游戏当前并发数 | + | *DispatchApi* | **getStock** | *getStockForms* | *GetStockResult* | 调用GetStock获取游戏当前库存 | + | *DispatchApi* | **getStopGameToken** | *getStopGameTokenForms* | *GetStopGameTokenResult* | 全量踢下线获取token | + | *DispatchApi* | **listGameServerIp** | *listGameServerIpForms* | *ListGameServerIpResult* | | + | *DispatchApi* | **queryGameHang** | *queryGameHangForms* | *QueryGameHangResult* | 查询游戏挂机状态 | + | *DispatchApi* | **querySessionStatus** | *querySessionStatusForms* | *QuerySessionStatusResult* | 查询会话当前状态 | + | *DispatchApi* | **setGameAlive** | *setGameAliveForms* | *SetGameAliveResult* | 设置游戏可运行时长 | + | *DispatchApi* | **setGameHang** | *setGameHangForms* | *SetGameHangResult* | 设置游戏挂机 | + | *DispatchApi* | **stopGame** | *stopGameForms* | *StopGameResult* | 服务端发起,停止某个用户的某个游戏的某个会话 | + | *DispatchApi* | **stopPreopenContainer** | *stopPreopenContainerForms* | *StopPreopenContainerResult* | 停止预开容器 | + | *DispatchApi* | **tryToGetSlot** | *tryToGetSlotForms* | *TryToGetSlotResult* | 为用户调度分配游戏容器,容器一旦分配成功会被锁住,一段时间内不再分配给其他用户,过期释放。 | + | *DispatchApi* | **tryToGetSlots** | *tryToGetSlotsForms* | *TryToGetSlotsResult* | tryToGetSlots | + | *DispatchApi* | **updatePreopenStrategy** | *updatePreopenStrategyForms* | *UpdatePreopenStrategyResult* | 更新预开预起策略 | + | *LiveApi* | **queryStatus** | *queryStatusForms* | *LiveQueryStatusResult* | | + | *LiveApi* | **startGameLive** | *startGameLiveForms* | *LiveStartGameLiveResult* | | + | *LiveApi* | **stopGameLive** | *stopGameLiveForms* | *LiveStopGameLiveResult* | | + | *MultiplayApi* | **close** | *closeForms* | *MultiplayCloseResult* | | + | *MultiplayApi* | **init** | *initForms* | *MultiplayInitResult* | | + | *MultiplayApi* | **join** | *joinForms* | *MultiplayJoinResult* | | + | *MultiplayApi* | **leave** | *leaveForms* | *MultiplayLeaveResult* | | + | *MultiplayApi* | **modify** | *modifyForms* | *MultiplayModifyResult* | | + | *MultiplayApi* | **query** | *queryForms* | *MultiplayQueryResult* | | + | *TokenApi* | **getPair** | | *GetPairResult* | 获取临时安全令牌(二元组) | + | *TokenApi* | **getTriple** | | *GetTripleResult* | 获取临时安全令牌 | + | *UsercontrollerApi* | **deleteGameArchive** | *deleteGameArchiveForms* | *UsercontrollerDeleteGameArchiveResult* | | + | *UsercontrollerApi* | **getGameTrialSurplusDuration** | *getGameTrialSurplusDurationForms* | *UsercontrollerGetGameTrialSurplusDurationResult* | | + | *UsercontrollerApi* | **getUserGameArchive** | *getUserGameArchiveForms* | *UsercontrollerGetUserGameArchiveResult* | | + | *UsercontrollerApi* | **listLatestGameArchive** | *listLatestGameArchiveForms* | *UsercontrollerListLatestGameArchiveResult* | | + | *UsercontrollerApi* | **restoreGameArchive** | *restoreGameArchiveForms* | *UsercontrollerRestoreGameArchiveResult* | | + | *UsercontrollerApi* | **updateGameArchiveTagStatus** | *updateGameArchiveTagStatusForms* | *UsercontrollerUpdateGameArchiveTagStatusResult* | | + +## License +[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) + +Copyright (c) 2009-present, Alibaba Cloud All rights reserved. From 41dd8c7071dc387005f6351a8833c6cb251e4017 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:15:07 +0800 Subject: [PATCH 230/235] feat: update --- .../yjopenapi/client/api/ApiClient.java | 745 ++++++++++++++++++ 1 file changed, 745 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/api/ApiClient.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/api/ApiClient.java b/src/main/java/com/alibaba/yjopenapi/client/api/ApiClient.java new file mode 100644 index 000000000..8422978f3 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/api/ApiClient.java @@ -0,0 +1,745 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.api; + +import com.squareup.okhttp.*; +import com.squareup.okhttp.internal.http.HttpMethod; +import javax.xml.bind.DatatypeConverter; + +import javax.net.ssl.*; +import java.io.IOException; +import java.io.InputStream; +import java.io.UnsupportedEncodingException; +import java.net.URLConnection; +import java.net.URLEncoder; +import java.security.MessageDigest; +import java.text.DateFormat; +import java.text.SimpleDateFormat; +import java.util.*; +import java.util.Arrays; +import java.util.Map.Entry; +import java.util.concurrent.TimeUnit; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +import com.alibaba.fastjson.JSON; + +public class ApiClient { + + public static final String Trace_Id = "Traceid"; + public static final String Result_Status = "Result-Status"; + + private String basePath = "/"; + + private Map defaultHeaderMap = new HashMap(); + + private OkHttpClient httpClient; + + /* + * Constructor for ApiClient + */ + public ApiClient() { + httpClient = new OkHttpClient(); + + } + + /** + * Get base path + * + * @return Baes path + */ + public String getBasePath() { + return basePath; + } + + /** + * Set base path + * + * @param basePath Base path of the URL (e.g / + * @return An instance of OkHttpClient + */ + public ApiClient setBasePath(String basePath) { + this.basePath = basePath; + return this; + } + + /** + * Get HTTP client + * + * @return An instance of OkHttpClient + */ + public OkHttpClient getHttpClient() { + return httpClient; + } + + /** + * Set HTTP client + * + * @param httpClient An instance of OkHttpClient + * @return Api Client + */ + public ApiClient setHttpClient(OkHttpClient httpClient) { + this.httpClient = httpClient; + return this; + } + + /** + * Add a default header. + * + * @param key The header's key + * @param value The header's value + * @return ApiClient + */ + public ApiClient addDefaultHeader(String key, String value) { + defaultHeaderMap.put(key, value); + return this; + } + + /** + * Get connection timeout (in milliseconds). + * + * @return Timeout in milliseconds + */ + public int getConnectTimeout() { + return httpClient.getConnectTimeout(); + } + + /** + * Sets the connect timeout (in milliseconds). + * A value of 0 means no timeout, otherwise values must be between 1 and + * + * @param connectionTimeout connection timeout in milliseconds + * @return Api client + */ + public ApiClient setConnectTimeout(int connectionTimeout) { + httpClient.setConnectTimeout(connectionTimeout, TimeUnit.MILLISECONDS); + return this; + } + + /** + * Get read timeout (in milliseconds). + * + * @return Timeout in milliseconds + */ + public int getReadTimeout() { + return httpClient.getReadTimeout(); + } + + /** + * Sets the read timeout (in milliseconds). + * A value of 0 means no timeout, otherwise values must be between 1 and + * {@link Integer#MAX_VALUE}. + * + * @param readTimeout read timeout in milliseconds + * @return Api client + */ + public ApiClient setReadTimeout(int readTimeout) { + httpClient.setReadTimeout(readTimeout, TimeUnit.MILLISECONDS); + return this; + } + + /** + * Get write timeout (in milliseconds). + * + * @return Timeout in milliseconds + */ + public int getWriteTimeout() { + return httpClient.getWriteTimeout(); + } + + /** + * Sets the write timeout (in milliseconds). + * A value of 0 means no timeout, otherwise values must be between 1 and + * {@link Integer#MAX_VALUE}. + * + * @param writeTimeout connection timeout in milliseconds + * @return Api client + */ + public ApiClient setWriteTimeout(int writeTimeout) { + httpClient.setWriteTimeout(writeTimeout, TimeUnit.MILLISECONDS); + return this; + } + + /** + * Format the given parameter object into string. + * + * @param param Parameter + * @return String representation of the parameter + */ + public static String parameterToString(Object param) { + + List> primitives = Arrays.asList(String.class,Boolean.class,Double.class,Integer.class,Long.class,Float.class); + + if (param == null) { + return ""; + } else if (param instanceof Date) { + return new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format((Date) param); + } else if (param.getClass().isPrimitive() || primitives.contains(param.getClass())) { + return String.valueOf(param); + } else { + //Serialize to json string and remove the " enclosing characters + return JSON.toJSONString(param); + // return jsonStr.substring(1, jsonStr.length() - 1); + } + } + + /** + * Formats the specified query parameter to a list containing a single {@code Pair} object. + * + * Note that {@code value} must not be a collection. + * + * @param name The name of the parameter. + * @param value The value of the parameter. + * @return A list containing a single {@code Pair} object. + */ + //public List parameterToPair(String name, Object value) { + // List params = new ArrayList(); + // + // // preconditions + // if (name == null || name.isEmpty() || value == null || value instanceof Collection) { + // return params; + // } + // + // params.add(new Pair(name, parameterToString(value))); + // return params; + //} + + /** + * Formats the specified collection query parameters to a list of {@code Pair} objects. + * + * Note that the values of each of the returned Pair objects are percent-encoded. + * + * @param collectionFormat The collection format of the parameter. + * @param name The name of the parameter. + * @param value The value of the parameter. + * @return A list of {@code Pair} objects. + */ + //public List parameterToPairs(String collectionFormat, String name, Collection value) { + // List params = new ArrayList(); + // + // // preconditions + // if (name == null || name.isEmpty() || value == null || value.isEmpty()) { + // return params; + // } + // + // // create the params based on the collection format + // if ("multi".equals(collectionFormat)) { + // for (Object item : value) { + // params.add(new Pair(name, escapeString(parameterToString(item)))); + // } + // return params; + // } + // + // // collectionFormat is assumed to be "csv" by default + // //String delimiter = ","; + // + // // escape all delimiters except commas, which are URI reserved + // // characters + // //if ("ssv".equals(collectionFormat)) { + // // delimiter = escapeString(" "); + // //} else if ("tsv".equals(collectionFormat)) { + // // delimiter = escapeString("\t"); + // //} else if ("pipes".equals(collectionFormat)) { + // // delimiter = escapeString("|"); + // //} + // + // //StringBuilder sb = new StringBuilder() ; + // //for (Object item : value) { + // // sb.append(delimiter); + // // sb.append(escapeString(parameterToString(item))); + // //} + // + // //params.add(new Pair(name, sb.substring(delimiter.length()))); + // + // return params; + //} + + /** + * Sanitize filename by removing path. + * e.g. ../../sun.gif becomes sun.gif + * + * @param filename The filename to be sanitized + * @return The sanitized filename + */ + public String sanitizeFilename(String filename) { + return filename.replaceAll(".*[/\\\\]", ""); + } + + /** + * Check if the given MIME is a JSON MIME. + * JSON MIME examples: + * application/json + * application/json; charset=UTF8 + * APPLICATION/JSON + * application/vnd.company+json + * "* / *" is also default to JSON + * @param mime MIME (Multipurpose Internet Mail Extensions) + * @return True if the given MIME is JSON, false otherwise. + */ + public boolean isJsonMime(String mime) { + String jsonMime = "(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"; + return mime != null && (mime.matches(jsonMime) || mime.equals("*/*")); + } + + /** + * Select the Accept header's value from the given accepts array: + * if JSON exists in the given array, use it; + * otherwise use all of them (joining into a string) + * + * @param accepts The accepts array to select from + * @return The Accept header to use. If the given array is empty, + * null will be returned (not to set the Accept header explicitly). + */ + public String selectHeaderAccept(List accepts) { + if (accepts == null || accepts.isEmpty()) { + return null; + } + for (String accept : accepts) { + if (isJsonMime(accept)) { + return accept; + } + } + return join(accepts, ","); + } + + /** + * Select the Content-Type header's value from the given array: + * if JSON exists in the given array, use it; + * otherwise use the first one of the array. + * + * @param contentTypes The Content-Type array to select from + * @return The Content-Type header to use. If the given array is empty, + * or matches "any", JSON will be used. + */ + public String selectHeaderContentType(List contentTypes) { + if (contentTypes == null || contentTypes.isEmpty() || contentTypes.contains("*/*")) { + return "application/json"; + } + for (String contentType : contentTypes) { + if (isJsonMime(contentType)) { + return contentType; + } + } + return contentTypes.get(0); + } + + /** + * Escape the given string to be used as URL query value. + * + * @param str String to be escaped + * @return Escaped string + */ + public String escapeString(String str) { + try { + return URLEncoder.encode(str, "utf8").replaceAll("\\+", "%20"); + } catch (UnsupportedEncodingException e) { + return str; + } + } + + /** + * Deserialize response body to Java object, according to the return type and + * the Content-Type response header. + * + * @param Type + * @param response HTTP response + * @param returnType The type of the Java object + * @return The deserialized Java object + * @throws ApiException If fail to deserialize response body, i.e. cannot read response body + * or the Content-Type of the response is not supported. + */ + public T deserialize(Response response, Class returnType) throws ApiException { + if (response == null || returnType == null) { + return null; + } + + String respBody; + try (ResponseBody body = response.body()) { + if (body != null) { + respBody = body.string(); + } else { + respBody = null; + } + } catch (IOException e) { + throw new ApiException(e); + } + + if (respBody == null || "".equals(respBody)) { + return null; + } + + String contentType = response.headers().get("Content-Type"); + if (contentType == null) { + // ensuring a default content type + contentType = "application/json"; + } + if (isJsonMime(contentType)) { + return JSON.parseObject(respBody, returnType); + } else { + throw new ApiException( + "Content type \"" + contentType + "\" is not supported for type: " + returnType, + response.code(), + response.headers().toMultimap(), + respBody); + } + } + + /** + * Serialize the given Java object into request body according to the object's + * class and the request Content-Type. + * + * @param obj The Java object + * @param contentType The request Content-Type + * @return The serialized request body + * @throws ApiException If fail to serialize the given object + */ + public RequestBody serialize(Object obj, String contentType) throws ApiException { + if (isJsonMime(contentType)) { + String content; + if (obj != null) { + content = JSON.toJSONString(obj); + } else { + content = ""; + } + return RequestBody.create(MediaType.parse(contentType), content); + } else { + throw new ApiException("Content type \"" + contentType + "\" is not supported"); + } + } + + /** + * {@link #execute(Call, Class)} + * + * @param Type + * @param call An instance of the Call object + * @throws ApiException If fail to execute the call + * @return ApiResponse<T> + */ + public ApiResponse execute(Call call) throws ApiException { + return execute(call, null); + } + + /** + * Execute HTTP call and deserialize the HTTP response body into the given return type. + * + * @param returnType The return type used to deserialize HTTP response body + * @param The return type corresponding to (same with) returnType + * @param call Call + * @return ApiResponse object containing response status, headers and + * data, which is a Java object deserialized from response body and would be null + * when returnType is null. + * @throws ApiException If fail to execute the call + */ + public ApiResponse execute(Call call, Class returnType) throws ApiException { + try { + Response response = call.execute(); + T data = handleResponse(response, returnType); + return new ApiResponse(response.code(), response.headers().toMultimap(), data); + } catch (IOException e) { + throw new ApiException(e); + } + } + + /** + * {@link #executeAsync(Call, Class, ApiCallback)} + * + * @param Type + * @param call An instance of the Call object + * @param callback ApiCallback<T> + */ + public void executeAsync(Call call, ApiCallback callback) { + executeAsync(call, null, callback); + } + + /** + * Execute HTTP call asynchronously. + * + * @see #execute(Call, Class) + * @param Type + * @param call The callback to be executed when the API call finishes + * @param returnType Return type + * @param callback ApiCallback + */ + public void executeAsync(Call call, final Class returnType, final ApiCallback callback) { + call.enqueue(new Callback() { + @Override + public void onFailure(Request request, IOException e) { + callback.onFailure(new ApiException(e), 0, null); + } + + @Override + public void onResponse(Response response) throws IOException { + T result; + try { + result = (T) handleResponse(response, returnType); + } catch (ApiException e) { + callback.onFailure(e, response.code(), response.headers().toMultimap()); + return; + } + callback.onSuccess(result, response.code(), response.headers().toMultimap()); + } + }); + } + + /** + * Handle the given response, return the deserialized object when the response is successful. + * + * @param Type + * @param response Response + * @param returnType Return type + * @throws ApiException If the response has a unsuccessful status code or + * fail to deserialize the response body + * @return Type + */ + public T handleResponse(Response response, Class returnType) throws ApiException { + if (response.isSuccessful()) { + if (returnType == null) { + // returning null if the returnType is not defined, + // or the status code is 204 (No Content) + try (ResponseBody body = response.body()) { + return null; + } catch (IOException e) { + throw new ApiException(response.message(), e, response.code(), response.headers().toMultimap()); + } + } else { + return deserialize(response, returnType); + } + } else { + try (ResponseBody body = response.body()) { + String respBody = null; + if (body != null) { + respBody = body.string(); + } + throw new ApiException(response.message(), response.code(), response.headers().toMultimap(), respBody); + } catch (IOException e) { + throw new ApiException(response.message(), e, response.code(), response.headers().toMultimap()); + } + } + } + + /** + * Build HTTP call with the given options. + * + * @param path The sub-path of the HTTP URL + * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE" + * @param queryParams The query parameters + * @param headerParams The header parameters + * @param formParams The form parameters + * @return The HTTP call + * @throws ApiException If fail to serialize the request body object + */ + public Call buildCall(String path, String method, Map queryParams, Map headerParams, Map formParams, Configuration configuration) throws ApiException { + Request request = buildRequest(path, method, queryParams, headerParams, formParams, configuration); + + return httpClient.newCall(request); + } + + /** + * Build an HTTP request with the given options. + * + * @param path The sub-path of the HTTP URL + * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE" + * @param queryParams The query parameters + * @param headerParams The header parameters + * @param formParams The form parameters + * @return The HTTP request + * @throws ApiException If fail to serialize the request body object + */ + public Request buildRequest(String path, String method, Map queryParams, Map headerParams, Map formParams, Configuration configuration) throws ApiException { + + final String url = buildUrl(path, queryParams); + final Request.Builder reqBuilder = new Request.Builder().url(url); + + Map signHeader = prepareSignHeader(queryParams, formParams, method, configuration); + headerParams.putAll(signHeader); + + processHeaderParams(headerParams, reqBuilder); + + String contentType = (String) headerParams.get("Content-Type"); + // ensuring a default content type + if (contentType == null) { + contentType = "application/json"; + } + + RequestBody reqBody = null; + if (!HttpMethod.permitsRequestBody(method)) { + reqBody = null; + } else if ("application/x-www-form-urlencoded".equals(contentType)) { + reqBody = buildRequestBodyFormEncoding(formParams); + } else { + // use an empty request body (for POST, PUT and PATCH) + reqBody = RequestBody.create(MediaType.parse(contentType), ""); + // reqBody = serialize(null, contentType); + } + + Request request = reqBuilder.method(method, reqBody).build(); + return request; + } + + /** + * Build full URL by concatenating base path, the given sub path and query parameters. + * + * @param path The sub path + * @param queryParams The query parameters + * @return The full URL + */ + public String buildUrl(String path, Map queryParams) { + final StringBuilder url = new StringBuilder(path); + + if (queryParams != null && !queryParams.isEmpty()) { + // support (constant) query string in `path`, e.g. "/posts?draft=1" + String prefix = path.contains("?") ? "&" : "?"; + for (Entry param : queryParams.entrySet()) { + if (param.getValue() != null) { + if (prefix != null) { + url.append(prefix); + prefix = null; + } else { + url.append("&"); + } + String value = parameterToString(param.getValue()); + url.append(escapeString(param.getKey())).append("=").append(escapeString(value)); + } + } + } + + //if (collectionQueryParams != null && !collectionQueryParams.isEmpty()) { + // String prefix = url.toString().contains("?") ? "&" : "?"; + // for (Pair param : collectionQueryParams) { + // if (param.getValue() != null) { + // if (prefix != null) { + // url.append(prefix); + // prefix = null; + // } else { + // url.append("&"); + // } + // String value = parameterToString(param.getValue()); + // // collection query parameter value already escaped as part of parameterToPairs + // url.append(escapeString(param.getName())).append("=").append(value); + // } + // } + //} + + return url.toString(); + } + + /** + * Set header parameters to the request builder, including default headers. + * + * @param headerParams Header parameters in the ofrm of Map + * @param reqBuilder Reqeust.Builder + */ + public void processHeaderParams(Map headerParams, Request.Builder reqBuilder) { + reqBuilder.header("User-Agent", "cgw-client/1.0.0/java"); + + for (Entry param : headerParams.entrySet()) { + reqBuilder.header(param.getKey(), parameterToString(param.getValue())); + } + } + + /** + * Build a form-encoding request body with the given form parameters. + * + * @param formParams Form parameters in the form of Map + * @return RequestBody + */ + public RequestBody buildRequestBodyFormEncoding(Map formParams) { + FormEncodingBuilder formBuilder = new FormEncodingBuilder(); + for (Entry param : formParams.entrySet()) { + formBuilder.add(param.getKey(), parameterToString(param.getValue())); + } + return formBuilder.build(); + } + + private static String join(List array, String separator) { + if (array == null || array.isEmpty()) { + return ""; + } + StringBuilder out = new StringBuilder(); + out.append(array.get(0)); + for (int i = 1; i < array.size(); i++) { + out.append(separator).append(array.get(i)); + } + return out.toString(); + } + + public static Map prepareSignHeader(Map queryParams, Map formParams, String method, Configuration configuration) + throws ApiException { + + String nonce = UUID.randomUUID().toString().replaceAll("-", ""); + SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'"); + df.setTimeZone(new SimpleTimeZone(0, "GMT")); + String timestamp = df.format(new Date()); + String signatureMethod = configuration.getSignatureMethod(); + String signatureVersion = configuration.getSignatureVersion(); + String accessKey = configuration.getAccessKey(); + + Map parameters = new HashMap(); + // 加入公共请求参数 + parameters.put("SignatureMethod", signatureMethod); + parameters.put("SignatureNonce", nonce); + parameters.put("SignatureVersion", signatureVersion); + parameters.put("AccessKey", accessKey); + parameters.put("Timestamp", timestamp); + + if (queryParams != null && !queryParams.isEmpty()) { + parameters.putAll(queryParams); + } + + if (formParams != null && !formParams.isEmpty()) { + for (Entry param : formParams.entrySet()) { + parameters.put(param.getKey(), parameterToString(param.getValue())); + } + } + + try { + Map headers = new HashMap(); + headers.put("Signature", md5(getSignRaw(parameters, method, configuration.getSecretKey()))); + headers.put("Accesskey", accessKey); + headers.put("Signaturenonce", nonce); + headers.put("Signatureversion", signatureVersion); + headers.put("Timestamp", timestamp); + headers.put("Signaturemethod", signatureMethod); + + return headers; + } catch (Exception e) { + throw new ApiException(e); + } + } + + private static String getSignRaw(Map parameters, String method, String sk) throws Exception { + return sk + "&" + keySignInput(parameters, method); + } + + private static String keySignInput(Map parameters, String method) throws Exception { + + Map order = new TreeMap<>(parameters); + StringBuilder stringToSign = new StringBuilder(); + stringToSign.append(method).append("&").append(encode("/")); + + List keyValPairs = new ArrayList<>(); + for (Entry param : order.entrySet()) { + keyValPairs.add(param.getKey() + "=" + encode(param.getValue())); + } + String queryString = join(keyValPairs, "&"); + + stringToSign.append("&").append(encode(queryString)); + return stringToSign.toString(); + + } + + private static String encode(String stringToEncode) throws Exception { + return URLEncoder.encode(stringToEncode, "utf8").replaceAll("\\+", "%20").replaceAll("\\*", "%2A").replaceAll("%7E", "~"); + } + + private static String md5(String str) throws Exception { + MessageDigest md = MessageDigest.getInstance("MD5"); + md.update(str.getBytes()); + byte[] digest = md.digest(); + return DatatypeConverter.printHexBinary(digest).toLowerCase(); + } +} From 033dc88da94dbff41ac589ad66a1e1e70fa01841 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:15:08 +0800 Subject: [PATCH 231/235] feat: update From 28bb47b2f88cc6f0704161128fbfb55016af1fb5 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:15:09 +0800 Subject: [PATCH 232/235] feat: update --- .../yjopenapi/client/api/ApiException.java | 83 +++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/api/ApiException.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/api/ApiException.java b/src/main/java/com/alibaba/yjopenapi/client/api/ApiException.java new file mode 100644 index 000000000..580630767 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/api/ApiException.java @@ -0,0 +1,83 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.api; + +import java.util.Map; +import java.util.List; + +public class ApiException extends Exception { + private int code = 0; + private Map> responseHeaders = null; + private String responseBody = null; + + public ApiException() {} + + public ApiException(Throwable throwable) { + super(throwable); + } + + public ApiException(String message) { + super(message); + } + + public ApiException(String message, Throwable throwable, int code, Map> responseHeaders, String responseBody) { + super(message, throwable); + this.code = code; + this.responseHeaders = responseHeaders; + this.responseBody = responseBody; + } + + public ApiException(String message, int code, Map> responseHeaders, String responseBody) { + this(message, (Throwable) null, code, responseHeaders, responseBody); + } + + public ApiException(String message, Throwable throwable, int code, Map> responseHeaders) { + this(message, throwable, code, responseHeaders, null); + } + + public ApiException(int code, Map> responseHeaders, String responseBody) { + this((String) null, (Throwable) null, code, responseHeaders, responseBody); + } + + public ApiException(int code, String message) { + super(message); + this.code = code; + } + + public ApiException(int code, String message, Map> responseHeaders, String responseBody) { + this(code, message); + this.responseHeaders = responseHeaders; + this.responseBody = responseBody; + } + + /** + * Get the HTTP status code. + * + * @return HTTP status code + */ + public int getCode() { + return code; + } + + /** + * Get the HTTP response headers. + * + * @return A map of list of string + */ + public Map> getResponseHeaders() { + return responseHeaders; + } + + /** + * Get the HTTP response body. + * + * @return Response body in the form of string + */ + public String getResponseBody() { + return responseBody; + } +} From 7eae5647f4b9d49e49f0e381e9d21c88bec3daf5 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:15:11 +0800 Subject: [PATCH 233/235] feat: update --- .../yjopenapi/client/api/Configuration.java | 212 ++++++++++++++++++ 1 file changed, 212 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/api/Configuration.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/api/Configuration.java b/src/main/java/com/alibaba/yjopenapi/client/api/Configuration.java new file mode 100644 index 000000000..f28a115f0 --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/api/Configuration.java @@ -0,0 +1,212 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.api; + +import java.util.HashMap; +import java.util.Map; + +public class Configuration { + + private static Configuration defaultConfiguration = new Configuration(); + + /** + * DefaultHeaders + * + */ + protected Map defaultHeaders = new HashMap(); + + /** + * SignatureVersion + * + */ + protected String signatureVersion = "1.0"; + + /** + * SignatureMethod + * + */ + protected String signatureMethod = "MD5"; + + /** + * AccessKey + * + */ + protected String accessKey = null; + + /** + * SecretKey + * + */ + protected String secretKey = null; + + /** + * HTTP scheme + * + */ + protected String scheme = "https"; + + /** + * Host + * + */ + protected String host = "/"; + + /** + * + * @return default configuration + */ + public static Configuration getDefaultConfiguration() { + return defaultConfiguration; + } + + /** + * + * @return headers + */ + public Map getDefaultHeaders() { + return defaultHeaders; + } + + /** + * @param key + * @param value + */ + public Configuration addHeader(String key, String value) { + this.defaultHeaders.put(key, value); + return this; + } + + public void setHeaders(Map headers) { + this.defaultHeaders = headers; + } + + /** + * + * @return signature version + */ + public String getSignatureVersion() { + return signatureVersion; + } + + /** + * + * @param signatureVersion + */ + public Configuration signatureVersion(String signatureVersion) { + this.signatureVersion = signatureVersion; + return this; + } + + public void setSignatureVersion(String signatureVersion) { + this.signatureVersion = signatureVersion; + } + + /** + * + * @return signature method + */ + public String getSignatureMethod() { + return signatureMethod; + } + + /** + * + * @param signatureMethod + */ + public Configuration signatureMethod(String signatureMethod) { + this.signatureMethod = signatureMethod; + return this; + } + + public void setSignatureMethod(String signatureMethod) { + this.signatureMethod = signatureMethod; + } + + /** + * + * @return access key + */ + public String getAccessKey() { + return accessKey; + } + + /** + * + * @param accessKey + */ + public Configuration accessKey(String accessKey) { + this.accessKey = accessKey; + return this; + } + + public void setAccessKey(String accessKey) { + this.accessKey = accessKey; + } + + /** + * + * @return secret key + */ + public String getSecretKey() { + return secretKey; + } + + /** + * + * @param secretKey + */ + public Configuration secretKey(String secretKey) { + this.secretKey = secretKey; + return this; + } + + public void setSecretKey(String secretKey) { + this.secretKey = secretKey; + } + + /** + * + * @return scheme + */ + public String getScheme() { + return scheme; + } + + /** + * + * @param scheme + */ + public Configuration scheme(String scheme) { + this.scheme = scheme; + return this; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } + + /** + * + * @return host + */ + public String getHost() { + return host; + } + + /** + * + * @param host + */ + public Configuration host(String host) { + this.host = host; + return this; + } + + public void setHost(String host) { + this.host = host; + } +} From aae912838ca7419d4d9cef2656fdeb21dc4e7c64 Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:15:12 +0800 Subject: [PATCH 234/235] feat: update --- .../yjopenapi/client/api/ApiCallback.java | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/api/ApiCallback.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/api/ApiCallback.java b/src/main/java/com/alibaba/yjopenapi/client/api/ApiCallback.java new file mode 100644 index 000000000..4b3f2a83a --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/api/ApiCallback.java @@ -0,0 +1,38 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.api; + +import java.io.IOException; + +import java.util.Map; +import java.util.List; + +/** + * Callback for asynchronous API call. + * + * @param The return type + */ +public interface ApiCallback { + /** + * This is called when the API call fails. + * + * @param e The exception causing the failure + * @param statusCode Status code of the response if available, otherwise it would be 0 + * @param responseHeaders Headers of the response if available, otherwise it would be null + */ + void onFailure(ApiException e, int statusCode, Map> responseHeaders); + + /** + * This is called when the API call succeeded. + * + * @param result The result deserialized from response + * @param statusCode Status code of the response + * @param responseHeaders Headers of the response + */ + void onSuccess(T result, int statusCode, Map> responseHeaders); + +} \ No newline at end of file From b76a4a6bc81aef334005c28d8be989d3dcd9384d Mon Sep 17 00:00:00 2001 From: Iven Date: Tue, 21 May 2024 00:15:13 +0800 Subject: [PATCH 235/235] feat: update --- .../yjopenapi/client/api/ApiResponse.java | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/main/java/com/alibaba/yjopenapi/client/api/ApiResponse.java diff --git a/src/main/java/com/alibaba/yjopenapi/client/api/ApiResponse.java b/src/main/java/com/alibaba/yjopenapi/client/api/ApiResponse.java new file mode 100644 index 000000000..cd495f22e --- /dev/null +++ b/src/main/java/com/alibaba/yjopenapi/client/api/ApiResponse.java @@ -0,0 +1,52 @@ +/* + * + * YuanJing OpenAPI SDK + * + */ + +package com.alibaba.yjopenapi.client.api; + +import java.util.List; +import java.util.Map; + +/** + * API response returned by API call. + * + * @param The type of data that is deserialized from response body + */ +public class ApiResponse { + final private int statusCode; + final private Map> headers; + final private T data; + + /** + * @param statusCode The status code of HTTP response + * @param headers The headers of HTTP response + */ + public ApiResponse(int statusCode, Map> headers) { + this(statusCode, headers, null); + } + + /** + * @param statusCode The status code of HTTP response + * @param headers The headers of HTTP response + * @param data The object deserialized from response bod + */ + public ApiResponse(int statusCode, Map> headers, T data) { + this.statusCode = statusCode; + this.headers = headers; + this.data = data; + } + + public int getStatusCode() { + return statusCode; + } + + public Map> getHeaders() { + return headers; + } + + public T getData() { + return data; + } +}