Class ComponentVersion
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ComponentVersion
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ComponentVersion
extends Object
implements Serializable
ComponentVersion
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ComponentVersionCreate an instance of ComponentVersion given an JSON stringGet detailsgetName()Get nameGet versioninthashCode()putDetailsItem(String key, String detailsItem) voidsetDetails(Map<String, String> details) voidvoidsetVersion(String version) toJson()Convert an instance of ComponentVersion 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_DETAILS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ComponentVersion
public ComponentVersion()
-
-
Method Details
-
details
-
putDetailsItem
-
getDetails
Get details- Returns:
- details
-
setDetails
-
name
-
getName
Get name- Returns:
- name
-
setName
-
version
-
getVersion
Get version- Returns:
- version
-
setVersion
-
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 ComponentVersion
-
fromJson
Create an instance of ComponentVersion given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ComponentVersion
- Throws:
IOException- if the JSON string is invalid with respect to ComponentVersion
-
toJson
Convert an instance of ComponentVersion to an JSON string- Returns:
- JSON string
-