All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.reinkrul.nuts.auth.SignSessionStatusResponse Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
/*
 * Nuts Auth Service API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package nl.reinkrul.nuts.auth;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import nl.reinkrul.nuts.auth.VerifiablePresentation;

/**
 * SignSessionStatusResponse
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-14T14:56:35.626800+02:00[Europe/Amsterdam]")
public class SignSessionStatusResponse {
  public static final String SERIALIZED_NAME_STATUS = "status";
  @SerializedName(SERIALIZED_NAME_STATUS)
  private String status;

  public static final String SERIALIZED_NAME_VERIFIABLE_PRESENTATION = "verifiablePresentation";
  @SerializedName(SERIALIZED_NAME_VERIFIABLE_PRESENTATION)
  private VerifiablePresentation verifiablePresentation;


  public SignSessionStatusResponse status(String status) {
    
    this.status = status;
    return this;
  }

   /**
   * Status indicates the status of the signing process. Values depend on the implementation of the signing means.
   * @return status
  **/
  @ApiModelProperty(required = true, value = "Status indicates the status of the signing process. Values depend on the implementation of the signing means.")

  public String getStatus() {
    return status;
  }


  public void setStatus(String status) {
    this.status = status;
  }


  public SignSessionStatusResponse verifiablePresentation(VerifiablePresentation verifiablePresentation) {
    
    this.verifiablePresentation = verifiablePresentation;
    return this;
  }

   /**
   * Get verifiablePresentation
   * @return verifiablePresentation
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public VerifiablePresentation getVerifiablePresentation() {
    return verifiablePresentation;
  }


  public void setVerifiablePresentation(VerifiablePresentation verifiablePresentation) {
    this.verifiablePresentation = verifiablePresentation;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    SignSessionStatusResponse signSessionStatusResponse = (SignSessionStatusResponse) o;
    return Objects.equals(this.status, signSessionStatusResponse.status) &&
        Objects.equals(this.verifiablePresentation, signSessionStatusResponse.verifiablePresentation);
  }

  @Override
  public int hashCode() {
    return Objects.hash(status, verifiablePresentation);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class SignSessionStatusResponse {\n");
    sb.append("    status: ").append(toIndentedString(status)).append("\n");
    sb.append("    verifiablePresentation: ").append(toIndentedString(verifiablePresentation)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy