class Swcdb::Thrift::Gen::SchemaPattern
The Schema
matching Pattern
Constants
- COMP
- FIELDS
- VALUE
Public Instance Methods
struct_fields()
click to toggle source
# File lib/swcdb/thrift/gen/service_types.rb, line 357 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/swcdb/thrift/gen/service_types.rb, line 359 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