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

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

There is a newer version: 1.0.192
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;


/**
 * MaasTokenizationRequest
 * 

* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "text" }) @Generated("jsonschema2pojo") public class TokenizeReq { /** * Text *

* * */ @JsonProperty("text") private String text; /** * Text *

* * */ @JsonProperty("text") public String getText() { return text; } /** * Text *

* * */ @JsonProperty("text") public void setText(String text) { this.text = text; } public TokenizeReq withText(String text) { this.text = text; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(TokenizeReq.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("text"); sb.append('='); sb.append(((this.text == null)?"":this.text)); 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.text == null)? 0 :this.text.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof TokenizeReq) == false) { return false; } TokenizeReq rhs = ((TokenizeReq) other); return ((this.text == rhs.text)||((this.text!= null)&&this.text.equals(rhs.text))); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy