Record Class GitHubMcpToolConfig
java.lang.Object
java.lang.Record
com.github.copilot.generated.GitHubMcpToolConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalToolsrecord component.Returns the value of theadditionalToolsetsrecord component.Returns the value of theenableAllToolsrecord component.Returns the value of theenableInsidersModerecord 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
-
GitHubMcpToolConfig
public GitHubMcpToolConfig(Boolean enableAllTools, List<String> additionalToolsets, List<String> additionalTools, Boolean enableInsidersMode) Creates an instance of aGitHubMcpToolConfigrecord class.- Parameters:
enableAllTools- the value for theenableAllToolsrecord componentadditionalToolsets- the value for theadditionalToolsetsrecord componentadditionalTools- the value for theadditionalToolsrecord componentenableInsidersMode- the value for theenableInsidersModerecord 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). -
enableAllTools
Returns the value of theenableAllToolsrecord component.- Returns:
- the value of the
enableAllToolsrecord component
-
additionalToolsets
-
additionalTools
-
enableInsidersMode
Returns the value of theenableInsidersModerecord component.- Returns:
- the value of the
enableInsidersModerecord component
-