Class VersionUpdateDescriptor

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class VersionUpdateDescriptor
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Indicates if the current version can be upgraded to the version identified by the descriptor.
    • Constructor Detail

      • VersionUpdateDescriptor

        public VersionUpdateDescriptor()
    • 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