Class: Blur::RecordMutation
- Inherits:
-
Object
- Object
- Blur::RecordMutation
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/active_blur/thrift/blur_types.rb
Constant Summary collapse
- RECORDMUTATIONTYPE =
1
- RECORD =
2
- FIELDS =
{ RECORDMUTATIONTYPE => {:type => ::Thrift::Types::I32, :name => 'recordMutationType', :enum_class => ::Blur::RecordMutationType}, RECORD => {:type => ::Thrift::Types::STRUCT, :name => 'record', :class => ::Blur::Record} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
410 |
# File 'lib/active_blur/thrift/blur_types.rb', line 410 def struct_fields; FIELDS; end |
#validate ⇒ Object
412 413 414 415 416 |
# File 'lib/active_blur/thrift/blur_types.rb', line 412 def validate unless @recordMutationType.nil? || ::Blur::RecordMutationType::VALID_VALUES.include?(@recordMutationType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field recordMutationType!') end end |