struct CloudEvents::Event::V1(T)
- CloudEvents::Event::V1(T)
- Struct
- Value
- Object
Included Modules
Defined in:
event.crConstructors
Instance Method Summary
- #batch? : Bool
- #content
- #content_type : ContentType
- #data
- #data_content_type
- #data_schema
- #id
- #source
- #spec_version
- #subject
- #time
- #trace_context
- #type
Instance methods inherited from module CloudEvents::Event(T)
batch? : Bool
batch?,
content
content,
content_type : ContentType
content_type
Constructor Detail
def self.new(*, data : T, data_content_type : String = "", data_schema : String = "", id : String, source : URI, spec_version : String = "1.0", subject : String = "", time : Time = Time.new(seconds: 0_i64, nanoseconds: 0, location: Time::Location::UTC), trace_context : String = "", type : String)
#