Record Class SessionPermissionsLocationsApplyResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionPermissionsLocationsApplyResult
@Generated("copilot-sdk-codegen")
public record SessionPermissionsLocationsApplyResult(String locationKey, PermissionLocationType locationType, Boolean changed, Long appliedRuleCount, Long appliedDirectoryCount, List<PermissionRule> appliedRules)
extends Record
Summary of persisted location permissions applied to the session.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionPermissionsLocationsApplyResult(String locationKey, PermissionLocationType locationType, Boolean changed, Long appliedRuleCount, Long appliedDirectoryCount, List<PermissionRule> appliedRules) Creates an instance of aSessionPermissionsLocationsApplyResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappliedDirectoryCountrecord component.Returns the value of theappliedRuleCountrecord component.Returns the value of theappliedRulesrecord component.changed()Returns the value of thechangedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelocationKeyrecord component.Returns the value of thelocationTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionPermissionsLocationsApplyResult
public SessionPermissionsLocationsApplyResult(String locationKey, PermissionLocationType locationType, Boolean changed, Long appliedRuleCount, Long appliedDirectoryCount, List<PermissionRule> appliedRules) Creates an instance of aSessionPermissionsLocationsApplyResultrecord class.- Parameters:
locationKey- the value for thelocationKeyrecord componentlocationType- the value for thelocationTyperecord componentchanged- the value for thechangedrecord componentappliedRuleCount- the value for theappliedRuleCountrecord componentappliedDirectoryCount- the value for theappliedDirectoryCountrecord componentappliedRules- the value for theappliedRulesrecord 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). -
locationKey
Returns the value of thelocationKeyrecord component.- Returns:
- the value of the
locationKeyrecord component
-
locationType
Returns the value of thelocationTyperecord component.- Returns:
- the value of the
locationTyperecord component
-
changed
Returns the value of thechangedrecord component.- Returns:
- the value of the
changedrecord component
-
appliedRuleCount
Returns the value of theappliedRuleCountrecord component.- Returns:
- the value of the
appliedRuleCountrecord component
-
appliedDirectoryCount
Returns the value of theappliedDirectoryCountrecord component.- Returns:
- the value of the
appliedDirectoryCountrecord component
-
appliedRules
Returns the value of theappliedRulesrecord component.- Returns:
- the value of the
appliedRulesrecord component
-