class Swcdb::Thrift::Gen::SpecValueSerial

The Serial Value Specifications

Constants

COMP
FIELDS

Public Instance Methods

struct_fields() click to toggle source
# File lib/swcdb/thrift/gen/service_types.rb, line 815
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/swcdb/thrift/gen/service_types.rb, line 817
def validate
  unless @comp.nil? || ::Swcdb::Thrift::Gen::Comp::VALID_VALUES.include?(@comp)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field comp!')
  end
end