Package cm.xd.genapi.ynab.model
Class PatchCategoryWrapper
java.lang.Object
cm.xd.genapi.ynab.model.PatchCategoryWrapper
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-04-26T18:05:30.720340+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class PatchCategoryWrapper
extends Object
PatchCategoryWrapper
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategory(ExistingCategory category) booleanstatic PatchCategoryWrapperCreate an instance of PatchCategoryWrapper given an JSON stringGet categoryinthashCode()voidsetCategory(ExistingCategory category) toJson()Convert an instance of PatchCategoryWrapper 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_CATEGORY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PatchCategoryWrapper
public PatchCategoryWrapper()
-
-
Method Details
-
category
-
getCategory
Get category- Returns:
- category
-
setCategory
-
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 PatchCategoryWrapper
-
fromJson
Create an instance of PatchCategoryWrapper given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PatchCategoryWrapper
- Throws:
IOException- if the JSON string is invalid with respect to PatchCategoryWrapper
-
toJson
Convert an instance of PatchCategoryWrapper to an JSON string- Returns:
- JSON string
-