struct Murcure::Protos::Authenticate
- Murcure::Protos::Authenticate
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
murcure/utils/protos.crConstant Summary
-
FIELDS =
{1 => {name: :username, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :password, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :tokens, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :celt_versions, pb_type: :uint64, crystal_type: UInt64, cast_type: Array(UInt64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 5 => {name: :opus, 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(username : String | Nil = nil, password : String | Nil = nil, tokens : Array(String) | Nil = nil, celt_versions : Array(UInt64) | Nil = nil, opus : Bool | Nil = false.as(Bool))
Class Method Summary
Instance Method Summary
- #[](key : String)
- #celt_versions : Array(UInt64) | Nil
- #celt_versions=(celt_versions : Array(UInt64) | Nil)
- #opus : Bool | Nil
- #opus=(opus : Bool | Nil)
- #password : String | Nil
- #password=(password : String | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #tokens : Array(String) | Nil
- #tokens=(tokens : Array(String) | Nil)
- #username : String | Nil
- #username=(username : String | Nil)
Constructor Detail
def self.new(username : String | Nil = nil, password : String | Nil = nil, tokens : Array(String) | Nil = nil, celt_versions : Array(UInt64) | Nil = nil, opus : Bool | Nil = false.as(Bool))
#