Class InternalTracker

java.lang.Object
build.cursed.genapi.forgejo.model.InternalTracker

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-09-28T10:48:29.723777+02:00[Europe/Stockholm]", comments="Generator version: 7.21.0") public class InternalTracker extends Object
InternalTracker represents settings for internal tracker
  • Field Details

    • SERIALIZED_NAME_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME

      public static final String SERIALIZED_NAME_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME
      See Also:
    • SERIALIZED_NAME_ENABLE_ISSUE_DEPENDENCIES

      public static final String SERIALIZED_NAME_ENABLE_ISSUE_DEPENDENCIES
      See Also:
    • SERIALIZED_NAME_ENABLE_TIME_TRACKER

      public static final String SERIALIZED_NAME_ENABLE_TIME_TRACKER
      See Also:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • Constructor Details

    • InternalTracker

      public InternalTracker()
  • Method Details

    • allowOnlyContributorsToTrackTime

      public InternalTracker allowOnlyContributorsToTrackTime(@Nullable Boolean allowOnlyContributorsToTrackTime)
    • getAllowOnlyContributorsToTrackTime

      @Nullable public Boolean getAllowOnlyContributorsToTrackTime()
      Let only contributors track time (Built-in issue tracker)
      Returns:
      allowOnlyContributorsToTrackTime
    • setAllowOnlyContributorsToTrackTime

      public void setAllowOnlyContributorsToTrackTime(@Nullable Boolean allowOnlyContributorsToTrackTime)
    • enableIssueDependencies

      public InternalTracker enableIssueDependencies(@Nullable Boolean enableIssueDependencies)
    • getEnableIssueDependencies

      @Nullable public Boolean getEnableIssueDependencies()
      Enable dependencies for issues and pull requests (Built-in issue tracker)
      Returns:
      enableIssueDependencies
    • setEnableIssueDependencies

      public void setEnableIssueDependencies(@Nullable Boolean enableIssueDependencies)
    • enableTimeTracker

      public InternalTracker enableTimeTracker(@Nullable Boolean enableTimeTracker)
    • getEnableTimeTracker

      @Nullable public Boolean getEnableTimeTracker()
      Enable time tracking (Built-in issue tracker)
      Returns:
      enableTimeTracker
    • setEnableTimeTracker

      public void setEnableTimeTracker(@Nullable Boolean enableTimeTracker)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to InternalTracker
    • fromJson

      public static InternalTracker fromJson(String jsonString) throws IOException
      Create an instance of InternalTracker given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of InternalTracker
      Throws:
      IOException - if the JSON string is invalid with respect to InternalTracker
    • toJson

      public String toJson()
      Convert an instance of InternalTracker to an JSON string
      Returns:
      JSON string