class Swcdb::Thrift::Gen::SpecValueSerial_KEY

The Specifications of KEY Serial Value Field

Constants

FIELDS
SEQ
V

Public Instance Methods

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