class CadenceThrift::WorkflowQueryResult

Constants

ANSWER
ERRORDETAILS
ERRORREASON
FIELDS
RESULTTYPE

Public Instance Methods

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