Class RepoTransfer
java.lang.Object
build.cursed.genapi.forgejo.model.RepoTransfer
@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 RepoTransfer
extends Object
RepoTransfer represents a pending repo transfer
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTeamsItem(Team teamsItem) booleanstatic RepoTransferCreate an instance of RepoTransfer given an JSON stringgetDoer()Get doerGet recipientgetTeams()Get teamsinthashCode()voidvoidsetRecipient(User recipient) voidtoJson()Convert an instance of RepoTransfer 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_DOER
- See Also:
-
SERIALIZED_NAME_RECIPIENT
- See Also:
-
SERIALIZED_NAME_TEAMS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RepoTransfer
public RepoTransfer()
-
-
Method Details
-
doer
-
getDoer
Get doer- Returns:
- doer
-
setDoer
-
recipient
-
getRecipient
Get recipient- Returns:
- recipient
-
setRecipient
-
teams
-
addTeamsItem
-
getTeams
Get teams- Returns:
- teams
-
setTeams
-
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 RepoTransfer
-
fromJson
Create an instance of RepoTransfer given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RepoTransfer
- Throws:
IOException- if the JSON string is invalid with respect to RepoTransfer
-
toJson
Convert an instance of RepoTransfer to an JSON string- Returns:
- JSON string
-