Class 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 Detail

      • Theme

        public Theme()
        No args constructor for use in serialization
    • 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:
        edit in interface io.fabric8.kubernetes.api.builder.Editable<ThemeBuilder>
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)