class CadenceThrift::QueryRejected

Constants

CLOSESTATUS
FIELDS

Public Instance Methods

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