types

package
v0.9.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL