Class EnumPojo
java.lang.Object
com.github.muehmar.gradle.openapi.generator.model.pojo.EnumPojo
- All Implemented Interfaces:
Pojo
-
Method Summary
Modifier and TypeMethodDescriptionadjustNullablePojo(PojoName nullablePojo) applyMapping(PojoNameMapping pojoNameMapping) <T> Tfold(Function<ObjectPojo, T> onObjectPojo, Function<ArrayPojo, T> onArrayType, Function<EnumPojo, T> onEnumPojo) static EnumPojoof(ComponentName name, String description, Nullability nullability, PList<String> members) replaceName(ComponentName name) replaceObjectType(PojoName objectTypeName, String newObjectTypeDescription, Type newObjectType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.muehmar.gradle.openapi.generator.model.Pojo
asEnumPojo, asObjectPojo, getDescription, getName
-
Method Details
-
of
public static EnumPojo of(ComponentName name, String description, Nullability nullability, PList<String> members) -
replaceObjectType
public Pojo replaceObjectType(PojoName objectTypeName, String newObjectTypeDescription, Type newObjectType) - Specified by:
replaceObjectTypein interfacePojo
-
adjustNullablePojo
- Specified by:
adjustNullablePojoin interfacePojo
-
applyMapping
- Specified by:
applyMappingin interfacePojo
-
replaceName
- Specified by:
replaceNamein interfacePojo
-
fold
-