Class AuthReport

java.lang.Object
io.github.alersrt.pod4j.openapi.model.AuthReport
All Implemented Interfaces:
Serializable

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class AuthReport extends Object implements Serializable
AuthReport describes the response for authentication check
See Also:
  • Field Details

  • Constructor Details

    • AuthReport

      public AuthReport()
  • Method Details

    • identityToken

      public AuthReport identityToken(String identityToken)
    • getIdentityToken

      @Nullable public String getIdentityToken()
      Get identityToken
      Returns:
      identityToken
    • setIdentityToken

      public void setIdentityToken(String identityToken)
    • status

      public AuthReport status(String status)
    • getStatus

      @Nullable public String getStatus()
      Get status
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • 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 AuthReport
    • fromJson

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

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