Class Logo

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<LogoBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class Logo
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<LogoBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    Logo defines a configuration based on theme modes for the console UI logo.
    See Also:
    Serialized Form
    • Constructor Detail

      • Logo

        public Logo()
        No args constructor for use in serialization
    • Method Detail

      • getThemes

        public List<Theme> getThemes()
        themes specifies the themes for the console UI logo. themes is a required field that allows a list of themes. Each item in the themes list must have a unique mode and a source field. Each mode determines whether the logo is for the dark or light mode of the console UI. If a theme is not specified, the default OpenShift logo will be displayed for that theme. There must be at least one entry and no more than 2 entries.
      • setThemes

        public void setThemes​(List<Theme> themes)
        themes specifies the themes for the console UI logo. themes is a required field that allows a list of themes. Each item in the themes list must have a unique mode and a source field. Each mode determines whether the logo is for the dark or light mode of the console UI. If a theme is not specified, the default OpenShift logo will be displayed for that theme. There must be at least one entry and no more than 2 entries.
      • getType

        public String getType()
        type specifies the type of the logo for the console UI. It determines whether the logo is for the masthead or favicon. type is a required field that allows values of Masthead and Favicon. When set to "Masthead", the logo will be used in the masthead and about modal of the console UI. When set to "Favicon", the logo will be used as the favicon of the console UI.


        Possible enum values:

        - `"Favicon"` Favicon represents the favicon logo.

        - `"Masthead"` Masthead represents the logo in the masthead.

      • setType

        public void setType​(String type)
        type specifies the type of the logo for the console UI. It determines whether the logo is for the masthead or favicon. type is a required field that allows values of Masthead and Favicon. When set to "Masthead", the logo will be used in the masthead and about modal of the console UI. When set to "Favicon", the logo will be used as the favicon of the console UI.


        Possible enum values:

        - `"Favicon"` Favicon represents the favicon logo.

        - `"Masthead"` Masthead represents the logo in the masthead.

      • edit

        public LogoBuilder edit()
        Specified by:
        edit in interface io.fabric8.kubernetes.api.builder.Editable<LogoBuilder>
      • getAdditionalProperties

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

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

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