Class RuleConfiguration

java.lang.Object
io.github.primelib.jira4j.restv3.model.RuleConfiguration

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class RuleConfiguration extends Object
RuleConfiguration
  • Field Details

    • disabled

      protected Boolean disabled
      Whether the rule is disabled.
    • tag

      protected String tag
      A tag used to filter rules in [Get workflow transition rule configurations](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-rules/#api-rest-api-3-workflow-rule-config-get).
    • value

      protected String value
      Configuration of the rule, as it is stored by the Connect or the Forge app on the rule configuration page.
  • Constructor Details

    • RuleConfiguration

      public RuleConfiguration(Consumer<RuleConfiguration> spec)
      Constructs a validated instance of RuleConfiguration.
      Parameters:
      spec - the specification to process
    • RuleConfiguration

      @Internal public RuleConfiguration(Boolean disabled, String tag, String value)
      Constructs a validated instance of RuleConfiguration.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using RuleConfiguration(Consumer) instead.

      Parameters:
      disabled - Whether the rule is disabled.
      tag - A tag used to filter rules in [Get workflow transition rule configurations](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-rules/#api-rest-api-3-workflow-rule-config-get).
      value - Configuration of the rule, as it is stored by the Connect or the Forge app on the rule configuration page.
    • RuleConfiguration

      protected RuleConfiguration()
  • Method Details

    • builder

    • disabled

      public Boolean disabled()
      Whether the rule is disabled.
    • tag

      public String tag()
      A tag used to filter rules in [Get workflow transition rule configurations](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-rules/#api-rest-api-3-workflow-rule-config-get).
    • value

      public String value()
      Configuration of the rule, as it is stored by the Connect or the Forge app on the rule configuration page.
    • disabled

      public RuleConfiguration disabled(Boolean disabled)
      Whether the rule is disabled.
      Returns:
      this.
    • tag

      public RuleConfiguration tag(String tag)
      A tag used to filter rules in [Get workflow transition rule configurations](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-rules/#api-rest-api-3-workflow-rule-config-get).
      Returns:
      this.
    • value

      public RuleConfiguration value(String value)
      Configuration of the rule, as it is stored by the Connect or the Forge app on the rule configuration page.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object