class Swcdb::Thrift::Gen::SpecTimestamp

The Timestamp Specifications

Constants

COMP
FIELDS
TS

Public Instance Methods

struct_fields() click to toggle source
# File lib/swcdb/thrift/gen/service_types.rb, line 504
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/swcdb/thrift/gen/service_types.rb, line 506
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