Class Logo
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogoBuilderedit()Map<String,Object>getAdditionalProperties()List<Theme>getThemes()themes specifies the themes for the console UI logo. themes is a required field that allows a list of themes.StringgetType()type specifies the type of the logo for the console UI.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetThemes(List<Theme> themes)themes specifies the themes for the console UI logo. themes is a required field that allows a list of themes.voidsetType(String type)type specifies the type of the logo for the console UI.LogoBuildertoBuilder()
-
-
-
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:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<LogoBuilder>
-
toBuilder
public LogoBuilder toBuilder()
-
-