Record Class AutobotLocalAgentClient
java.lang.Object
java.lang.Record
com.shaft.mcp.AutobotLocalAgentClient
- Record Components:
id- stable SHAFT client iddisplayName- human-readable client nameexecutableName- default executable namerequiresCloudApiKey- whether SHAFT requires a cloud API key for this route
-
Constructor Summary
ConstructorsConstructorDescriptionAutobotLocalAgentClient(String id, String displayName, String executableName, boolean requiresCloudApiKey) Creates an instance of aAutobotLocalAgentClientrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutableNamerecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.booleanReturns the value of therequiresCloudApiKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AutobotLocalAgentClient
public AutobotLocalAgentClient(String id, String displayName, String executableName, boolean requiresCloudApiKey) Creates an instance of aAutobotLocalAgentClientrecord class.- Parameters:
id- the value for theidrecord componentdisplayName- the value for thedisplayNamerecord componentexecutableName- the value for theexecutableNamerecord componentrequiresCloudApiKey- the value for therequiresCloudApiKeyrecord 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. -
id
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
executableName
Returns the value of theexecutableNamerecord component.- Returns:
- the value of the
executableNamerecord component
-
requiresCloudApiKey
public boolean requiresCloudApiKey()Returns the value of therequiresCloudApiKeyrecord component.- Returns:
- the value of the
requiresCloudApiKeyrecord component
-