Class ProjectResponseDTO

java.lang.Object
com.redhat.parodos.sdk.model.ProjectResponseDTO

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ProjectResponseDTO extends Object
ProjectResponseDTO
  • Field Details

  • Constructor Details

    • ProjectResponseDTO

      public ProjectResponseDTO()
  • Method Details

    • accessRole

      public ProjectResponseDTO accessRole(String accessRole)
    • getAccessRole

      @Nullable public String getAccessRole()
      Get accessRole
      Returns:
      accessRole
    • setAccessRole

      public void setAccessRole(String accessRole)
    • createdBy

      public ProjectResponseDTO createdBy(String createdBy)
    • getCreatedBy

      @Nullable public String getCreatedBy()
      Get createdBy
      Returns:
      createdBy
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • createdDate

      public ProjectResponseDTO createdDate(Date createdDate)
    • getCreatedDate

      @Nullable public Date getCreatedDate()
      Get createdDate
      Returns:
      createdDate
    • setCreatedDate

      public void setCreatedDate(Date createdDate)
    • description

      public ProjectResponseDTO description(String description)
    • getDescription

      @Nullable public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • id

      public ProjectResponseDTO id(UUID id)
    • getId

      @Nullable public UUID getId()
      Get id
      Returns:
      id
    • setId

      public void setId(UUID id)
    • modifiedBy

      public ProjectResponseDTO modifiedBy(String modifiedBy)
    • getModifiedBy

      @Nullable public String getModifiedBy()
      Get modifiedBy
      Returns:
      modifiedBy
    • setModifiedBy

      public void setModifiedBy(String modifiedBy)
    • modifiedDate

      public ProjectResponseDTO modifiedDate(Date modifiedDate)
    • getModifiedDate

      @Nullable public Date getModifiedDate()
      Get modifiedDate
      Returns:
      modifiedDate
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
    • name

      public ProjectResponseDTO name(String name)
    • getName

      @Nullable public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(String name)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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 ProjectResponseDTO
    • fromJson

      public static ProjectResponseDTO fromJson(String jsonString) throws IOException
      Create an instance of ProjectResponseDTO given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ProjectResponseDTO
      Throws:
      IOException - if the JSON string is invalid with respect to ProjectResponseDTO
    • toJson

      public String toJson()
      Convert an instance of ProjectResponseDTO to an JSON string
      Returns:
      JSON string