-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from aliyun/v1.0.x
feat: usercontroller & gameHang
- Loading branch information
Showing
36 changed files
with
5,102 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
456 changes: 456 additions & 0 deletions
456
src/main/java/com/alibaba/yjopenapi/client/api/DispatchApi.java
Large diffs are not rendered by default.
Oops, something went wrong.
533 changes: 533 additions & 0 deletions
533
src/main/java/com/alibaba/yjopenapi/client/api/UsercontrollerApi.java
Large diffs are not rendered by default.
Oops, something went wrong.
100 changes: 100 additions & 0 deletions
100
src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangForms.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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(); | ||
} | ||
|
||
} |
101 changes: 101 additions & 0 deletions
101
src/main/java/com/alibaba/yjopenapi/client/model/CancelGameHangResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
/* | ||
* | ||
* 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; | ||
|
||
|
||
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; | ||
} | ||
|
||
|
||
@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); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(success, model); | ||
} | ||
|
||
|
||
@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("}"); | ||
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(); | ||
} | ||
|
||
} |
Oops, something went wrong.