Class DeveloperConsoleCatalogTypes
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.DeveloperConsoleCatalogTypes
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeveloperConsoleCatalogTypesBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeveloperConsoleCatalogTypes extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeveloperConsoleCatalogTypesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
DeveloperConsoleCatalogTypes defines the state of the sub-catalog types.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeveloperConsoleCatalogTypes()No args constructor for use in serializationDeveloperConsoleCatalogTypes(List<String> disabled, List<String> enabled, String state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeveloperConsoleCatalogTypesBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getDisabled()disabled is a list of developer catalog types (sub-catalogs IDs) that are not shown to users.List<String>getEnabled()enabled is a list of developer catalog types (sub-catalogs IDs) that will be shown to users.StringgetState()state defines if a list of catalog types should be enabled or disabled.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDisabled(List<String> disabled)disabled is a list of developer catalog types (sub-catalogs IDs) that are not shown to users.voidsetEnabled(List<String> enabled)enabled is a list of developer catalog types (sub-catalogs IDs) that will be shown to users.voidsetState(String state)state defines if a list of catalog types should be enabled or disabled.DeveloperConsoleCatalogTypesBuildertoBuilder()
-
-
-
Method Detail
-
getDisabled
public List<String> getDisabled()
disabled is a list of developer catalog types (sub-catalogs IDs) that are not shown to users. Types (sub-catalogs) are added via console plugins, the available types (sub-catalog IDs) are available in the console on the cluster configuration page, or when editing the YAML in the console. Example: "Devfile", "HelmChart", "BuilderImage" If the list is empty or all the available sub-catalog types are added, then the complete developer catalog should be hidden.
-
setDisabled
public void setDisabled(List<String> disabled)
disabled is a list of developer catalog types (sub-catalogs IDs) that are not shown to users. Types (sub-catalogs) are added via console plugins, the available types (sub-catalog IDs) are available in the console on the cluster configuration page, or when editing the YAML in the console. Example: "Devfile", "HelmChart", "BuilderImage" If the list is empty or all the available sub-catalog types are added, then the complete developer catalog should be hidden.
-
getEnabled
public List<String> getEnabled()
enabled is a list of developer catalog types (sub-catalogs IDs) that will be shown to users. Types (sub-catalogs) are added via console plugins, the available types (sub-catalog IDs) are available in the console on the cluster configuration page, or when editing the YAML in the console. Example: "Devfile", "HelmChart", "BuilderImage" If the list is non-empty, a new type will not be shown to the user until it is added to list. If the list is empty the complete developer catalog will be shown.
-
setEnabled
public void setEnabled(List<String> enabled)
enabled is a list of developer catalog types (sub-catalogs IDs) that will be shown to users. Types (sub-catalogs) are added via console plugins, the available types (sub-catalog IDs) are available in the console on the cluster configuration page, or when editing the YAML in the console. Example: "Devfile", "HelmChart", "BuilderImage" If the list is non-empty, a new type will not be shown to the user until it is added to list. If the list is empty the complete developer catalog will be shown.
-
getState
public String getState()
state defines if a list of catalog types should be enabled or disabled.
-
setState
public void setState(String state)
state defines if a list of catalog types should be enabled or disabled.
-
edit
public DeveloperConsoleCatalogTypesBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeveloperConsoleCatalogTypesBuilder>
-
toBuilder
public DeveloperConsoleCatalogTypesBuilder toBuilder()
-
-