func (s *Binary) GetVersion() string {
	return s.event.GetHeaderString("CE-CloudEventsVersion")
}
GetVersion returns the version of the event
package cloudevent
import (
	"time"
	"github.com/nuclio/nuclio-sdk-go"
)
type Binary struct {
	wrappedEvent
}
func (s *Binary) SetEvent(event nuclio.Event) error {
	s.event = event
	s.event.SetTriggerInfoProvider(s)
	return nil
}
func (s *Binary) GetID() nuclio.ID {
	return nuclio.ID(s.event.GetHeaderString("CE-EventID"))
}
func (s *Binary) GetClass() string {
	return "unsupported"
}
func (s *Binary) GetKind() string {
	return s.event.GetHeaderString("CE-Source")
}
func (s *Binary) GetName() string {
	return s.event.GetHeaderString("CE-Name")
}
func (s *Binary) GetTimestamp() time.Time {
	parsedTime, err := time.Parse(time.RFC3339, s.event.GetHeaderString("CE-EventTime"))
	if err != nil {
		return time.Time{}
	}
	return parsedTime
}
func (s *Binary) GetType() string {
	return s.event.GetHeaderString("CE-EventType")
}
func (s *Binary) GetTypeVersion() string {
	return s.event.GetHeaderString("CE-EventTypeVersion")
}