Record Class TurFeaturesAPI.FeaturesResponse
java.lang.Object
java.lang.Record
com.viglet.turing.api.system.TurFeaturesAPI.FeaturesResponse
- Enclosing class:
TurFeaturesAPI
public static record TurFeaturesAPI.FeaturesResponse(boolean minioEnabled, boolean ragEnabled)
extends Record
- Since:
- 2026.1.14
- Author:
- Alexandre Oliveira
-
Constructor Summary
ConstructorsConstructorDescriptionFeaturesResponse(boolean minioEnabled, boolean ragEnabled) Creates an instance of aFeaturesResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theminioEnabledrecord component.booleanReturns the value of theragEnabledrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FeaturesResponse
public FeaturesResponse(boolean minioEnabled, boolean ragEnabled) Creates an instance of aFeaturesResponserecord class.- Parameters:
minioEnabled- the value for theminioEnabledrecord componentragEnabled- the value for theragEnabledrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
minioEnabled
public boolean minioEnabled()Returns the value of theminioEnabledrecord component.- Returns:
- the value of the
minioEnabledrecord component
-
ragEnabled
public boolean ragEnabled()Returns the value of theragEnabledrecord component.- Returns:
- the value of the
ragEnabledrecord component
-