class MyChatapp

Constants

APP
CATEGORY
FIELDS
PRIORITY

Public Instance Methods

struct_fields() click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 4295
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 4297
def validate
  unless @category.nil? || ::G_a_b0_a_a_c::VALID_VALUES.include?(@category)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field category!')
  end
end