Class ProjectMemberResponseDTO

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

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

  • Constructor Details

    • ProjectMemberResponseDTO

      public ProjectMemberResponseDTO()
  • Method Details

    • firstName

      public ProjectMemberResponseDTO firstName(String firstName)
    • getFirstName

      @Nullable public String getFirstName()
      Get firstName
      Returns:
      firstName
    • setFirstName

      public void setFirstName(String firstName)
    • lastName

      public ProjectMemberResponseDTO lastName(String lastName)
    • getLastName

      @Nullable public String getLastName()
      Get lastName
      Returns:
      lastName
    • setLastName

      public void setLastName(String lastName)
    • roles

      public ProjectMemberResponseDTO roles(Set<String> roles)
    • addRolesItem

      public ProjectMemberResponseDTO addRolesItem(String rolesItem)
    • getRoles

      @Nullable public Set<String> getRoles()
      Get roles
      Returns:
      roles
    • setRoles

      public void setRoles(Set<String> roles)
    • username

      public ProjectMemberResponseDTO username(String username)
    • getUsername

      @Nullable public String getUsername()
      Get username
      Returns:
      username
    • setUsername

      public void setUsername(String username)
    • 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 ProjectMemberResponseDTO
    • fromJson

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

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