Record Class DebugCollectLogsEntry
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.DebugCollectLogsEntry
@Generated("copilot-sdk-codegen")
public record DebugCollectLogsEntry(DebugCollectLogsEntryKind kind, String path, String bundlePath, DebugCollectLogsRedaction redaction, Boolean required)
extends Record
A caller-provided server-local file or directory to include in the debug bundle.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionDebugCollectLogsEntry(DebugCollectLogsEntryKind kind, String path, String bundlePath, DebugCollectLogsRedaction redaction, Boolean required) Creates an instance of aDebugCollectLogsEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebundlePathrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.path()Returns the value of thepathrecord component.Returns the value of theredactionrecord component.required()Returns the value of therequiredrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DebugCollectLogsEntry
public DebugCollectLogsEntry(DebugCollectLogsEntryKind kind, String path, String bundlePath, DebugCollectLogsRedaction redaction, Boolean required) Creates an instance of aDebugCollectLogsEntryrecord class.- Parameters:
kind- the value for thekindrecord componentpath- the value for thepathrecord componentbundlePath- the value for thebundlePathrecord componentredaction- the value for theredactionrecord componentrequired- the value for therequiredrecord 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). -
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
bundlePath
Returns the value of thebundlePathrecord component.- Returns:
- the value of the
bundlePathrecord component
-
redaction
Returns the value of theredactionrecord component.- Returns:
- the value of the
redactionrecord component
-
required
Returns the value of therequiredrecord component.- Returns:
- the value of the
requiredrecord component
-