class CadenceThrift::TaskList

Constants

FIELDS
KIND
NAME

Public Instance Methods

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