Package com.redhat.parodos.sdk.model
Class ProjectRequestDTO
java.lang.Object
com.redhat.parodos.sdk.model.ProjectRequestDTO
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ProjectRequestDTO
extends Object
ProjectRequestDTO
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanstatic ProjectRequestDTOCreate an instance of ProjectRequestDTO given an JSON stringGet descriptiongetName()Get nameinthashCode()voidsetDescription(String description) voidtoJson()Convert an instance of ProjectRequestDTO 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_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ProjectRequestDTO
public ProjectRequestDTO()
-
-
Method Details
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
name
-
getName
Get name- Returns:
- name
-
setName
-
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 ProjectRequestDTO
-
fromJson
Create an instance of ProjectRequestDTO given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProjectRequestDTO
- Throws:
IOException- if the JSON string is invalid with respect to ProjectRequestDTO
-
toJson
Convert an instance of ProjectRequestDTO to an JSON string- Returns:
- JSON string
-