struct Murcure::Protos::Version

Included Modules

Defined in:

murcure/utils/protos.cr

Constant Summary

FIELDS = {1 => {name: :version, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :release, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :os, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :os_version, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(version : UInt32 | Nil = nil, release : String | Nil = nil, os : String | Nil = nil, os_version : String | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def os : String | Nil #

def os=(os : String | Nil) #

def os_version : String | Nil #

def os_version=(os_version : String | Nil) #

def release : String | Nil #

def release=(release : String | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def version : UInt32 | Nil #

def version=(version : UInt32 | Nil) #