Class PackageChannel
- java.lang.Object
-
- io.fabric8.openshift.api.model.operatorhub.packages.v1.PackageChannel
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PackageChannelBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PackageChannel extends Object implements io.fabric8.kubernetes.api.builder.Editable<PackageChannelBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
PackageChannel defines a single channel under a package, pointing to a version of that package.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PackageChannel()No args constructor for use in serializationPackageChannel(String currentCSV, CSVDescription currentCSVDesc, Deprecation deprecation, List<ChannelEntry> entries, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PackageChannelBuilderedit()Map<String,Object>getAdditionalProperties()StringgetCurrentCSV()CurrentCSV defines a reference to the CSV holding the version of this package currently for the channel.CSVDescriptiongetCurrentCSVDesc()PackageChannel defines a single channel under a package, pointing to a version of that package.DeprecationgetDeprecation()PackageChannel defines a single channel under a package, pointing to a version of that package.List<ChannelEntry>getEntries()Entries lists all CSVs in the channel, with their upgrade edges.StringgetName()Name is the name of the channel, e.g.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCurrentCSV(String currentCSV)CurrentCSV defines a reference to the CSV holding the version of this package currently for the channel.voidsetCurrentCSVDesc(CSVDescription currentCSVDesc)PackageChannel defines a single channel under a package, pointing to a version of that package.voidsetDeprecation(Deprecation deprecation)PackageChannel defines a single channel under a package, pointing to a version of that package.voidsetEntries(List<ChannelEntry> entries)Entries lists all CSVs in the channel, with their upgrade edges.voidsetName(String name)Name is the name of the channel, e.g.PackageChannelBuildertoBuilder()
-
-
-
Constructor Detail
-
PackageChannel
public PackageChannel()
No args constructor for use in serialization
-
PackageChannel
public PackageChannel(String currentCSV, CSVDescription currentCSVDesc, Deprecation deprecation, List<ChannelEntry> entries, String name)
-
-
Method Detail
-
getCurrentCSV
public String getCurrentCSV()
CurrentCSV defines a reference to the CSV holding the version of this package currently for the channel.
-
setCurrentCSV
public void setCurrentCSV(String currentCSV)
CurrentCSV defines a reference to the CSV holding the version of this package currently for the channel.
-
getCurrentCSVDesc
public CSVDescription getCurrentCSVDesc()
PackageChannel defines a single channel under a package, pointing to a version of that package.
-
setCurrentCSVDesc
public void setCurrentCSVDesc(CSVDescription currentCSVDesc)
PackageChannel defines a single channel under a package, pointing to a version of that package.
-
getDeprecation
public Deprecation getDeprecation()
PackageChannel defines a single channel under a package, pointing to a version of that package.
-
setDeprecation
public void setDeprecation(Deprecation deprecation)
PackageChannel defines a single channel under a package, pointing to a version of that package.
-
getEntries
public List<ChannelEntry> getEntries()
Entries lists all CSVs in the channel, with their upgrade edges.
-
setEntries
public void setEntries(List<ChannelEntry> entries)
Entries lists all CSVs in the channel, with their upgrade edges.
-
getName
public String getName()
Name is the name of the channel, e.g. `alpha` or `stable`
-
setName
public void setName(String name)
Name is the name of the channel, e.g. `alpha` or `stable`
-
edit
public PackageChannelBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PackageChannelBuilder>
-
toBuilder
public PackageChannelBuilder toBuilder()
-
-