GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeEvent
Table of Contents ▼
Jump to a specific part of the page:
Description
This message is defined to be a representation of events that could interact with datetimes expressions through composition by shifting or fetching. For "native" datetime events like sunset, sunrise, etc the type is enough, but this should be extended as needed to represent richer event information.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
holiday
(type:String.t
, default:nil
)
- -
moonEvent
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeMoonEventInfo
, default:nil
)
- -
sunEvent
(type:String.t
, default:nil
)
- -
type
(type:String.t
, default:nil
)
-
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeEvent{
holiday: String.t() | nil,
moonEvent: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeMoonEventInfo.t() | nil,
sunEvent: String.t() | nil,
type: String.t() | nil
}
holiday: String.t() | nil,
moonEvent: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeMoonEventInfo.t() | nil,
sunEvent: String.t() | nil,
type: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeEvent