Class VersionUpdateDescriptor
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.VersionUpdateDescriptor
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class VersionUpdateDescriptor extends com.ibm.cloud.sdk.core.service.model.GenericModelIndicates if the current version can be upgraded to the version identified by the descriptor.
-
-
Constructor Summary
Constructors Constructor Description VersionUpdateDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>getMessages()Gets the messages.java.lang.StringgetPackageVersion()Gets the packageVersion.java.util.List<Resource>getRequiredResources()Gets the requiredResources.java.lang.StringgetSha()Gets the sha.StategetState()Gets the state.java.lang.StringgetVersion()Gets the version.java.lang.StringgetVersionLocator()Gets the versionLocator.java.lang.BooleanisCanUpdate()Gets the canUpdate.
-
-
-
Method Detail
-
getVersionLocator
public java.lang.String getVersionLocator()
Gets the versionLocator. A dotted value of `catalogID`.`versionID`.- Returns:
- the versionLocator
-
getVersion
public java.lang.String getVersion()
Gets the version. the version number of this version.- Returns:
- the version
-
getState
public State getState()
Gets the state. Offering state.- Returns:
- the state
-
getRequiredResources
public java.util.List<Resource> getRequiredResources()
Gets the requiredResources. Resource requirments for installation.- Returns:
- the requiredResources
-
getPackageVersion
public java.lang.String getPackageVersion()
Gets the packageVersion. Version of package.- Returns:
- the packageVersion
-
getSha
public java.lang.String getSha()
Gets the sha. The SHA value of this version.- Returns:
- the sha
-
isCanUpdate
public java.lang.Boolean isCanUpdate()
Gets the canUpdate. true if the current version can be upgraded to this version, false otherwise.- Returns:
- the canUpdate
-
getMessages
public java.util.Map<java.lang.String,java.lang.String> getMessages()
Gets the messages. If can_update is false, this map will contain messages for each failed check, otherwise it will be omitted. Possible keys include nodes, cores, mem, disk, targetVersion, and install-permission-check.- Returns:
- the messages
-
-