Package io.moov.sdk.models.components
Class BrandColor
- java.lang.Object
-
- io.moov.sdk.models.components.BrandColor
-
public class BrandColor extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBrandColor.Builder
-
Constructor Summary
Constructors Constructor Description BrandColor(java.lang.String accent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringaccent()A CSS hex color representing an accent color.static BrandColor.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()BrandColorwithAccent(java.lang.String accent)A CSS hex color representing an accent color.
-
-
-
Method Detail
-
accent
public java.lang.String accent()
A CSS hex color representing an accent color.
-
builder
public static BrandColor.Builder builder()
-
withAccent
public BrandColor withAccent(java.lang.String accent)
A CSS hex color representing an accent color.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-