Class SetDeprecateVersionOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.SetDeprecateVersionOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SetDeprecateVersionOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe setDeprecateVersion options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSetDeprecateVersionOptions.BuilderBuilder.static interfaceSetDeprecateVersionOptions.SettingSet deprecation (true) or cancel deprecation (false).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LongdaysUntilDeprecate()Gets the daysUntilDeprecate.java.lang.Stringdescription()Gets the description.SetDeprecateVersionOptions.BuildernewBuilder()New builder.java.lang.Stringsetting()Gets the setting.java.lang.StringversionLocId()Gets the versionLocId.
-
-
-
Method Detail
-
newBuilder
public SetDeprecateVersionOptions.Builder newBuilder()
New builder.- Returns:
- a SetDeprecateVersionOptions builder
-
versionLocId
public java.lang.String versionLocId()
Gets the versionLocId. A dotted value of `catalogID`.`versionID`.- Returns:
- the versionLocId
-
setting
public java.lang.String setting()
Gets the setting. Set deprecation (true) or cancel deprecation (false).- Returns:
- the setting
-
description
public java.lang.String description()
Gets the description. Additional information that users can provide to be displayed in deprecation notification.- Returns:
- the description
-
daysUntilDeprecate
public java.lang.Long daysUntilDeprecate()
Gets the daysUntilDeprecate. Specifies the amount of days until product is not available in catalog.- Returns:
- the daysUntilDeprecate
-
-