Record Class PluginAdminController.AllPluginsResponse
java.lang.Object
java.lang.Record
ai.nervemind.app.api.admin.PluginAdminController.AllPluginsResponse
- Enclosing class:
PluginAdminController
public static record PluginAdminController.AllPluginsResponse(int count, List<PluginAdminController.PluginSummary> plugins, String timestamp)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAllPluginsResponse(int count, List<PluginAdminController.PluginSummary> plugins, String timestamp) Creates an instance of aAllPluginsResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.plugins()Returns the value of thepluginsrecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AllPluginsResponse
public AllPluginsResponse(int count, List<PluginAdminController.PluginSummary> plugins, String timestamp) Creates an instance of aAllPluginsResponserecord class.- Parameters:
count- the value for thecountrecord componentplugins- the value for thepluginsrecord componenttimestamp- the value for thetimestamprecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
count
public int count()Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-
plugins
Returns the value of thepluginsrecord component.- Returns:
- the value of the
pluginsrecord component
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-