struct Apps::Version
- Apps::Version
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Apps/CATS_Helper.pb.crConstant 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
- .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)
- .new(buf : Protobuf::Buffer)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #build_time : String | Nil
- #build_time=(build_time : String | Nil)
- #current_time : String
- #current_time=(current_time : String)
- #more_info : String | Nil
- #more_info=(more_info : String | Nil)
- #name : String
- #name=(name : String)
- #start_time : String | Nil
- #start_time=(start_time : String | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #v_build : Int32 | Nil
- #v_build=(v_build : Int32 | Nil)
- #v_major : Int32
- #v_major=(v_major : Int32)
- #v_minor : Int32
- #v_minor=(v_minor : Int32)
- #v_revision : Int32 | Nil
- #v_revision=(v_revision : Int32 | Nil)
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)
#