class CadenceThrift::DataBlob

Constants

DATA
ENCODINGTYPE
FIELDS

Public Instance Methods

struct_fields() click to toggle source
# File lib/gen/thrift/shared_types.rb, line 952
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/gen/thrift/shared_types.rb, line 954
def validate
  unless @EncodingType.nil? || ::CadenceThrift::EncodingType::VALID_VALUES.include?(@EncodingType)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field EncodingType!')
  end
end