Class PushMirror
java.lang.Object
build.cursed.genapi.forgejo.model.PushMirror
@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 PushMirror
extends Object
PushMirror represents information of a push mirror
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbranchFilter(String branchFilter) created(OffsetDateTime created) booleanstatic PushMirrorCreate an instance of PushMirror given an JSON stringGet branchFilterGet createdGet intervalGet lastErrorGet lastUpdateGet publicKeyGet remoteAddressGet remoteNameGet repoNameGet syncOnCommitinthashCode()lastUpdate(OffsetDateTime lastUpdate) remoteAddress(String remoteAddress) remoteName(String remoteName) voidsetBranchFilter(String branchFilter) voidsetCreated(OffsetDateTime created) voidsetInterval(String interval) voidsetLastError(String lastError) voidsetLastUpdate(OffsetDateTime lastUpdate) voidsetPublicKey(String publicKey) voidsetRemoteAddress(String remoteAddress) voidsetRemoteName(String remoteName) voidsetRepoName(String repoName) voidsetSyncOnCommit(Boolean syncOnCommit) syncOnCommit(Boolean syncOnCommit) toJson()Convert an instance of PushMirror 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_BRANCH_FILTER
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_INTERVAL
- See Also:
-
SERIALIZED_NAME_LAST_ERROR
- See Also:
-
SERIALIZED_NAME_LAST_UPDATE
- See Also:
-
SERIALIZED_NAME_PUBLIC_KEY
- See Also:
-
SERIALIZED_NAME_REMOTE_ADDRESS
- See Also:
-
SERIALIZED_NAME_REMOTE_NAME
- See Also:
-
SERIALIZED_NAME_REPO_NAME
- See Also:
-
SERIALIZED_NAME_SYNC_ON_COMMIT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PushMirror
public PushMirror()
-
-
Method Details
-
branchFilter
-
getBranchFilter
Get branchFilter- Returns:
- branchFilter
-
setBranchFilter
-
created
-
getCreated
Get created- Returns:
- created
-
setCreated
-
interval
-
getInterval
Get interval- Returns:
- interval
-
setInterval
-
lastError
-
getLastError
Get lastError- Returns:
- lastError
-
setLastError
-
lastUpdate
-
getLastUpdate
Get lastUpdate- Returns:
- lastUpdate
-
setLastUpdate
-
publicKey
-
getPublicKey
Get publicKey- Returns:
- publicKey
-
setPublicKey
-
remoteAddress
-
getRemoteAddress
Get remoteAddress- Returns:
- remoteAddress
-
setRemoteAddress
-
remoteName
-
getRemoteName
Get remoteName- Returns:
- remoteName
-
setRemoteName
-
repoName
-
getRepoName
Get repoName- Returns:
- repoName
-
setRepoName
-
syncOnCommit
-
getSyncOnCommit
Get syncOnCommit- Returns:
- syncOnCommit
-
setSyncOnCommit
-
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 PushMirror
-
fromJson
Create an instance of PushMirror given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PushMirror
- Throws:
IOException- if the JSON string is invalid with respect to PushMirror
-
toJson
Convert an instance of PushMirror to an JSON string- Returns:
- JSON string
-