forked from myroid/jenkins-upload-pgyer-plugin
-
Notifications
You must be signed in to change notification settings - Fork 26
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 manongxiaoyun/pgyer_developers_update
Dandelion has modified the API for uploading APK or IPA, and the plug-in has made corresponding modifications
- Loading branch information
Showing
14 changed files
with
432 additions
and
44 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
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
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
96 changes: 96 additions & 0 deletions
96
src/main/java/ren/helloworld/upload2pgyer/apiv2/PgyerTokenBeanV2.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,96 @@ | ||
package ren.helloworld.upload2pgyer.apiv2; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
public class PgyerTokenBeanV2 { | ||
|
||
private int code; | ||
private String message; | ||
private DataBean data; | ||
|
||
public int getCode() { | ||
return code; | ||
} | ||
|
||
public void setCode(int code) { | ||
this.code = code; | ||
} | ||
|
||
public String getMessage() { | ||
return message; | ||
} | ||
|
||
public void setMessage(String message) { | ||
this.message = message; | ||
} | ||
|
||
public DataBean getData() { | ||
return data; | ||
} | ||
|
||
public void setData(DataBean data) { | ||
this.data = data; | ||
} | ||
|
||
public static class DataBean { | ||
|
||
private String key; | ||
private String endpoint; | ||
private Params params; | ||
|
||
public String getKey() { | ||
return key; | ||
} | ||
|
||
public void setKey(String key) { | ||
this.key = key; | ||
} | ||
|
||
public String getEndpoint() { | ||
return endpoint; | ||
} | ||
|
||
public void setEndpoint(String endpoint) { | ||
this.endpoint = endpoint; | ||
} | ||
|
||
public Params getParams() { | ||
return params; | ||
} | ||
|
||
public void setParams(Params params) { | ||
this.params = params; | ||
} | ||
} | ||
|
||
public static class Params { | ||
private String key; | ||
private String signature; | ||
@SerializedName("x-cos-security-token") | ||
private String x_cos_security_token; | ||
|
||
public String getKey() { | ||
return key; | ||
} | ||
|
||
public void setKey(String key) { | ||
this.key = key; | ||
} | ||
|
||
public String getSignature() { | ||
return signature; | ||
} | ||
|
||
public void setSignature(String signature) { | ||
this.signature = signature; | ||
} | ||
|
||
public String getX_cos_security_token() { | ||
return x_cos_security_token; | ||
} | ||
|
||
public void setX_cos_security_token(String x_cos_security_token) { | ||
this.x_cos_security_token = x_cos_security_token; | ||
} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
src/main/java/ren/helloworld/upload2pgyer/apiv2/PgyerUploadResultBeanV2.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,63 @@ | ||
package ren.helloworld.upload2pgyer.apiv2; | ||
|
||
public class PgyerUploadResultBeanV2 { | ||
|
||
private int code; | ||
private String message; | ||
private DataBean data; | ||
|
||
public int getCode() { | ||
return code; | ||
} | ||
|
||
public void setCode(int code) { | ||
this.code = code; | ||
} | ||
|
||
public String getMessage() { | ||
return message; | ||
} | ||
|
||
public void setMessage(String message) { | ||
this.message = message; | ||
} | ||
|
||
public DataBean getData() { | ||
return data; | ||
} | ||
|
||
public void setData(DataBean data) { | ||
this.data = data; | ||
} | ||
|
||
public static class DataBean { | ||
|
||
private String aKey; | ||
private String viewBuildInfo; | ||
private String viewApp; | ||
|
||
public String getaKey() { | ||
return aKey; | ||
} | ||
|
||
public void setaKey(String aKey) { | ||
this.aKey = aKey; | ||
} | ||
|
||
public String getViewBuildInfo() { | ||
return viewBuildInfo; | ||
} | ||
|
||
public void setViewBuildInfo(String viewBuildInfo) { | ||
this.viewBuildInfo = viewBuildInfo; | ||
} | ||
|
||
public String getViewApp() { | ||
return viewApp; | ||
} | ||
|
||
public void setViewApp(String viewApp) { | ||
this.viewApp = viewApp; | ||
} | ||
} | ||
} |
Oops, something went wrong.