Class IssueFormField
java.lang.Object
build.cursed.genapi.forgejo.model.IssueFormField
@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 IssueFormField
extends Object
IssueFormField represents a form field
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddVisibleItem(String visibleItem) attributes(Map<String, Object> attributes) booleanstatic IssueFormFieldCreate an instance of IssueFormField given an JSON stringGet attributesgetId()Get idgetType()Get typeGet validationsGet visibleinthashCode()putAttributesItem(String key, Object attributesItem) putValidationsItem(String key, Object validationsItem) voidsetAttributes(Map<String, Object> attributes) voidvoidvoidsetValidations(Map<String, Object> validations) voidsetVisible(List<String> visible) toJson()Convert an instance of IssueFormField to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundvalidations(Map<String, Object> validations)
-
Field Details
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_VALIDATIONS
- See Also:
-
SERIALIZED_NAME_VISIBLE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
IssueFormField
public IssueFormField()
-
-
Method Details
-
attributes
-
putAttributesItem
-
getAttributes
Get attributes- Returns:
- attributes
-
setAttributes
-
id
-
getId
Get id- Returns:
- id
-
setId
-
type
-
getType
Get type- Returns:
- type
-
setType
-
validations
-
putValidationsItem
-
getValidations
Get validations- Returns:
- validations
-
setValidations
-
visible
-
addVisibleItem
-
getVisible
Get visible- Returns:
- visible
-
setVisible
-
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 IssueFormField
-
fromJson
Create an instance of IssueFormField given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IssueFormField
- Throws:
IOException- if the JSON string is invalid with respect to IssueFormField
-
toJson
Convert an instance of IssueFormField to an JSON string- Returns:
- JSON string
-