Record Class SessionsPruneOldParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionsPruneOldParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondryRun()Returns the value of thedryRunrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexcludeSessionIdsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theincludeNamedrecord component.Returns the value of theolderThanDaysrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionsPruneOldParams
public SessionsPruneOldParams(Long olderThanDays, Boolean dryRun, Boolean includeNamed, List<String> excludeSessionIds) Creates an instance of aSessionsPruneOldParamsrecord class.- Parameters:
olderThanDays- the value for theolderThanDaysrecord componentdryRun- the value for thedryRunrecord componentincludeNamed- the value for theincludeNamedrecord componentexcludeSessionIds- the value for theexcludeSessionIdsrecord 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). -
olderThanDays
Returns the value of theolderThanDaysrecord component.- Returns:
- the value of the
olderThanDaysrecord component
-
dryRun
Returns the value of thedryRunrecord component.- Returns:
- the value of the
dryRunrecord component
-
includeNamed
Returns the value of theincludeNamedrecord component.- Returns:
- the value of the
includeNamedrecord component
-
excludeSessionIds
-