Record Class ManagementTarget.ClientScript
java.lang.Object
java.lang.Record
com.botwithus.bot.api.script.ManagementTarget.ClientScript
- Record Components:
accountUuid- the client's account UUID, which survives the client restarting on a new pipescriptName- the script's manifest name
- All Implemented Interfaces:
ManagementTarget
- Enclosing interface:
ManagementTarget
public static record ManagementTarget.ClientScript(String accountUuid, String scriptName)
extends Record
implements ManagementTarget
One script on one client.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ManagementTarget
ManagementTarget.ClientScript, ManagementTarget.Group, ManagementTarget.WholeHost -
Constructor Summary
ConstructorsConstructorDescriptionClientScript(String accountUuid, String scriptName) Creates an instance of aClientScriptrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountUuidrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thescriptNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ClientScript
Creates an instance of aClientScriptrecord class.- Parameters:
accountUuid- the value for theaccountUuidrecord componentscriptName- the value for thescriptNamerecord 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 withObjects::equals(Object,Object). -
accountUuid
Returns the value of theaccountUuidrecord component.- Returns:
- the value of the
accountUuidrecord component
-
scriptName
Returns the value of thescriptNamerecord component.- Returns:
- the value of the
scriptNamerecord component
-