# Path: cloudevents/sdk/event/v1.py
# class Event(base.BaseEvent):
#     def __init__(self):
#     def CloudEventVersion(self) -> str:
#     def EventType(self) -> str:
#     def Source(self) -> str:
#     def EventID(self) -> str:
#     def EventTime(self) -> str:
#     def Subject(self) -> str:
#     def Schema(self) -> str:
#     def ContentType(self) -> str:
#     def Data(self) -> object:
#     def Extensions(self) -> dict:
#     def SetEventType(self, eventType: str) -> base.BaseEvent:
#     def SetSource(self, source: str) -> base.BaseEvent:
#     def SetEventID(self, eventID: str) -> base.BaseEvent:
#     def SetEventTime(self, eventTime: str) -> base.BaseEvent:
#     def SetSubject(self, subject: str) -> base.BaseEvent:
#     def SetSchema(self, schema: str) -> base.BaseEvent:
#     def SetContentType(self, contentType: str) -> base.BaseEvent:
#     def SetData(self, data: object) -> base.BaseEvent:
#     def SetExtensions(self, extensions: dict) -> base.BaseEvent:
#     def schema(self) -> str:
#     def schema(self, value: str):
#     def subject(self) -> str:
#     def subject(self, value: str):
# 
# Path: cloudevents/sdk/event/v03.py
# class Event(base.BaseEvent):
#     def __init__(self):
#     def CloudEventVersion(self) -> str:
#     def EventType(self) -> str:
#     def Source(self) -> str:
#     def EventID(self) -> str:
#     def EventTime(self) -> str:
#     def Subject(self) -> str:
#     def SchemaURL(self) -> str:
#     def Data(self) -> object:
#     def Extensions(self) -> dict:
#     def ContentType(self) -> str:
#     def ContentEncoding(self) -> str:
#     def SetEventType(self, eventType: str) -> base.BaseEvent:
#     def SetSource(self, source: str) -> base.BaseEvent:
#     def SetEventID(self, eventID: str) -> base.BaseEvent:
#     def SetEventTime(self, eventTime: str) -> base.BaseEvent:
#     def SetSubject(self, subject: str) -> base.BaseEvent:
#     def SetSchemaURL(self, schemaURL: str) -> base.BaseEvent:
#     def SetData(self, data: object) -> base.BaseEvent:
#     def SetExtensions(self, extensions: dict) -> base.BaseEvent:
#     def SetContentType(self, contentType: str) -> base.BaseEvent:
#     def SetContentEncoding(self, contentEncoding: str) -> base.BaseEvent:
#     def datacontentencoding(self):
#     def datacontentencoding(self, value: str):
#     def subject(self) -> str:
#     def subject(self, value: str):
#     def schema_url(self) -> str:
#     def schema_url(self, value: str):


from cloudevents.sdk.event import v1, v03
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.


contentType = "application/json"
ce_type = "word.found.exclamation"
ce_id = "16fb5f0b-211e-1102-3dfe-ea6e2806f124"
source = "pytest"
eventTime = "2018-10-23T12:28:23.3464579Z"
body = '{"name":"john"}'

headers = {
    v03.Event: {
        "ce-specversion": "1.0",
        "ce-type": ce_type,
        "ce-id": ce_id,
        "ce-time": eventTime,
        "ce-source": source,
        "Content-Type": contentType,
    },

# Path: cloudevents/sdk/event/v1.py
# class Event(base.BaseEvent):
#     def __init__(self):
#     def CloudEventVersion(self) -> str:
#     def EventType(self) -> str:
#     def Source(self) -> str:
#     def EventID(self) -> str:
#     def EventTime(self) -> str:
#     def Subject(self) -> str:
#     def Schema(self) -> str:
#     def ContentType(self) -> str:
#     def Data(self) -> object:
#     def Extensions(self) -> dict:
#     def SetEventType(self, eventType: str) -> base.BaseEvent:
#     def SetSource(self, source: str) -> base.BaseEvent:
#     def SetEventID(self, eventID: str) -> base.BaseEvent:
#     def SetEventTime(self, eventTime: str) -> base.BaseEvent:
#     def SetSubject(self, subject: str) -> base.BaseEvent:
#     def SetSchema(self, schema: str) -> base.BaseEvent:
#     def SetContentType(self, contentType: str) -> base.BaseEvent:
#     def SetData(self, data: object) -> base.BaseEvent:
#     def SetExtensions(self, extensions: dict) -> base.BaseEvent:
#     def schema(self) -> str:
#     def schema(self, value: str):
#     def subject(self) -> str:
#     def subject(self, value: str):
# 
# Path: cloudevents/sdk/event/v03.py
# class Event(base.BaseEvent):
#     def __init__(self):
#     def CloudEventVersion(self) -> str:
#     def EventType(self) -> str:
#     def Source(self) -> str:
#     def EventID(self) -> str:
#     def EventTime(self) -> str:
#     def Subject(self) -> str:
#     def SchemaURL(self) -> str:
#     def Data(self) -> object:
#     def Extensions(self) -> dict:
#     def ContentType(self) -> str:
#     def ContentEncoding(self) -> str:
#     def SetEventType(self, eventType: str) -> base.BaseEvent:
#     def SetSource(self, source: str) -> base.BaseEvent:
#     def SetEventID(self, eventID: str) -> base.BaseEvent:
#     def SetEventTime(self, eventTime: str) -> base.BaseEvent:
#     def SetSubject(self, subject: str) -> base.BaseEvent:
#     def SetSchemaURL(self, schemaURL: str) -> base.BaseEvent:
#     def SetData(self, data: object) -> base.BaseEvent:
#     def SetExtensions(self, extensions: dict) -> base.BaseEvent:
#     def SetContentType(self, contentType: str) -> base.BaseEvent:
#     def SetContentEncoding(self, contentEncoding: str) -> base.BaseEvent:
#     def datacontentencoding(self):
#     def datacontentencoding(self, value: str):
#     def subject(self) -> str:
#     def subject(self, value: str):
#     def schema_url(self) -> str:
#     def schema_url(self, value: str):


# Path: cloudevents/tests/data.py
from cloudevents.sdk.event import v1, v03

#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.


contentType = "application/json"
ce_type = "word.found.exclamation"
ce_id = "16fb5f0b-211e-1102-3dfe-ea6e2806f124"
source = "pytest"
eventTime = "2018-10-23T12:28:23.3464579Z"
body = '{"name":"john"}'

headers = {
    v03.Event: {
        "ce-specversion": "1.0",
        "ce-type": ce_type,
        "ce-id": ce_id,
        "ce-time": eventTime,
        "ce-source": source,
        "Content-Type": contentType,
    },

    v1.Event: {