/*
 * Swagger of Opencellsoft Api
 * @#Introduction
 *
 * The version of the OpenAPI document: 7.3.1-SNAPSHOT
 * Contact: contact@opencellsoft.fr
 *
 * 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;

/**
 * FileRequestDto
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2019-09-13T10:03:17.753Z[GMT]")
public class FileRequestDto {
  public static final String SERIALIZED_NAME_FILEPATH = "filepath";
  @SerializedName(SERIALIZED_NAME_FILEPATH)
  private String filepath;

  public static final String SERIALIZED_NAME_CONTENT = "content";
  @SerializedName(SERIALIZED_NAME_CONTENT)
  private String content;


  public FileRequestDto filepath(String filepath) {
    
    this.filepath = filepath;
    return this;
  }

   /**
   * Get filepath
   * @return filepath
  **/
  @ApiModelProperty(required = true, value = "")

  public String getFilepath() {
    return filepath;
  }



  public void setFilepath(String filepath) {
    this.filepath = filepath;
  }


  public FileRequestDto content(String content) {
    
    this.content = content;
    return this;
  }

   /**
   * Get content
   * @return content
  **/
  @ApiModelProperty(required = true, value = "")

  public String getContent() {
    return content;
  }



  public void setContent(String content) {
    this.content = content;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    FileRequestDto fileRequestDto = (FileRequestDto) o;
    return Objects.equals(this.filepath, fileRequestDto.filepath) &&
        Objects.equals(this.content, fileRequestDto.content);
  }

  @Override
  public int hashCode() {
    return Objects.hash(filepath, content);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class FileRequestDto {\n");
    sb.append("    filepath: ").append(toIndentedString(filepath)).append("\n");
    sb.append("    content: ").append(toIndentedString(content)).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    ");
  }

}

