Record Class McpAppsDiagnoseCapability
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpAppsDiagnoseCapability
@Generated("copilot-sdk-codegen")
public record McpAppsDiagnoseCapability(Boolean sessionHasMcpApps, Boolean featureFlagEnabled, Boolean advertised)
extends Record
Capability negotiation snapshot
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpAppsDiagnoseCapability(Boolean sessionHasMcpApps, Boolean featureFlagEnabled, Boolean advertised) Creates an instance of aMcpAppsDiagnoseCapabilityrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadvertisedrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefeatureFlagEnabledrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesessionHasMcpAppsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpAppsDiagnoseCapability
public McpAppsDiagnoseCapability(Boolean sessionHasMcpApps, Boolean featureFlagEnabled, Boolean advertised) Creates an instance of aMcpAppsDiagnoseCapabilityrecord class.- Parameters:
sessionHasMcpApps- the value for thesessionHasMcpAppsrecord componentfeatureFlagEnabled- the value for thefeatureFlagEnabledrecord componentadvertised- the value for theadvertisedrecord 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). -
sessionHasMcpApps
Returns the value of thesessionHasMcpAppsrecord component.- Returns:
- the value of the
sessionHasMcpAppsrecord component
-
featureFlagEnabled
Returns the value of thefeatureFlagEnabledrecord component.- Returns:
- the value of the
featureFlagEnabledrecord component
-
advertised
Returns the value of theadvertisedrecord component.- Returns:
- the value of the
advertisedrecord component
-