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

org.openapitools.client.model.ErrorErrors Maven / Gradle / Ivy

The newest version!
/*
 * Golden Service API
 * An API that conforms to the standards and best practices that should be adhered to in all Mastercard owned APIs. Can be used to create subscriptions to reports that are generated twice daily (6am & 6pm) that deliver e-commerce spending across multiple sectors and locations. 
--- * **All requests must be signed using oauth 1.0a. Please refer to: https://developer.mastercard.com/platform/documentation/using-oauth-1a-to-access-mastercard-apis/_** --- * **The user must provide their card details when creating a subscription. These details must be encrypted before entering transit. Please refer to [Mastercard security](https://stage.developer.mastercard.com/platform/documentation/securing-sensitive-data-using-payload-encryption/)** --- * * The version of the OpenAPI document: 1.1.0 * Contact: [email protected] * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package org.openapitools.client.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.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.openapitools.client.model.ErrorErrorsError; /** * ErrorErrors */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2019-09-05T08:39:17.265Z[Etc/UTC]") public class ErrorErrors { public static final String SERIALIZED_NAME_ERROR = "Error"; @SerializedName(SERIALIZED_NAME_ERROR) private List error = new ArrayList(); public ErrorErrors error(List error) { this.error = error; return this; } public ErrorErrors addErrorItem(ErrorErrorsError errorItem) { this.error.add(errorItem); return this; } /** * Get error * @return error **/ @ApiModelProperty(required = true, value = "") public List getError() { return error; } public void setError(List error) { this.error = error; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } ErrorErrors errorErrors = (ErrorErrors) o; return Objects.equals(this.error, errorErrors.error); } @Override public int hashCode() { return Objects.hash(error); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ErrorErrors {\n"); sb.append(" error: ").append(toIndentedString(error)).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