java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ScheduleEntry
@Generated("copilot-sdk-codegen")
public record ScheduleEntry(Long id, Long intervalMs, String prompt, Boolean recurring, String displayPrompt, OffsetDateTime nextRunAt)
extends Record
Schema for the `ScheduleEntry` type.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionScheduleEntry(Long id, Long intervalMs, String prompt, Boolean recurring, String displayPrompt, OffsetDateTime nextRunAt) Creates an instance of aScheduleEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayPromptrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theintervalMsrecord component.Returns the value of thenextRunAtrecord component.prompt()Returns the value of thepromptrecord component.Returns the value of therecurringrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScheduleEntry
public ScheduleEntry(Long id, Long intervalMs, String prompt, Boolean recurring, String displayPrompt, OffsetDateTime nextRunAt) Creates an instance of aScheduleEntryrecord class.- Parameters:
id- the value for theidrecord componentintervalMs- the value for theintervalMsrecord componentprompt- the value for thepromptrecord componentrecurring- the value for therecurringrecord componentdisplayPrompt- the value for thedisplayPromptrecord componentnextRunAt- the value for thenextRunAtrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
intervalMs
Returns the value of theintervalMsrecord component.- Returns:
- the value of the
intervalMsrecord component
-
prompt
Returns the value of thepromptrecord component.- Returns:
- the value of the
promptrecord component
-
recurring
Returns the value of therecurringrecord component.- Returns:
- the value of the
recurringrecord component
-
displayPrompt
Returns the value of thedisplayPromptrecord component.- Returns:
- the value of the
displayPromptrecord component
-
nextRunAt
Returns the value of thenextRunAtrecord component.- Returns:
- the value of the
nextRunAtrecord component
-