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