class SpotItem

Constants

CATEGORY
COUNTRYAREACODE
FIELDS
FREEPHONECALLABLE
MID
NAME
PHONE

Public Instance Methods

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