All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.camunda.tasklist.queries.TaskByVariables Maven / Gradle / Ivy

There is a newer version: 8.7.0-alpha2
Show newest version
/*
 * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under
 * one or more contributor license agreements. See the NOTICE file distributed
 * with this work for additional information regarding copyright ownership.
 * Licensed under the Camunda License 1.0. You may not use this file
 * except in compliance with the Camunda License 1.0.
 */
package io.camunda.tasklist.queries;

import graphql.annotations.annotationTypes.GraphQLField;
import io.swagger.v3.oas.annotations.media.Schema;

enum Operator {
  eq
}

public class TaskByVariables {
  @Schema(description = "The name of the variable.")
  @GraphQLField
  private String name;

  @Schema(
      description =
          "The value of the variable. When specifying the variable value, it's crucial to maintain consistency with JSON values (serialization for the complex objects such as list) and ensure that strings remain appropriately formatted.",
      maxLength = 8191)
  @GraphQLField
  private String value;

  @Schema(description = "The comparison operator to use for the variable.
" + "* `eq`: Equals") @GraphQLField private Operator operator; public String getName() { return name; } public TaskByVariables setName(final String name) { this.name = name; return this; } public String getValue() { return value; } public TaskByVariables setValue(final String value) { this.value = value; return this; } public Operator getOperator() { return operator; } public TaskByVariables setOperator(final String operator) { this.operator = Operator.valueOf(operator); return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy