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

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

There is a newer version: 1.0.184
Show newest version

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

import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


/**
 * FunctionCall
 * 

* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "name", "arguments" }) @Generated("jsonschema2pojo") public class FunctionCall { /** * Name *

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

* * */ @JsonProperty("arguments") private String arguments; /** * Name *

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

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

* * */ @JsonProperty("arguments") public String getArguments() { return arguments; } /** * Arguments *

* * */ @JsonProperty("arguments") public void setArguments(String arguments) { this.arguments = arguments; } public FunctionCall withArguments(String arguments) { this.arguments = arguments; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(FunctionCall.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("arguments"); sb.append('='); sb.append(((this.arguments == null)?"":this.arguments)); 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.arguments == null)? 0 :this.arguments.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof FunctionCall) == false) { return false; } FunctionCall rhs = ((FunctionCall) other); return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.arguments == rhs.arguments)||((this.arguments!= null)&&this.arguments.equals(rhs.arguments)))); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy