Class TimeTrackingProvider

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

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

    • key

      protected String key
      The key for the time tracking provider. For example, *JIRA*.
    • name

      protected String name
      The name of the time tracking provider. For example, *JIRA provided time tracking*.
    • url

      protected String url
      The URL of the configuration page for the time tracking provider app. For example, *_/example/config/url*. This property is only returned if the adminPageKey property is set in the module descriptor of the time tracking provider app.
  • Constructor Details

    • TimeTrackingProvider

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

      @Internal public TimeTrackingProvider(String key, String name, String url)
      Constructs a validated instance of TimeTrackingProvider.

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

      Parameters:
      key - The key for the time tracking provider. For example, *JIRA*.
      name - The name of the time tracking provider. For example, *JIRA provided time tracking*.
      url - The URL of the configuration page for the time tracking provider app. For example, *_/example/config/url*. This property is only returned if the adminPageKey property is set in the module descriptor of the time tracking provider app.
    • TimeTrackingProvider

      protected TimeTrackingProvider()
  • Method Details

    • builder

    • key

      public String key()
      The key for the time tracking provider. For example, *JIRA*.
    • name

      public String name()
      The name of the time tracking provider. For example, *JIRA provided time tracking*.
    • url

      public String url()
      The URL of the configuration page for the time tracking provider app. For example, *_/example/config/url*. This property is only returned if the adminPageKey property is set in the module descriptor of the time tracking provider app.
    • key

      public TimeTrackingProvider key(String key)
      The key for the time tracking provider. For example, *JIRA*.
      Returns:
      this.
    • name

      public TimeTrackingProvider name(String name)
      The name of the time tracking provider. For example, *JIRA provided time tracking*.
      Returns:
      this.
    • url

      public TimeTrackingProvider url(String url)
      The URL of the configuration page for the time tracking provider app. For example, *_/example/config/url*. This property is only returned if the adminPageKey property is set in the module descriptor of the time tracking provider app.
      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