![JAR search and dependency download from the Maven repository](/logo.png)
com.autodesk.client.model.JsonApiErrorErrors Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of forge-java-sdk Show documentation
Show all versions of forge-java-sdk Show documentation
Provides Java SDK to help you easily integrate Forge REST APIs into the application
/*
* Forge SDK
* The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
*
* OpenAPI spec version: 0.1.0
* Contact: [email protected]
*
* 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.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.autodesk.client.model;
import java.util.Objects;
import com.autodesk.client.model.JsonApiErrorLinks;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* JsonApiErrorErrors
*/
public class JsonApiErrorErrors {
@JsonProperty("id")
private String id = null;
@JsonProperty("status")
private String status = null;
@JsonProperty("code")
private String code = null;
@JsonProperty("title")
private String title = null;
@JsonProperty("detail")
private String detail = null;
@JsonProperty("meta")
private Object meta = null;
@JsonProperty("links")
private JsonApiErrorLinks links = null;
public JsonApiErrorErrors id(String id) {
this.id = id;
return this;
}
/**
* a unique identifier for this particular occurrence of the problem
* @return id
**/
@ApiModelProperty(example = "null", required = true, value = "a unique identifier for this particular occurrence of the problem")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public JsonApiErrorErrors status(String status) {
this.status = status;
return this;
}
/**
* the HTTP status code applicable to this problem, expressed as a string value
* @return status
**/
@ApiModelProperty(example = "null", required = true, value = "the HTTP status code applicable to this problem, expressed as a string value")
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public JsonApiErrorErrors code(String code) {
this.code = code;
return this;
}
/**
* an application-specific error code, expressed as a string value
* @return code
**/
@ApiModelProperty(example = "null", value = "an application-specific error code, expressed as a string value")
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public JsonApiErrorErrors title(String title) {
this.title = title;
return this;
}
/**
* a short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization
* @return title
**/
@ApiModelProperty(example = "null", value = "a short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization")
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public JsonApiErrorErrors detail(String detail) {
this.detail = detail;
return this;
}
/**
* a human-readable explanation specific to this occurrence of the problem. Like title, this field's value can be localized
* @return detail
**/
@ApiModelProperty(example = "null", required = true, value = "a human-readable explanation specific to this occurrence of the problem. Like title, this field's value can be localized")
public String getDetail() {
return detail;
}
public void setDetail(String detail) {
this.detail = detail;
}
public JsonApiErrorErrors meta(Object meta) {
this.meta = meta;
return this;
}
/**
* a meta object containing non-standard meta-information about the error
* @return meta
**/
@ApiModelProperty(example = "null", value = "a meta object containing non-standard meta-information about the error")
public Object getMeta() {
return meta;
}
public void setMeta(Object meta) {
this.meta = meta;
}
public JsonApiErrorErrors links(JsonApiErrorLinks links) {
this.links = links;
return this;
}
/**
* Get links
* @return links
**/
@ApiModelProperty(example = "null", value = "")
public JsonApiErrorLinks getLinks() {
return links;
}
public void setLinks(JsonApiErrorLinks links) {
this.links = links;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
JsonApiErrorErrors jsonApiErrorErrors = (JsonApiErrorErrors) o;
return Objects.equals(this.id, jsonApiErrorErrors.id) &&
Objects.equals(this.status, jsonApiErrorErrors.status) &&
Objects.equals(this.code, jsonApiErrorErrors.code) &&
Objects.equals(this.title, jsonApiErrorErrors.title) &&
Objects.equals(this.detail, jsonApiErrorErrors.detail) &&
Objects.equals(this.meta, jsonApiErrorErrors.meta) &&
Objects.equals(this.links, jsonApiErrorErrors.links);
}
@Override
public int hashCode() {
return Objects.hash(id, status, code, title, detail, meta, links);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class JsonApiErrorErrors {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" code: ").append(toIndentedString(code)).append("\n");
sb.append(" title: ").append(toIndentedString(title)).append("\n");
sb.append(" detail: ").append(toIndentedString(detail)).append("\n");
sb.append(" meta: ").append(toIndentedString(meta)).append("\n");
sb.append(" links: ").append(toIndentedString(links)).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 - 2025 Weber Informatics LLC | Privacy Policy