Record Class SessionContentExclusionCheckPathsResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionContentExclusionCheckPathsResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionContentExclusionCheckPathsResult(Boolean available, List<ContentExclusionPathCheck> checks)
extends Record
Batch content-exclusion result. Callers must fail closed when policy evaluation is unavailable.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionContentExclusionCheckPathsResult(Boolean available, List<ContentExclusionPathCheck> checks) Creates an instance of aSessionContentExclusionCheckPathsResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theavailablerecord component.checks()Returns the value of thechecksrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionContentExclusionCheckPathsResult
public SessionContentExclusionCheckPathsResult(Boolean available, List<ContentExclusionPathCheck> checks) Creates an instance of aSessionContentExclusionCheckPathsResultrecord class.- Parameters:
available- the value for theavailablerecord componentchecks- the value for thechecksrecord 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). -
available
Returns the value of theavailablerecord component.- Returns:
- the value of the
availablerecord component
-
checks
Returns the value of thechecksrecord component.- Returns:
- the value of the
checksrecord component
-