Package com.redhat.parodos.sdk.model
Class ProjectDTO
java.lang.Object
com.redhat.parodos.sdk.model.ProjectDTO
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ProjectDTO
extends Object
ProjectDTO
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedDate(Date createdDate) booleanstatic ProjectDTOCreate an instance of ProjectDTO given an JSON stringGet createdByGet createdDategetId()Get idgetName()Get nameinthashCode()voidsetCreatedBy(String createdBy) voidsetCreatedDate(Date createdDate) voidvoidtoJson()Convert an instance of ProjectDTO 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_CREATED_BY
- See Also:
-
SERIALIZED_NAME_CREATED_DATE
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ProjectDTO
public ProjectDTO()
-
-
Method Details
-
createdBy
-
getCreatedBy
Get createdBy- Returns:
- createdBy
-
setCreatedBy
-
createdDate
-
getCreatedDate
Get createdDate- Returns:
- createdDate
-
setCreatedDate
-
id
-
getId
Get id- Returns:
- id
-
setId
-
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 ProjectDTO
-
fromJson
Create an instance of ProjectDTO given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProjectDTO
- Throws:
IOException- if the JSON string is invalid with respect to ProjectDTO
-
toJson
Convert an instance of ProjectDTO to an JSON string- Returns:
- JSON string
-