Package io.gs2.version.model
Class VersionModel
java.lang.Object
io.gs2.version.model.VersionModel
- All Implemented Interfaces:
IModel,Serializable,Comparable<VersionModel>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic VersionModelfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()getScope()getType()inthashCode()voidsetCurrentVersion(Version currentVersion) voidsetErrorVersion(Version errorVersion) voidsetMetadata(String metadata) voidvoidsetNeedSignature(Boolean needSignature) voidsetScheduleVersions(List<ScheduleVersion> scheduleVersions) voidvoidsetSignatureKeyId(String signatureKeyId) voidvoidsetVersionModelId(String versionModelId) voidsetWarningVersion(Version warningVersion) com.fasterxml.jackson.databind.JsonNodetoJson()withCurrentVersion(Version currentVersion) withErrorVersion(Version errorVersion) withMetadata(String metadata) withNeedSignature(Boolean needSignature) withScheduleVersions(List<ScheduleVersion> scheduleVersions) withSignatureKeyId(String signatureKeyId) withVersionModelId(String versionModelId) withWarningVersion(Version warningVersion)
-
Constructor Details
-
VersionModel
public VersionModel()
-
-
Method Details
-
getVersionModelId
-
setVersionModelId
-
withVersionModelId
-
getName
-
setName
-
withName
-
getMetadata
-
setMetadata
-
withMetadata
-
getScope
-
setScope
-
withScope
-
getType
-
setType
-
withType
-
getCurrentVersion
-
setCurrentVersion
-
withCurrentVersion
-
getWarningVersion
-
setWarningVersion
-
withWarningVersion
-
getErrorVersion
-
setErrorVersion
-
withErrorVersion
-
getScheduleVersions
-
setScheduleVersions
-
withScheduleVersions
-
getNeedSignature
-
setNeedSignature
-
withNeedSignature
-
getSignatureKeyId
-
setSignatureKeyId
-
withSignatureKeyId
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<VersionModel>
-
hashCode
public int hashCode() -
equals
-