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

Model.V1FileDetailsGet200Response Maven / Gradle / Ivy

There is a newer version: 0.0.8
Show newest version
/*
 * CyberSource Merged Spec
 * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
 *
 * OpenAPI spec version: 0.0.1
 * 
 *
 * 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 Model;

import java.util.Objects;
import java.util.Arrays;
import Model.V1FileDetailsGet200ResponseFileDetails;
import Model.V1FileDetailsGet200ResponseLinks;
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;

/**
 * V1FileDetailsGet200Response
 */

public class V1FileDetailsGet200Response {
  @SerializedName("fileDetails")
  private List fileDetails = null;

  @SerializedName("_links")
  private V1FileDetailsGet200ResponseLinks links = null;

  public V1FileDetailsGet200Response fileDetails(List fileDetails) {
    this.fileDetails = fileDetails;
    return this;
  }

  public V1FileDetailsGet200Response addFileDetailsItem(V1FileDetailsGet200ResponseFileDetails fileDetailsItem) {
    if (this.fileDetails == null) {
      this.fileDetails = new ArrayList();
    }
    this.fileDetails.add(fileDetailsItem);
    return this;
  }

   /**
   * Get fileDetails
   * @return fileDetails
  **/
  @ApiModelProperty(value = "")
  public List getFileDetails() {
    return fileDetails;
  }

  public void setFileDetails(List fileDetails) {
    this.fileDetails = fileDetails;
  }

  public V1FileDetailsGet200Response links(V1FileDetailsGet200ResponseLinks links) {
    this.links = links;
    return this;
  }

   /**
   * Get links
   * @return links
  **/
  @ApiModelProperty(value = "")
  public V1FileDetailsGet200ResponseLinks getLinks() {
    return links;
  }

  public void setLinks(V1FileDetailsGet200ResponseLinks 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;
    }
    V1FileDetailsGet200Response v1FileDetailsGet200Response = (V1FileDetailsGet200Response) o;
    return Objects.equals(this.fileDetails, v1FileDetailsGet200Response.fileDetails) &&
        Objects.equals(this.links, v1FileDetailsGet200Response.links);
  }

  @Override
  public int hashCode() {
    return Objects.hash(fileDetails, links);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class V1FileDetailsGet200Response {\n");
    
    if (fileDetails != null) sb.append("    fileDetails: ").append(toIndentedString(fileDetails)).append("\n");
    if (links != null) 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