struct
PlaceOS::Api::WebSocket::Session::Response
Defined in:
placeos-rest-api/websocket/session/response.crConstructors
- .new(id : Int64, type : Type, error_code : ErrorCode | Nil = nil, message : String | Nil = nil, value : String | Nil = nil, module_id : String | Nil = nil, level : ::Log::Severity | Nil = nil, metadata : Metadata | Nil = nil, response_code : Int32 | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #error_code : ErrorCode | Nil
- #id : Int64
- #level : ::Log::Severity | Nil
- #message : String | Nil
- #metadata : Metadata | Nil
- #module_id : String | Nil
- #response_code : Int32 | Nil
- #type : Type
- #value : String | Nil
Constructor methods inherited from struct PlaceOS::Api::WebSocket::Session::Base
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(id : Int64, type : Type, error_code : ErrorCode | Nil = nil, message : String | Nil = nil, value : String | Nil = nil, module_id : String | Nil = nil, level : ::Log::Severity | Nil = nil, metadata : Metadata | Nil = nil, response_code : Int32 | Nil = nil)
#