Record Class OptionsUpdateAdditionalContentExclusionPolicy
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.OptionsUpdateAdditionalContentExclusionPolicy
@Generated("copilot-sdk-codegen")
public record OptionsUpdateAdditionalContentExclusionPolicy(List<OptionsUpdateAdditionalContentExclusionPolicyRule> rules, Object lastUpdatedAt, OptionsUpdateAdditionalContentExclusionPolicyScope scope)
extends Record
Schema for the `OptionsUpdateAdditionalContentExclusionPolicy` type.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionOptionsUpdateAdditionalContentExclusionPolicy(List<OptionsUpdateAdditionalContentExclusionPolicyRule> rules, Object lastUpdatedAt, OptionsUpdateAdditionalContentExclusionPolicyScope scope) Creates an instance of aOptionsUpdateAdditionalContentExclusionPolicyrecord 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 thelastUpdatedAtrecord component.rules()Returns the value of therulesrecord component.scope()Returns the value of thescoperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OptionsUpdateAdditionalContentExclusionPolicy
public OptionsUpdateAdditionalContentExclusionPolicy(List<OptionsUpdateAdditionalContentExclusionPolicyRule> rules, Object lastUpdatedAt, OptionsUpdateAdditionalContentExclusionPolicyScope scope) Creates an instance of aOptionsUpdateAdditionalContentExclusionPolicyrecord class.- Parameters:
rules- the value for therulesrecord componentlastUpdatedAt- the value for thelastUpdatedAtrecord componentscope- the value for thescoperecord 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). -
rules
Returns the value of therulesrecord component.- Returns:
- the value of the
rulesrecord component
-
lastUpdatedAt
Returns the value of thelastUpdatedAtrecord component.- Returns:
- the value of the
lastUpdatedAtrecord component
-
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-