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

com.volcengine.model.maas.api.v2.Function Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version

package com.volcengine.model.maas.api.v2;

import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


/**
 * Function
 * 

* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "name", "description", "parameters", "examples" }) @Generated("jsonschema2pojo") public class Function { /** * Name *

* * */ @JsonProperty("name") private String name; /** * Description *

* * */ @JsonProperty("description") private String description; /** * Parameters *

* * */ @JsonProperty("parameters") private Object parameters; /** * Examples *

* * */ @JsonProperty("examples") private List examples = new ArrayList(); /** * Name *

* * */ @JsonProperty("name") public String getName() { return name; } /** * Name *

* * */ @JsonProperty("name") public void setName(String name) { this.name = name; } public Function withName(String name) { this.name = name; return this; } /** * Description *

* * */ @JsonProperty("description") public String getDescription() { return description; } /** * Description *

* * */ @JsonProperty("description") public void setDescription(String description) { this.description = description; } public Function withDescription(String description) { this.description = description; return this; } /** * Parameters *

* * */ @JsonProperty("parameters") public Object getParameters() { return parameters; } /** * Parameters *

* * */ @JsonProperty("parameters") public void setParameters(Object parameters) { this.parameters = parameters; } public Function withParameters(Object parameters) { this.parameters = parameters; return this; } /** * Examples *

* * */ @JsonProperty("examples") public List getExamples() { return examples; } /** * Examples *

* * */ @JsonProperty("examples") public void setExamples(List examples) { this.examples = examples; } public Function withExamples(List examples) { this.examples = examples; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(Function.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("name"); sb.append('='); sb.append(((this.name == null)?"":this.name)); sb.append(','); sb.append("description"); sb.append('='); sb.append(((this.description == null)?"":this.description)); sb.append(','); sb.append("parameters"); sb.append('='); sb.append(((this.parameters == null)?"":this.parameters)); sb.append(','); sb.append("examples"); sb.append('='); sb.append(((this.examples == null)?"":this.examples)); sb.append(','); if (sb.charAt((sb.length()- 1)) == ',') { sb.setCharAt((sb.length()- 1), ']'); } else { sb.append(']'); } return sb.toString(); } @Override public int hashCode() { int result = 1; result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode())); result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode())); result = ((result* 31)+((this.examples == null)? 0 :this.examples.hashCode())); result = ((result* 31)+((this.parameters == null)? 0 :this.parameters.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Function) == false) { return false; } Function rhs = ((Function) other); return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.examples == rhs.examples)||((this.examples!= null)&&this.examples.equals(rhs.examples))))&&((this.parameters == rhs.parameters)||((this.parameters!= null)&&this.parameters.equals(rhs.parameters)))); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy