nl.reinkrul.nuts.didman.InlineResponseDefault Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java client library for using the Nuts Node's REST API.
/*
* Nuts DID Manager API spec
* API specification for DID management helper APIs. The goal of this API is to help administrative interfaces to manage DIDs.
*
* 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.didman;
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 java.math.BigDecimal;
/**
* InlineResponseDefault
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-09-14T14:56:35.164179+02:00[Europe/Amsterdam]")
public class InlineResponseDefault {
public static final String SERIALIZED_NAME_TITLE = "title";
@SerializedName(SERIALIZED_NAME_TITLE)
private String title;
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private BigDecimal status;
public static final String SERIALIZED_NAME_DETAIL = "detail";
@SerializedName(SERIALIZED_NAME_DETAIL)
private String detail;
public InlineResponseDefault title(String title) {
this.title = title;
return this;
}
/**
* A short, human-readable summary of the problem type.
* @return title
**/
@ApiModelProperty(required = true, value = "A short, human-readable summary of the problem type.")
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public InlineResponseDefault status(BigDecimal status) {
this.status = status;
return this;
}
/**
* HTTP statuscode
* @return status
**/
@ApiModelProperty(required = true, value = "HTTP statuscode")
public BigDecimal getStatus() {
return status;
}
public void setStatus(BigDecimal status) {
this.status = status;
}
public InlineResponseDefault detail(String detail) {
this.detail = detail;
return this;
}
/**
* A human-readable explanation specific to this occurrence of the problem.
* @return detail
**/
@ApiModelProperty(required = true, value = "A human-readable explanation specific to this occurrence of the problem.")
public String getDetail() {
return detail;
}
public void setDetail(String detail) {
this.detail = detail;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InlineResponseDefault inlineResponseDefault = (InlineResponseDefault) o;
return Objects.equals(this.title, inlineResponseDefault.title) &&
Objects.equals(this.status, inlineResponseDefault.status) &&
Objects.equals(this.detail, inlineResponseDefault.detail);
}
@Override
public int hashCode() {
return Objects.hash(title, status, detail);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InlineResponseDefault {\n");
sb.append(" title: ").append(toIndentedString(title)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" detail: ").append(toIndentedString(detail)).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