Record Class PermissionsConfigureAdditionalContentExclusionPolicyRule
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.PermissionsConfigureAdditionalContentExclusionPolicyRule
@Generated("copilot-sdk-codegen")
public record PermissionsConfigureAdditionalContentExclusionPolicyRule(List<String> paths, List<String> ifAnyMatch, List<String> ifNoneMatch, PermissionsConfigureAdditionalContentExclusionPolicyRuleSource source)
extends Record
Schema for the `PermissionsConfigureAdditionalContentExclusionPolicyRule` type.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionPermissionsConfigureAdditionalContentExclusionPolicyRule(List<String> paths, List<String> ifAnyMatch, List<String> ifNoneMatch, PermissionsConfigureAdditionalContentExclusionPolicyRuleSource source) Creates an instance of aPermissionsConfigureAdditionalContentExclusionPolicyRulerecord 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 theifAnyMatchrecord component.Returns the value of theifNoneMatchrecord component.paths()Returns the value of thepathsrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PermissionsConfigureAdditionalContentExclusionPolicyRule
public PermissionsConfigureAdditionalContentExclusionPolicyRule(List<String> paths, List<String> ifAnyMatch, List<String> ifNoneMatch, PermissionsConfigureAdditionalContentExclusionPolicyRuleSource source) Creates an instance of aPermissionsConfigureAdditionalContentExclusionPolicyRulerecord class.- Parameters:
paths- the value for thepathsrecord componentifAnyMatch- the value for theifAnyMatchrecord componentifNoneMatch- the value for theifNoneMatchrecord componentsource- the value for thesourcerecord 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). -
paths
-
ifAnyMatch
-
ifNoneMatch
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-