class DeviceInfo

Constants

APPLICATIONTYPE
CARRIERCODE
CARRIERNAME
DEVICENAME
FIELDS
MODEL
SYSTEMNAME
SYSTEMVERSION
WEBVIEWVERSION

Public Instance Methods

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