struct Apps::LicenceInfo

Included Modules

Defined in:

pb-Apps/CATS_Licence.pb.cr

Constant Summary

FIELDS = {1 => {name: :current_time, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :serial_no, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :ws_class, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :monitors, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :clients, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :lines, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :expiration_date, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :update_limit, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :licensee_short, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :licensee, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :oem_supplier, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :copyright, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :client_licence_flags, pb_type: ClientLicenceFlags, crystal_type: ClientLicenceFlags, cast_type: ClientLicenceFlags?, native: false, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :server_licence_flags, pb_type: ServerLicenceFlags, crystal_type: ServerLicenceFlags, cast_type: ServerLicenceFlags?, native: false, 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(current_time : String | Nil = nil, serial_no : String | Nil = nil, ws_class : Int32 | Nil = nil, monitors : Int32 | Nil = nil, clients : Int32 | Nil = nil, lines : Int32 | Nil = nil, expiration_date : String | Nil = nil, update_limit : String | Nil = nil, licensee_short : String | Nil = nil, licensee : String | Nil = nil, oem_supplier : String | Nil = nil, copyright : String | Nil = nil, client_licence_flags : ClientLicenceFlags | Nil = nil, server_licence_flags : ServerLicenceFlags | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def client_licence_flags : ClientLicenceFlags | Nil #

def client_licence_flags=(client_licence_flags : ClientLicenceFlags | Nil) #

def clients : Int32 | Nil #

def clients=(clients : Int32 | Nil) #

def copyright : String | Nil #

def copyright=(copyright : String | Nil) #

def current_time : String | Nil #

def current_time=(current_time : String | Nil) #

def expiration_date : String | Nil #

def expiration_date=(expiration_date : String | Nil) #

def licensee : String | Nil #

def licensee=(licensee : String | Nil) #

def licensee_short : String | Nil #

def licensee_short=(licensee_short : String | Nil) #

def lines : Int32 | Nil #

def lines=(lines : Int32 | Nil) #

def monitors : Int32 | Nil #

def monitors=(monitors : Int32 | Nil) #

def oem_supplier : String | Nil #

def oem_supplier=(oem_supplier : String | Nil) #

def serial_no : String | Nil #

def serial_no=(serial_no : String | Nil) #

def server_licence_flags : ServerLicenceFlags | Nil #

def server_licence_flags=(server_licence_flags : ServerLicenceFlags | Nil) #

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

def to_protobuf #

def update_limit : String | Nil #

def update_limit=(update_limit : String | Nil) #

def ws_class : Int32 | Nil #

def ws_class=(ws_class : Int32 | Nil) #