func (s *Structured) GetTimestamp() time.Time {
	return s.cloudEvent.EventTime
}
GetTimestamp returns when the event originated
package cloudevent
import (
	"encoding/json"
	"time"
	"github.com/nuclio/nuclio-sdk-go"
)
type Structured struct {
	wrappedEvent
	cloudEvent cloudEvent
}
func (s *Structured) SetEvent(event nuclio.Event) error {
	s.event = event
	s.event.SetTriggerInfoProvider(s)
	body := string(event.GetBody())
	return json.Unmarshal([]byte(body), &s.cloudEvent)
}
func (s *Structured) GetID() nuclio.ID {
	return nuclio.ID(s.cloudEvent.EventID)
}
func (s *Structured) GetClass() string {
	return "unsupported"
}
func (s *Structured) GetKind() string {
	return s.cloudEvent.Source
}
func (s *Structured) GetName() string {
	return s.cloudEvent.Source
}