Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Code string `mapstructure:"code"` Description string `mapstructure:"description"` State string `mapstructure:"state"` // State of the scheduled event EventID string `mapstructure:"event-id" json:"EventId"` NotBefore string `mapstructure:"not-before"` // The earliest start time for the scheduled event NotAfter string `mapstructure:"not-after,omitempty"` // The latest end time for the scheduled event NotBeforeDeadline string `mapstructure:"not-before-deadline,omitempty"` // The deadline for starting the event }
Event represents the metadata structure for mock json response parsing
Click to show internal directories.
Click to hide internal directories.