Record Class SessionScheduleAddCronParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionScheduleAddCronParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionScheduleAddCronParams(String sessionId, String cron, String prompt, Boolean recurring, String displayPrompt, String tz)
extends Record
Register a cron scheduled prompt.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncron()Returns the value of thecronrecord component.Returns 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.prompt()Returns the value of thepromptrecord component.Returns the value of therecurringrecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.tz()Returns the value of thetzrecord component.
-
Constructor Details
-
SessionScheduleAddCronParams
public SessionScheduleAddCronParams(String sessionId, String cron, String prompt, Boolean recurring, String displayPrompt, String tz) Creates an instance of aSessionScheduleAddCronParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentcron- the value for thecronrecord componentprompt- the value for thepromptrecord componentrecurring- the value for therecurringrecord componentdisplayPrompt- the value for thedisplayPromptrecord componenttz- the value for thetzrecord 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). -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
cron
Returns the value of thecronrecord component.- Returns:
- the value of the
cronrecord 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
-
tz
Returns the value of thetzrecord component.- Returns:
- the value of the
tzrecord component
-