Class IDMappings
java.lang.Object
io.github.alersrt.pod4j.openapi.model.IDMappings
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class IDMappings
extends Object
IDMappings describe the GID and UID mappings
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddGidmapItem(IDMap gidmapItem) addUidmapItem(IDMap uidmapItem) booleanstatic IDMappingsCreate an instance of IDMappings given an JSON stringGet gidmapGet uidmapinthashCode()voidvoidtoJson()Convert an instance of IDMappings 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_GIDMAP
- See Also:
-
SERIALIZED_NAME_UIDMAP
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
IDMappings
public IDMappings()
-
-
Method Details
-
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 IDMappings
-
fromJson
Create an instance of IDMappings given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IDMappings
- Throws:
IOException- if the JSON string is invalid with respect to IDMappings
-
gidmap
-
addGidmapItem
-
getGidmap
Get gidmap- Returns:
- gidmap
-
setGidmap
-
uidmap
-
addUidmapItem
-
getUidmap
Get uidmap- Returns:
- uidmap
-
setUidmap
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of IDMappings to an JSON string- Returns:
- JSON string
-