Package com.linecorp.bot.model.action
Class DatetimePickerAction.OfLocalDate
- java.lang.Object
-
- com.linecorp.bot.model.action.DatetimePickerAction.OfLocalDate
-
- All Implemented Interfaces:
Action,DatetimePickerAction<java.time.LocalDate>
- Enclosing interface:
- DatetimePickerAction<T extends java.time.temporal.Temporal>
public static final class DatetimePickerAction.OfLocalDate extends java.lang.Object implements DatetimePickerAction<java.time.LocalDate>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatetimePickerAction.OfLocalDate.OfLocalDateBuilder-
Nested classes/interfaces inherited from interface com.linecorp.bot.model.action.DatetimePickerAction
DatetimePickerAction.Mode, DatetimePickerAction.OfLocalDate, DatetimePickerAction.OfLocalDatetime, DatetimePickerAction.OfLocalTime
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatetimePickerAction.OfLocalDate.OfLocalDateBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetData()String returned via webhook in the postback.data property of the postback event.java.time.LocalDategetInitial()Initial value of date or time.java.lang.StringgetLabel()Label for the action.java.time.LocalDategetMax()Largest date or time value that can be selected.java.time.LocalDategetMin()Smallest date or time value that can be selected.DatetimePickerAction.ModegetMode()Action mode.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getMode
public DatetimePickerAction.Mode getMode()
Description copied from interface:DatetimePickerActionAction mode.- Specified by:
getModein interfaceDatetimePickerAction<java.time.LocalDate>- See Also:
DatetimePickerAction.Mode
-
builder
public static DatetimePickerAction.OfLocalDate.OfLocalDateBuilder builder()
-
getLabel
public java.lang.String getLabel()
Description copied from interface:DatetimePickerActionLabel for the action.- Required for templates other than image carousel. Max: 20 characters
- Optional for image carousel templates. Max: 12 characters.
- Specified by:
getLabelin interfaceAction- Specified by:
getLabelin interfaceDatetimePickerAction<java.time.LocalDate>
-
getData
public java.lang.String getData()
Description copied from interface:DatetimePickerActionString returned via webhook in the postback.data property of the postback event.Max: 300 characters
- Specified by:
getDatain interfaceDatetimePickerAction<java.time.LocalDate>
-
getInitial
public java.time.LocalDate getInitial()
Description copied from interface:DatetimePickerActionInitial value of date or time.- Specified by:
getInitialin interfaceDatetimePickerAction<java.time.LocalDate>
-
getMin
public java.time.LocalDate getMin()
Description copied from interface:DatetimePickerActionSmallest date or time value that can be selected. Must be less than the max value.- Specified by:
getMinin interfaceDatetimePickerAction<java.time.LocalDate>
-
getMax
public java.time.LocalDate getMax()
Description copied from interface:DatetimePickerActionLargest date or time value that can be selected. Must be greater than the min value.- Specified by:
getMaxin interfaceDatetimePickerAction<java.time.LocalDate>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-