Record Class AgentRegistryLogCapture
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AgentRegistryLogCapture
@Generated("copilot-sdk-codegen")
public record AgentRegistryLogCapture(Boolean enabled, String path, String openError, AgentRegistryLogCaptureOpenErrorReason openErrorReason)
extends Record
Per-spawn log-capture outcome; populated from spawnLiveTarget.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAgentRegistryLogCapture(Boolean enabled, String path, String openError, AgentRegistryLogCaptureOpenErrorReason openErrorReason) Creates an instance of aAgentRegistryLogCapturerecord class. -
Method Summary
Modifier and TypeMethodDescriptionenabled()Returns the value of theenabledrecord 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 theopenErrorrecord component.Returns the value of theopenErrorReasonrecord component.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AgentRegistryLogCapture
public AgentRegistryLogCapture(Boolean enabled, String path, String openError, AgentRegistryLogCaptureOpenErrorReason openErrorReason) Creates an instance of aAgentRegistryLogCapturerecord class.- Parameters:
enabled- the value for theenabledrecord componentpath- the value for thepathrecord componentopenError- the value for theopenErrorrecord componentopenErrorReason- the value for theopenErrorReasonrecord 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). -
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
openError
Returns the value of theopenErrorrecord component.- Returns:
- the value of the
openErrorrecord component
-
openErrorReason
Returns the value of theopenErrorReasonrecord component.- Returns:
- the value of the
openErrorReasonrecord component
-