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

de.adorsys.multibanking.banking_gateway_b2c.model.UpdatePsuAuthenticationRequestTO Maven / Gradle / Ivy

/*
 * Bankinggateway B2C Rest API
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: 0.2-SNAPSHOT
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package de.adorsys.multibanking.banking_gateway_b2c.model;

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.v3.oas.annotations.media.Schema;
import java.io.IOException;
/**
 * UpdatePsuAuthenticationRequestTO
 */

@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2020-03-31T11:42:30.614Z[UTC]")
public class UpdatePsuAuthenticationRequestTO {
  @SerializedName("psuId")
  private String psuId = null;

  @SerializedName("psuCorporateId")
  private String psuCorporateId = null;

  @SerializedName("password")
  private String password = null;

  public UpdatePsuAuthenticationRequestTO psuId(String psuId) {
    this.psuId = psuId;
    return this;
  }

   /**
   * Get psuId
   * @return psuId
  **/
  @Schema(description = "")
  public String getPsuId() {
    return psuId;
  }

  public void setPsuId(String psuId) {
    this.psuId = psuId;
  }

  public UpdatePsuAuthenticationRequestTO psuCorporateId(String psuCorporateId) {
    this.psuCorporateId = psuCorporateId;
    return this;
  }

   /**
   * Get psuCorporateId
   * @return psuCorporateId
  **/
  @Schema(description = "")
  public String getPsuCorporateId() {
    return psuCorporateId;
  }

  public void setPsuCorporateId(String psuCorporateId) {
    this.psuCorporateId = psuCorporateId;
  }

  public UpdatePsuAuthenticationRequestTO password(String password) {
    this.password = password;
    return this;
  }

   /**
   * Password
   * @return password
  **/
  @Schema(required = true, description = "Password")
  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    UpdatePsuAuthenticationRequestTO updatePsuAuthenticationRequestTO = (UpdatePsuAuthenticationRequestTO) o;
    return Objects.equals(this.psuId, updatePsuAuthenticationRequestTO.psuId) &&
        Objects.equals(this.psuCorporateId, updatePsuAuthenticationRequestTO.psuCorporateId) &&
        Objects.equals(this.password, updatePsuAuthenticationRequestTO.password);
  }

  @Override
  public int hashCode() {
    return Objects.hash(psuId, psuCorporateId, password);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class UpdatePsuAuthenticationRequestTO {\n");
    
    sb.append("    psuId: ").append(toIndentedString(psuId)).append("\n");
    sb.append("    psuCorporateId: ").append(toIndentedString(psuCorporateId)).append("\n");
    sb.append("    password: ").append(toIndentedString(password)).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(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy