struct Murcure::Protos::PermissionQuery
- Murcure::Protos::PermissionQuery
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
murcure/utils/protos.crConstant Summary
-
FIELDS =
{1 => {name: :channel_id, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :permissions, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :flush, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(channel_id : UInt32 | Nil = nil, permissions : UInt32 | Nil = nil, flush : Bool | Nil = false.as(Bool))
Class Method Summary
Instance Method Summary
- #[](key : String)
- #channel_id : UInt32 | Nil
- #channel_id=(channel_id : UInt32 | Nil)
- #flush : Bool | Nil
- #flush=(flush : Bool | Nil)
- #permissions : UInt32 | Nil
- #permissions=(permissions : UInt32 | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(channel_id : UInt32 | Nil = nil, permissions : UInt32 | Nil = nil, flush : Bool | Nil = false.as(Bool))
#