io.swagger.client.model.CodeSamplesResponse Maven / Gradle / Ivy
/*
* DocxMerge
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1
*
*
* 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 io.swagger.client.model;
import java.util.Objects;
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.v3.oas.annotations.media.Schema;
import java.io.IOException;
/**
* CodeSamplesResponse
*/
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2018-12-11T02:42:35.962+01:00[Europe/Madrid]")public class CodeSamplesResponse {
@SerializedName("nodejs")
private String nodejs = null;
@SerializedName("dotnet")
private String dotnet = null;
@SerializedName("python")
private String python = null;
@SerializedName("php")
private String php = null;
@SerializedName("curl")
private String curl = null;
@SerializedName("ruby")
private String ruby = null;
public CodeSamplesResponse nodejs(String nodejs) {
this.nodejs = nodejs;
return this;
}
/**
* Get nodejs
* @return nodejs
**/
@Schema(description = "")
public String getNodejs() {
return nodejs;
}
public void setNodejs(String nodejs) {
this.nodejs = nodejs;
}
public CodeSamplesResponse dotnet(String dotnet) {
this.dotnet = dotnet;
return this;
}
/**
* Get dotnet
* @return dotnet
**/
@Schema(description = "")
public String getDotnet() {
return dotnet;
}
public void setDotnet(String dotnet) {
this.dotnet = dotnet;
}
public CodeSamplesResponse python(String python) {
this.python = python;
return this;
}
/**
* Get python
* @return python
**/
@Schema(description = "")
public String getPython() {
return python;
}
public void setPython(String python) {
this.python = python;
}
public CodeSamplesResponse php(String php) {
this.php = php;
return this;
}
/**
* Get php
* @return php
**/
@Schema(description = "")
public String getPhp() {
return php;
}
public void setPhp(String php) {
this.php = php;
}
public CodeSamplesResponse curl(String curl) {
this.curl = curl;
return this;
}
/**
* Get curl
* @return curl
**/
@Schema(description = "")
public String getCurl() {
return curl;
}
public void setCurl(String curl) {
this.curl = curl;
}
public CodeSamplesResponse ruby(String ruby) {
this.ruby = ruby;
return this;
}
/**
* Get ruby
* @return ruby
**/
@Schema(description = "")
public String getRuby() {
return ruby;
}
public void setRuby(String ruby) {
this.ruby = ruby;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CodeSamplesResponse codeSamplesResponse = (CodeSamplesResponse) o;
return Objects.equals(this.nodejs, codeSamplesResponse.nodejs) &&
Objects.equals(this.dotnet, codeSamplesResponse.dotnet) &&
Objects.equals(this.python, codeSamplesResponse.python) &&
Objects.equals(this.php, codeSamplesResponse.php) &&
Objects.equals(this.curl, codeSamplesResponse.curl) &&
Objects.equals(this.ruby, codeSamplesResponse.ruby);
}
@Override
public int hashCode() {
return java.util.Objects.hash(nodejs, dotnet, python, php, curl, ruby);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CodeSamplesResponse {\n");
sb.append(" nodejs: ").append(toIndentedString(nodejs)).append("\n");
sb.append(" dotnet: ").append(toIndentedString(dotnet)).append("\n");
sb.append(" python: ").append(toIndentedString(python)).append("\n");
sb.append(" php: ").append(toIndentedString(php)).append("\n");
sb.append(" curl: ").append(toIndentedString(curl)).append("\n");
sb.append(" ruby: ").append(toIndentedString(ruby)).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