Class Version
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.Version
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Version extends com.ibm.cloud.sdk.core.service.model.GenericModelOffering version information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVersion.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcatalogId()Gets the catalogId.java.util.List<Configuration>configuration()Gets the configuration.java.lang.StringconsoleUrl()Gets the consoleUrl.java.util.Datecreated()Gets the created.java.lang.Stringcrn()Gets the crn.java.lang.Booleandeprecated()Gets the deprecated.VersionEntitlemententitlement()Gets the entitlement.java.lang.Stringid()Gets the id.java.lang.StringimageManifestUrl()Gets the imageManifestUrl.Scriptinstall()Gets the install.java.lang.StringkindId()Gets the kindId.java.util.List<License>licenses()Gets the licenses.java.lang.StringlongDescription()Gets the longDescription.java.util.Map<java.lang.String,java.lang.Object>metadata()Gets the metadata.Version.BuildernewBuilder()New builder.java.lang.StringofferingId()Gets the offeringId.java.lang.StringpackageVersion()Gets the packageVersion.java.util.List<Script>preInstall()Gets the preInstall.java.lang.StringrepoUrl()Gets the repoUrl.java.util.List<Resource>requiredResources()Gets the requiredResources.java.lang.Stringrev()Gets the rev.java.lang.Stringsha()Gets the sha.java.lang.BooleansingleInstance()Gets the singleInstance.java.lang.StringsourceUrl()Gets the sourceUrl.Statestate()Gets the state.java.util.List<java.lang.String>tags()Gets the tags.java.lang.StringtgzUrl()Gets the tgzUrl.java.util.Dateupdated()Gets the updated.Validationvalidation()Gets the validation.java.lang.Stringversion()Gets the version.java.lang.StringversionLocator()Gets the versionLocator.java.util.List<java.lang.String>whitelistedAccounts()Gets the whitelistedAccounts.
-
-
-
Method Detail
-
newBuilder
public Version.Builder newBuilder()
New builder.- Returns:
- a Version builder
-
id
public java.lang.String id()
Gets the id. Unique ID.- Returns:
- the id
-
rev
public java.lang.String rev()
Gets the rev. Cloudant revision.- Returns:
- the rev
-
crn
public java.lang.String crn()
Gets the crn. Version's CRN.- Returns:
- the crn
-
version
public java.lang.String version()
Gets the version. Version of content type.- Returns:
- the version
-
sha
public java.lang.String sha()
Gets the sha. hash of the content.- Returns:
- the sha
-
created
public java.util.Date created()
Gets the created. The date and time this version was created.- Returns:
- the created
-
updated
public java.util.Date updated()
Gets the updated. The date and time this version was last updated.- Returns:
- the updated
-
offeringId
public java.lang.String offeringId()
Gets the offeringId. Offering ID.- Returns:
- the offeringId
-
catalogId
public java.lang.String catalogId()
Gets the catalogId. Catalog ID.- Returns:
- the catalogId
-
kindId
public java.lang.String kindId()
Gets the kindId. Kind ID.- Returns:
- the kindId
-
tags
public java.util.List<java.lang.String> tags()
Gets the tags. List of tags associated with this catalog.- Returns:
- the tags
-
repoUrl
public java.lang.String repoUrl()
Gets the repoUrl. Content's repo URL.- Returns:
- the repoUrl
-
sourceUrl
public java.lang.String sourceUrl()
Gets the sourceUrl. Content's source URL (e.g git repo).- Returns:
- the sourceUrl
-
tgzUrl
public java.lang.String tgzUrl()
Gets the tgzUrl. File used to on-board this version.- Returns:
- the tgzUrl
-
configuration
public java.util.List<Configuration> configuration()
Gets the configuration. List of user solicited overrides.- Returns:
- the configuration
-
metadata
public java.util.Map<java.lang.String,java.lang.Object> metadata()
Gets the metadata. Open ended metadata information.- Returns:
- the metadata
-
validation
public Validation validation()
Gets the validation. Validation response.- Returns:
- the validation
-
requiredResources
public java.util.List<Resource> requiredResources()
Gets the requiredResources. Resource requirments for installation.- Returns:
- the requiredResources
-
singleInstance
public java.lang.Boolean singleInstance()
Gets the singleInstance. Denotes if single instance can be deployed to a given cluster.- Returns:
- the singleInstance
-
install
public Script install()
Gets the install. Script information.- Returns:
- the install
-
preInstall
public java.util.List<Script> preInstall()
Gets the preInstall. Optional pre-install instructions.- Returns:
- the preInstall
-
entitlement
public VersionEntitlement entitlement()
Gets the entitlement. Entitlement license info.- Returns:
- the entitlement
-
licenses
public java.util.List<License> licenses()
Gets the licenses. List of licenses the product was built with.- Returns:
- the licenses
-
imageManifestUrl
public java.lang.String imageManifestUrl()
Gets the imageManifestUrl. If set, denotes a url to a YAML file with list of container images used by this version.- Returns:
- the imageManifestUrl
-
deprecated
public java.lang.Boolean deprecated()
Gets the deprecated. read only field, indicating if this version is deprecated.- Returns:
- the deprecated
-
packageVersion
public java.lang.String packageVersion()
Gets the packageVersion. Version of the package used to create this version.- Returns:
- the packageVersion
-
state
public State state()
Gets the state. Offering state.- Returns:
- the state
-
versionLocator
public java.lang.String versionLocator()
Gets the versionLocator. A dotted value of `catalogID`.`versionID`.- Returns:
- the versionLocator
-
consoleUrl
public java.lang.String consoleUrl()
Gets the consoleUrl. Console URL.- Returns:
- the consoleUrl
-
longDescription
public java.lang.String longDescription()
Gets the longDescription. Long description for version.- Returns:
- the longDescription
-
whitelistedAccounts
public java.util.List<java.lang.String> whitelistedAccounts()
Gets the whitelistedAccounts. Whitelisted accounts for version.- Returns:
- the whitelistedAccounts
-
-