Class Theme
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.Theme
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ThemeBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Theme extends Object implements io.fabric8.kubernetes.api.builder.Editable<ThemeBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Theme defines a theme mode for the console UI.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Theme()No args constructor for use in serializationTheme(String mode, FileReferenceSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThemeBuilderedit()Map<String,Object>getAdditionalProperties()StringgetMode()mode is used to specify what theme mode a logo will apply to in the console UI. mode is a required field that allows values of Dark and Light.FileReferenceSourcegetSource()Theme defines a theme mode for the console UI.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMode(String mode)mode is used to specify what theme mode a logo will apply to in the console UI. mode is a required field that allows values of Dark and Light.voidsetSource(FileReferenceSource source)Theme defines a theme mode for the console UI.ThemeBuildertoBuilder()
-
-
-
Constructor Detail
-
Theme
public Theme()
No args constructor for use in serialization
-
Theme
public Theme(String mode, FileReferenceSource source)
-
-
Method Detail
-
getMode
public String getMode()
mode is used to specify what theme mode a logo will apply to in the console UI. mode is a required field that allows values of Dark and Light. When set to Dark, the logo file referenced in the 'file' field will be used when an end-user of the console UI enables the Dark mode. When set to Light, the logo file referenced in the 'file' field will be used when an end-user of the console UI enables the Light mode.Possible enum values:
- `"Dark"` represents the dark mode for a console theme.
- `"Light"` represents the light mode for a console theme.
-
setMode
public void setMode(String mode)
mode is used to specify what theme mode a logo will apply to in the console UI. mode is a required field that allows values of Dark and Light. When set to Dark, the logo file referenced in the 'file' field will be used when an end-user of the console UI enables the Dark mode. When set to Light, the logo file referenced in the 'file' field will be used when an end-user of the console UI enables the Light mode.Possible enum values:
- `"Dark"` represents the dark mode for a console theme.
- `"Light"` represents the light mode for a console theme.
-
getSource
public FileReferenceSource getSource()
Theme defines a theme mode for the console UI.
-
setSource
public void setSource(FileReferenceSource source)
Theme defines a theme mode for the console UI.
-
edit
public ThemeBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ThemeBuilder>
-
toBuilder
public ThemeBuilder toBuilder()
-
-