struct CloudEvents::Event::V1(T)

Included Modules

Defined in:

event.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def batch? : Bool #

[View source]
def content #

[View source]
def content_type : ContentType #

[View source]
def data #

[View source]
def data_content_type #

[View source]
def data_schema #

[View source]
def id #

[View source]
def source #

[View source]
def spec_version #

[View source]
def subject #

[View source]
def time #

[View source]
def trace_context #

[View source]
def type #

[View source]