class Hexspace::TPrimitiveTypeEntry
Constants
- FIELDS
- TYPE
- TYPEQUALIFIERS
Public Instance Methods
struct_fields()
click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 374 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 376 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field type is unset!') unless @type unless @type.nil? || ::Hexspace::TTypeId::VALID_VALUES.include?(@type) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field type!') end end