Class ExtraFields
java.lang.Object
com.caplin.motif.config.definitions.common.ExtraFields
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.4.0")
public class ExtraFields
extends Object
A flat, ordered list of bespoke label/value fields for a frontend to render. Carries customer-specific fields only; never duplicates standard product fields.
-
Constructor Summary
ConstructorsConstructorDescriptionExtraFields(List<ExtraField> extraFields) Constructor with only required parameters -
Method Summary
Modifier and TypeMethodDescriptionaddExtraFieldsItem(ExtraField extraFieldsItem) addTagsItem(String tagsItem) booleanextraFields(List<ExtraField> extraFields) @NotNull List<ExtraField>An ordered, flat list of fields.getName()Optional name/identifier for the set of fields.getTags()A list of tags.inthashCode()voidsetExtraFields(List<ExtraField> extraFields) voidvoidtoString()
-
Constructor Details
-
ExtraFields
public ExtraFields() -
ExtraFields
Constructor with only required parameters
-
-
Method Details
-
extraFields
-
addExtraFieldsItem
-
getExtraFields
An ordered, flat list of fields. No nesting — each item is a leaf field.- Returns:
- extraFields
-
setExtraFields
-
name
-
getName
Optional name/identifier for the set of fields.- Returns:
- name
-
setName
-
tags
-
addTagsItem
-
getTags
A list of tags. Tags provide hints towards the fields' purpose to the frontend.- Returns:
- tags
-
setTags
-
equals
-
hashCode
public int hashCode() -
toString
-