de.adorsys.multibanking.banking_gateway_b2c.model.SelectPsuAuthenticationMethodRequestTO 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;
/**
* SelectPsuAuthenticationMethodRequestTO
*/
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2020-03-31T11:42:30.614Z[UTC]")
public class SelectPsuAuthenticationMethodRequestTO {
@SerializedName("authenticationMethodId")
private String authenticationMethodId = null;
public SelectPsuAuthenticationMethodRequestTO authenticationMethodId(String authenticationMethodId) {
this.authenticationMethodId = authenticationMethodId;
return this;
}
/**
* An identification provided by the ASPSP for the later identification of the authentication method selection.
* @return authenticationMethodId
**/
@Schema(example = "myAuthenticationID", required = true, description = "An identification provided by the ASPSP for the later identification of the authentication method selection.")
public String getAuthenticationMethodId() {
return authenticationMethodId;
}
public void setAuthenticationMethodId(String authenticationMethodId) {
this.authenticationMethodId = authenticationMethodId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SelectPsuAuthenticationMethodRequestTO selectPsuAuthenticationMethodRequestTO = (SelectPsuAuthenticationMethodRequestTO) o;
return Objects.equals(this.authenticationMethodId, selectPsuAuthenticationMethodRequestTO.authenticationMethodId);
}
@Override
public int hashCode() {
return Objects.hash(authenticationMethodId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SelectPsuAuthenticationMethodRequestTO {\n");
sb.append(" authenticationMethodId: ").append(toIndentedString(authenticationMethodId)).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 ");
}
}