Record Class RemoteControlConfig
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.RemoteControlConfig
@Generated("copilot-sdk-codegen")
public record RemoteControlConfig(Boolean remote, Boolean steerable, Boolean explicit, Boolean silent, String taskId, RemoteControlConfigExistingMcSession existingMcSession)
extends Record
Configuration for the runtime-managed remote-control singleton.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteControlConfig(Boolean remote, Boolean steerable, Boolean explicit, Boolean silent, String taskId, RemoteControlConfigExistingMcSession existingMcSession) Creates an instance of aRemoteControlConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexistingMcSessionrecord component.explicit()Returns the value of theexplicitrecord component.final inthashCode()Returns a hash code value for this object.remote()Returns the value of theremoterecord component.silent()Returns the value of thesilentrecord component.Returns the value of thesteerablerecord component.taskId()Returns the value of thetaskIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RemoteControlConfig
public RemoteControlConfig(Boolean remote, Boolean steerable, Boolean explicit, Boolean silent, String taskId, RemoteControlConfigExistingMcSession existingMcSession) Creates an instance of aRemoteControlConfigrecord class.- Parameters:
remote- the value for theremoterecord componentsteerable- the value for thesteerablerecord componentexplicit- the value for theexplicitrecord componentsilent- the value for thesilentrecord componenttaskId- the value for thetaskIdrecord componentexistingMcSession- the value for theexistingMcSessionrecord 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). -
remote
Returns the value of theremoterecord component.- Returns:
- the value of the
remoterecord component
-
steerable
Returns the value of thesteerablerecord component.- Returns:
- the value of the
steerablerecord component
-
explicit
Returns the value of theexplicitrecord component.- Returns:
- the value of the
explicitrecord component
-
silent
Returns the value of thesilentrecord component.- Returns:
- the value of the
silentrecord component
-
taskId
Returns the value of thetaskIdrecord component.- Returns:
- the value of the
taskIdrecord component
-
existingMcSession
Returns the value of theexistingMcSessionrecord component.- Returns:
- the value of the
existingMcSessionrecord component
-