struct Client::Image

Included Modules

Defined in:

pb-Client/CATS_ExtStatus.pb.cr

Constant Summary

FIELDS = {1 => {name: :id, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :image, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8)?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :date_time_created, 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(id : Int32, image : Slice(UInt8) | Nil = nil, date_time_created : String | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def date_time_created : String | Nil #

def date_time_created=(date_time_created : String | Nil) #

def id : Int32 #

def id=(id : Int32) #

def image : Slice(UInt8) | Nil #

def image=(image : Slice(UInt8) | Nil) #

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

def to_protobuf #