Class ArrayPojo
java.lang.Object
com.github.muehmar.gradle.openapi.generator.model.pojo.ArrayPojo
- All Implemented Interfaces:
Pojo
-
Constructor Summary
Constructors -
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 ArrayPojoof(ComponentName name, String description, Nullability nullability, Type itemType, Constraints constraints) 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
-
Constructor Details
-
ArrayPojo
public ArrayPojo()
-
-
Method Details
-
of
public static ArrayPojo of(ComponentName name, String description, Nullability nullability, Type itemType, Constraints constraints) -
replaceObjectType
public ArrayPojo 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
-