Package dk.mada.jaxrs.openapi
Record Class Parser.LeakedGeneratorOpts
java.lang.Object
java.lang.Record
dk.mada.jaxrs.openapi.Parser.LeakedGeneratorOpts
- Record Components:
dateTimeType- the type used to represent OpenApi date-timedtoPackage- the DTO packageisUseMultipartBody- a flag for use of multipart formsnoFormatNumberType- the type to use for no-format numbers
- Enclosing class:
Parser
public static record Parser.LeakedGeneratorOpts(TypeDateTime dateTimeType, String dtoPackage, boolean isUseMultipartBody, Type noFormatNumberType)
extends Record
Generator options that have leaked into the parser. These should be eventually be removed when possible.
-
Constructor Summary
ConstructorsConstructorDescriptionLeakedGeneratorOpts(TypeDateTime dateTimeType, String dtoPackage, boolean isUseMultipartBody, Type noFormatNumberType) Creates an instance of aLeakedGeneratorOptsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedateTimeTyperecord component.Returns the value of thedtoPackagerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisUseMultipartBodyrecord component.Returns the value of thenoFormatNumberTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LeakedGeneratorOpts
public LeakedGeneratorOpts(TypeDateTime dateTimeType, String dtoPackage, boolean isUseMultipartBody, Type noFormatNumberType) Creates an instance of aLeakedGeneratorOptsrecord class.- Parameters:
dateTimeType- the value for thedateTimeTyperecord componentdtoPackage- the value for thedtoPackagerecord componentisUseMultipartBody- the value for theisUseMultipartBodyrecord componentnoFormatNumberType- the value for thenoFormatNumberTyperecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
dateTimeType
Returns the value of thedateTimeTyperecord component.- Returns:
- the value of the
dateTimeTyperecord component
-
dtoPackage
Returns the value of thedtoPackagerecord component.- Returns:
- the value of the
dtoPackagerecord component
-
isUseMultipartBody
public boolean isUseMultipartBody()Returns the value of theisUseMultipartBodyrecord component.- Returns:
- the value of the
isUseMultipartBodyrecord component
-
noFormatNumberType
Returns the value of thenoFormatNumberTyperecord component.- Returns:
- the value of the
noFormatNumberTyperecord component
-