Class GeneralRepoSettings
java.lang.Object
build.cursed.genapi.forgejo.model.GeneralRepoSettings
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-09-28T16:24:31.414706+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class GeneralRepoSettings
extends Object
GeneralRepoSettings contains global repository settings exposed by API
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanforksDisabled(Boolean forksDisabled) static GeneralRepoSettingsCreate an instance of GeneralRepoSettings given an JSON stringGet forksDisabledGet httpGitDisabledGet lfsDisabledGet migrationsDisabledGet mirrorsDisabledGet starsDisabledGet timeTrackingDisabledinthashCode()httpGitDisabled(Boolean httpGitDisabled) lfsDisabled(Boolean lfsDisabled) migrationsDisabled(Boolean migrationsDisabled) mirrorsDisabled(Boolean mirrorsDisabled) voidsetForksDisabled(Boolean forksDisabled) voidsetHttpGitDisabled(Boolean httpGitDisabled) voidsetLfsDisabled(Boolean lfsDisabled) voidsetMigrationsDisabled(Boolean migrationsDisabled) voidsetMirrorsDisabled(Boolean mirrorsDisabled) voidsetStarsDisabled(Boolean starsDisabled) voidsetTimeTrackingDisabled(Boolean timeTrackingDisabled) starsDisabled(Boolean starsDisabled) timeTrackingDisabled(Boolean timeTrackingDisabled) toJson()Convert an instance of GeneralRepoSettings to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FORKS_DISABLED
- See Also:
-
SERIALIZED_NAME_HTTP_GIT_DISABLED
- See Also:
-
SERIALIZED_NAME_LFS_DISABLED
- See Also:
-
SERIALIZED_NAME_MIGRATIONS_DISABLED
- See Also:
-
SERIALIZED_NAME_MIRRORS_DISABLED
- See Also:
-
SERIALIZED_NAME_STARS_DISABLED
- See Also:
-
SERIALIZED_NAME_TIME_TRACKING_DISABLED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GeneralRepoSettings
public GeneralRepoSettings()
-
-
Method Details
-
forksDisabled
-
getForksDisabled
Get forksDisabled- Returns:
- forksDisabled
-
setForksDisabled
-
httpGitDisabled
-
getHttpGitDisabled
Get httpGitDisabled- Returns:
- httpGitDisabled
-
setHttpGitDisabled
-
lfsDisabled
-
getLfsDisabled
Get lfsDisabled- Returns:
- lfsDisabled
-
setLfsDisabled
-
migrationsDisabled
-
getMigrationsDisabled
Get migrationsDisabled- Returns:
- migrationsDisabled
-
setMigrationsDisabled
-
mirrorsDisabled
-
getMirrorsDisabled
Get mirrorsDisabled- Returns:
- mirrorsDisabled
-
setMirrorsDisabled
-
starsDisabled
-
getStarsDisabled
Get starsDisabled- Returns:
- starsDisabled
-
setStarsDisabled
-
timeTrackingDisabled
-
getTimeTrackingDisabled
Get timeTrackingDisabled- Returns:
- timeTrackingDisabled
-
setTimeTrackingDisabled
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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 GeneralRepoSettings
-
fromJson
Create an instance of GeneralRepoSettings given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GeneralRepoSettings
- Throws:
IOException- if the JSON string is invalid with respect to GeneralRepoSettings
-
toJson
Convert an instance of GeneralRepoSettings to an JSON string- Returns:
- JSON string
-