Record Class FactoryRunLimits
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.FactoryRunLimits
@Generated("copilot-sdk-codegen")
public record FactoryRunLimits(Long maxConcurrentSubagents, Long maxTotalSubagents, Double timeout)
extends Record
Wire-only per-invocation factory resource ceiling overrides.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionFactoryRunLimits(Long maxConcurrentSubagents, Long maxTotalSubagents, Double timeout) Creates an instance of aFactoryRunLimitsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themaxConcurrentSubagentsrecord component.Returns the value of themaxTotalSubagentsrecord component.timeout()Returns the value of thetimeoutrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FactoryRunLimits
Creates an instance of aFactoryRunLimitsrecord class.- Parameters:
maxConcurrentSubagents- the value for themaxConcurrentSubagentsrecord componentmaxTotalSubagents- the value for themaxTotalSubagentsrecord componenttimeout- the value for thetimeoutrecord 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). -
maxConcurrentSubagents
Returns the value of themaxConcurrentSubagentsrecord component.- Returns:
- the value of the
maxConcurrentSubagentsrecord component
-
maxTotalSubagents
Returns the value of themaxTotalSubagentsrecord component.- Returns:
- the value of the
maxTotalSubagentsrecord component
-
timeout
Returns the value of thetimeoutrecord component.- Returns:
- the value of the
timeoutrecord component
-