class CadenceThrift::RespondQueryTaskCompletedRequest

Constants

COMPLETEDTYPE
ERRORMESSAGE
FIELDS
QUERYRESULT
TASKTOKEN

Public Instance Methods

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