public class RuntimeEntityInterpretation
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
RuntimeEntityInterpretation.Builder
Builder.
|
static interface |
RuntimeEntityInterpretation.Granularity
The precision or duration of a time range specified by a recognized `@sys-time` or `@sys-date`
entity.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
calendarType |
protected java.lang.String |
datetimeLink |
protected java.lang.String |
festival |
protected java.lang.String |
granularity |
protected java.lang.Double |
numericValue |
protected java.lang.String |
partOfDay |
protected java.lang.String |
rangeLink |
protected java.lang.String |
rangeModifier |
protected java.lang.Double |
relativeDay |
protected java.lang.Double |
relativeHour |
protected java.lang.Double |
relativeMinute |
protected java.lang.Double |
relativeMonth |
protected java.lang.Double |
relativeSecond |
protected java.lang.Double |
relativeWeek |
protected java.lang.Double |
relativeWeekend |
protected java.lang.Double |
relativeYear |
protected java.lang.Double |
specificDay |
protected java.lang.String |
specificDayOfWeek |
protected java.lang.Double |
specificHour |
protected java.lang.Double |
specificMinute |
protected java.lang.Double |
specificMonth |
protected java.lang.Double |
specificQuarter |
protected java.lang.Double |
specificSecond |
protected java.lang.Double |
specificYear |
protected java.lang.String |
subtype |
protected java.lang.String |
timezone |
Modifier | Constructor and Description |
---|---|
protected |
RuntimeEntityInterpretation(RuntimeEntityInterpretation.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
calendarType()
Gets the calendarType.
|
java.lang.String |
datetimeLink()
Gets the datetimeLink.
|
java.lang.String |
festival()
Gets the festival.
|
java.lang.String |
granularity()
Gets the granularity.
|
RuntimeEntityInterpretation.Builder |
newBuilder()
New builder.
|
java.lang.Double |
numericValue()
Gets the numericValue.
|
java.lang.String |
partOfDay()
Gets the partOfDay.
|
java.lang.String |
rangeLink()
Gets the rangeLink.
|
java.lang.String |
rangeModifier()
Gets the rangeModifier.
|
java.lang.Double |
relativeDay()
Gets the relativeDay.
|
java.lang.Double |
relativeHour()
Gets the relativeHour.
|
java.lang.Double |
relativeMinute()
Gets the relativeMinute.
|
java.lang.Double |
relativeMonth()
Gets the relativeMonth.
|
java.lang.Double |
relativeSecond()
Gets the relativeSecond.
|
java.lang.Double |
relativeWeek()
Gets the relativeWeek.
|
java.lang.Double |
relativeWeekend()
Gets the relativeWeekend.
|
java.lang.Double |
relativeYear()
Gets the relativeYear.
|
java.lang.Double |
specificDay()
Gets the specificDay.
|
java.lang.String |
specificDayOfWeek()
Gets the specificDayOfWeek.
|
java.lang.Double |
specificHour()
Gets the specificHour.
|
java.lang.Double |
specificMinute()
Gets the specificMinute.
|
java.lang.Double |
specificMonth()
Gets the specificMonth.
|
java.lang.Double |
specificQuarter()
Gets the specificQuarter.
|
java.lang.Double |
specificSecond()
Gets the specificSecond.
|
java.lang.Double |
specificYear()
Gets the specificYear.
|
java.lang.String |
subtype()
Gets the subtype.
|
java.lang.String |
timezone()
Gets the timezone.
|
@SerializedName(value="calendar_type") protected java.lang.String calendarType
@SerializedName(value="datetime_link") protected java.lang.String datetimeLink
protected java.lang.String festival
protected java.lang.String granularity
@SerializedName(value="range_link") protected java.lang.String rangeLink
@SerializedName(value="range_modifier") protected java.lang.String rangeModifier
@SerializedName(value="relative_day") protected java.lang.Double relativeDay
@SerializedName(value="relative_month") protected java.lang.Double relativeMonth
@SerializedName(value="relative_week") protected java.lang.Double relativeWeek
@SerializedName(value="relative_weekend") protected java.lang.Double relativeWeekend
@SerializedName(value="relative_year") protected java.lang.Double relativeYear
@SerializedName(value="specific_day") protected java.lang.Double specificDay
@SerializedName(value="specific_day_of_week") protected java.lang.String specificDayOfWeek
@SerializedName(value="specific_month") protected java.lang.Double specificMonth
@SerializedName(value="specific_quarter") protected java.lang.Double specificQuarter
@SerializedName(value="specific_year") protected java.lang.Double specificYear
@SerializedName(value="numeric_value") protected java.lang.Double numericValue
protected java.lang.String subtype
@SerializedName(value="part_of_day") protected java.lang.String partOfDay
@SerializedName(value="relative_hour") protected java.lang.Double relativeHour
@SerializedName(value="relative_minute") protected java.lang.Double relativeMinute
@SerializedName(value="relative_second") protected java.lang.Double relativeSecond
@SerializedName(value="specific_hour") protected java.lang.Double specificHour
@SerializedName(value="specific_minute") protected java.lang.Double specificMinute
@SerializedName(value="specific_second") protected java.lang.Double specificSecond
protected java.lang.String timezone
protected RuntimeEntityInterpretation(RuntimeEntityInterpretation.Builder builder)
public RuntimeEntityInterpretation.Builder newBuilder()
public java.lang.String calendarType()
The calendar used to represent a recognized date (for example, `Gregorian`).
public java.lang.String datetimeLink()
A unique identifier used to associate a recognized time and date. If the user input contains a date and time that are mentioned together (for example, `Today at 5`, the same **datetime_link** value is returned for both the `@sys-date` and `@sys-time` entities).
public java.lang.String festival()
A locale-specific holiday name (such as `thanksgiving` or `christmas`). This property is included when a `@sys-date` entity is recognized based on a holiday name in the user input.
public java.lang.String granularity()
The precision or duration of a time range specified by a recognized `@sys-time` or `@sys-date` entity.
public java.lang.String rangeLink()
A unique identifier used to associate multiple recognized `@sys-date`, `@sys-time`, or `@sys-number` entities that are recognized as a range of values in the user's input (for example, `from July 4 until July 14` or `from 20 to 25`).
public java.lang.String rangeModifier()
The word in the user input that indicates that a `sys-date` or `sys-time` entity is part of an implied range where only one date or time is specified (for example, `since` or `until`).
public java.lang.Double relativeDay()
A recognized mention of a relative day, represented numerically as an offset from the current date (for example, `-1` for `yesterday` or `10` for `in ten days`).
public java.lang.Double relativeMonth()
A recognized mention of a relative month, represented numerically as an offset from the current month (for example, `1` for `next month` or `-3` for `three months ago`).
public java.lang.Double relativeWeek()
A recognized mention of a relative week, represented numerically as an offset from the current week (for example, `2` for `in two weeks` or `-1` for `last week).
public java.lang.Double relativeWeekend()
A recognized mention of a relative date range for a weekend, represented numerically as an offset from the current weekend (for example, `0` for `this weekend` or `-1` for `last weekend`).
public java.lang.Double relativeYear()
A recognized mention of a relative year, represented numerically as an offset from the current year (for example, `1` for `next year` or `-5` for `five years ago`).
public java.lang.Double specificDay()
A recognized mention of a specific date, represented numerically as the date within the month (for example, `30` for `June 30`.).
public java.lang.String specificDayOfWeek()
A recognized mention of a specific day of the week as a lowercase string (for example, `monday`).
public java.lang.Double specificMonth()
A recognized mention of a specific month, represented numerically (for example, `7` for `July`).
public java.lang.Double specificQuarter()
A recognized mention of a specific quarter, represented numerically (for example, `3` for `the third quarter`).
public java.lang.Double specificYear()
A recognized mention of a specific year (for example, `2016`).
public java.lang.Double numericValue()
A recognized numeric value, represented as an integer or double.
public java.lang.String subtype()
The type of numeric value recognized in the user input (`integer` or `rational`).
public java.lang.String partOfDay()
A recognized term for a time that was mentioned as a part of the day in the user's input (for example, `morning` or `afternoon`).
public java.lang.Double relativeHour()
A recognized mention of a relative hour, represented numerically as an offset from the current hour (for example, `3` for `in three hours` or `-1` for `an hour ago`).
public java.lang.Double relativeMinute()
A recognized mention of a relative time, represented numerically as an offset in minutes from the current time (for example, `5` for `in five minutes` or `-15` for `fifteen minutes ago`).
public java.lang.Double relativeSecond()
A recognized mention of a relative time, represented numerically as an offset in seconds from the current time (for example, `10` for `in ten seconds` or `-30` for `thirty seconds ago`).
public java.lang.Double specificHour()
A recognized specific hour mentioned as part of a time value (for example, `10` for `10:15 AM`.).
public java.lang.Double specificMinute()
A recognized specific minute mentioned as part of a time value (for example, `15` for `10:15 AM`.).
public java.lang.Double specificSecond()
A recognized specific second mentioned as part of a time value (for example, `30` for `10:15:30 AM`.).
public java.lang.String timezone()
A recognized time zone mentioned as part of a time value (for example, `EST`).