Class ScheduledEvent
- java.lang.Object
-
- org.elasticsearch.client.ml.calendars.ScheduledEvent
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class ScheduledEvent extends Object implements ToXContentObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static ParseFieldDESCRIPTIONstatic ParseFieldEND_TIMEstatic ParseFieldEVENT_IDstatic ConstructingObjectParser<ScheduledEvent,Void>PARSERstatic StringSCHEDULED_EVENT_TYPEstatic ParseFieldSTART_TIME-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCalendarId()StringgetDescription()DategetEndTime()StringgetEventId()DategetStartTime()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
DESCRIPTION
public static final ParseField DESCRIPTION
-
START_TIME
public static final ParseField START_TIME
-
END_TIME
public static final ParseField END_TIME
-
EVENT_ID
public static final ParseField EVENT_ID
-
SCHEDULED_EVENT_TYPE
public static final String SCHEDULED_EVENT_TYPE
- See Also:
- Constant Field Values
-
PARSER
public static final ConstructingObjectParser<ScheduledEvent,Void> PARSER
-
-
Method Detail
-
getDescription
public String getDescription()
-
getStartTime
public Date getStartTime()
-
getEndTime
public Date getEndTime()
-
getCalendarId
public String getCalendarId()
-
getEventId
public String getEventId()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
-