-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only grab the latest build in the Updater check
- Loading branch information
1 parent
c21762f
commit acc50ac
Showing
6 changed files
with
111 additions
and
11 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
91 changes: 91 additions & 0 deletions
91
src/main/java/io/swagger/client/model/BuildsArtifactBody.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,91 @@ | ||
/* | ||
* MethodScript Apps | ||
* This is the api for the apps.methodscript.com server. This provides various public functionality for users of the MethodScript programming language. | ||
* | ||
* OpenAPI spec version: 1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
package io.swagger.client.model; | ||
|
||
import java.util.Objects; | ||
import java.util.Arrays; | ||
import com.google.gson.TypeAdapter; | ||
import com.google.gson.annotations.JsonAdapter; | ||
import com.google.gson.annotations.SerializedName; | ||
import com.google.gson.stream.JsonReader; | ||
import com.google.gson.stream.JsonWriter; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import java.io.IOException; | ||
/** | ||
* BuildsArtifactBody | ||
*/ | ||
|
||
|
||
public class BuildsArtifactBody { | ||
@SerializedName("latest") | ||
private Boolean latest = null; | ||
|
||
public BuildsArtifactBody latest(Boolean latest) { | ||
this.latest = latest; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get latest | ||
* @return latest | ||
**/ | ||
@Schema(description = "") | ||
public Boolean isLatest() { | ||
return latest; | ||
} | ||
|
||
public void setLatest(Boolean latest) { | ||
this.latest = latest; | ||
} | ||
|
||
|
||
@Override | ||
public boolean equals(java.lang.Object o) { | ||
if (this == o) { | ||
return true; | ||
} | ||
if (o == null || getClass() != o.getClass()) { | ||
return false; | ||
} | ||
BuildsArtifactBody buildsArtifactBody = (BuildsArtifactBody) o; | ||
return Objects.equals(this.latest, buildsArtifactBody.latest); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(latest); | ||
} | ||
|
||
|
||
@Override | ||
public String toString() { | ||
StringBuilder sb = new StringBuilder(); | ||
sb.append("class BuildsArtifactBody {\n"); | ||
|
||
sb.append(" latest: ").append(toIndentedString(latest)).append("\n"); | ||
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().replace("\n", "\n "); | ||
} | ||
|
||
} |
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