Class IDMappings
java.lang.Object
io.github.alersrt.pod4j.openapi.model.IDMappings
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class IDMappings
extends Object
implements Serializable
IDMappings describe the GID and UID mappings
- See Also:
-
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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
gidmap
-
addGidmapItem
-
getGidmap
Get gidmap- Returns:
- gidmap
-
setGidmap
-
uidmap
-
addUidmapItem
-
getUidmap
Get uidmap- Returns:
- uidmap
-
setUidmap
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object 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
-
toJson
Convert an instance of IDMappings to an JSON string- Returns:
- JSON string
-