Record Class SessionPermissionsSetAllowAllResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionPermissionsSetAllowAllResult
@Generated("copilot-sdk-codegen")
public record SessionPermissionsSetAllowAllResult(Boolean success, Boolean enabled)
extends Record
Indicates whether the operation succeeded and reports the post-mutation state.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionPermissionsSetAllowAllResult(Boolean success, Boolean enabled) Creates an instance of aSessionPermissionsSetAllowAllResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionenabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.success()Returns the value of thesuccessrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionPermissionsSetAllowAllResult
-
-
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). -
success
Returns the value of thesuccessrecord component.- Returns:
- the value of the
successrecord component
-
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-