struct Client::Version

Included Modules

Defined in:

pb-Client/CATS_Helper.pb.cr

Constant Summary

FIELDS = {1 => {name: :v_major, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :v_minor, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 3 => {name: :v_build, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :v_revision, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :build_time, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 7 => {name: :more_info, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :current_time, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 9 => {name: :start_time, 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(v_major : Int32, v_minor : Int32, name : String, current_time : String, v_build : Int32 | Nil = nil, v_revision : Int32 | Nil = nil, build_time : String | Nil = nil, more_info : String | Nil = nil, start_time : String | Nil = nil) #

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

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def build_time : String | Nil #

def build_time=(build_time : String | Nil) #

def current_time : String #

def current_time=(current_time : String) #

def more_info : String | Nil #

def more_info=(more_info : String | Nil) #

def name : String #

def name=(name : String) #

def start_time : String | Nil #

def start_time=(start_time : String | Nil) #

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

def to_protobuf #

def v_build : Int32 | Nil #

def v_build=(v_build : Int32 | Nil) #

def v_major : Int32 #

def v_major=(v_major : Int32) #

def v_minor : Int32 #

def v_minor=(v_minor : Int32) #

def v_revision : Int32 | Nil #

def v_revision=(v_revision : Int32 | Nil) #