Class DeleteEmailOption
java.lang.Object
build.cursed.genapi.forgejo.model.DeleteEmailOption
@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 DeleteEmailOption
extends Object
DeleteEmailOption options when deleting email addresses
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEmailsItem(String emailsItem) booleanstatic DeleteEmailOptionCreate an instance of DeleteEmailOption given an JSON stringemail addresses to deleteinthashCode()voidtoJson()Convert an instance of DeleteEmailOption 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_EMAILS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
DeleteEmailOption
public DeleteEmailOption()
-
-
Method Details
-
emails
-
addEmailsItem
-
getEmails
email addresses to delete- Returns:
- emails
-
setEmails
-
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 DeleteEmailOption
-
fromJson
Create an instance of DeleteEmailOption given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DeleteEmailOption
- Throws:
IOException- if the JSON string is invalid with respect to DeleteEmailOption
-
toJson
Convert an instance of DeleteEmailOption to an JSON string- Returns:
- JSON string
-