Class ProjectUserRoleResponseDTO

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

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

  • Constructor Details

    • ProjectUserRoleResponseDTO

      public ProjectUserRoleResponseDTO()
  • Method Details

    • id

    • getId

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

      public void setId(UUID id)
    • projectName

      public ProjectUserRoleResponseDTO projectName(String projectName)
    • getProjectName

      @Nullable public String getProjectName()
      Get projectName
      Returns:
      projectName
    • setProjectName

      public void setProjectName(String projectName)
    • userResponseDTOList

      public ProjectUserRoleResponseDTO userResponseDTOList(List<UserRoleResponseDTO> userResponseDTOList)
    • addUserResponseDTOListItem

      public ProjectUserRoleResponseDTO addUserResponseDTOListItem(UserRoleResponseDTO userResponseDTOListItem)
    • getUserResponseDTOList

      @Nullable public List<UserRoleResponseDTO> getUserResponseDTOList()
      Get userResponseDTOList
      Returns:
      userResponseDTOList
    • setUserResponseDTOList

      public void setUserResponseDTOList(List<UserRoleResponseDTO> userResponseDTOList)
    • 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 ProjectUserRoleResponseDTO
    • fromJson

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

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