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

com.volcengine.model.maas.api.v2.LabelLogprobosValue 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;


/**
 * LabelLogprobosValue
 * 

* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "tokens", "token_logprobs", "req_id" }) @Generated("jsonschema2pojo") public class LabelLogprobosValue { /** * Tokens *

* * */ @JsonProperty("tokens") private List tokens = new ArrayList(); /** * Token Logprobs *

* * */ @JsonProperty("token_logprobs") private List tokenLogprobs = new ArrayList(); /** * Req Id *

* * */ @JsonProperty("req_id") private String reqId; /** * Tokens *

* * */ @JsonProperty("tokens") public List getTokens() { return tokens; } /** * Tokens *

* * */ @JsonProperty("tokens") public void setTokens(List tokens) { this.tokens = tokens; } public LabelLogprobosValue withTokens(List tokens) { this.tokens = tokens; return this; } /** * Token Logprobs *

* * */ @JsonProperty("token_logprobs") public List getTokenLogprobs() { return tokenLogprobs; } /** * Token Logprobs *

* * */ @JsonProperty("token_logprobs") public void setTokenLogprobs(List tokenLogprobs) { this.tokenLogprobs = tokenLogprobs; } public LabelLogprobosValue withTokenLogprobs(List tokenLogprobs) { this.tokenLogprobs = tokenLogprobs; return this; } /** * Req Id *

* * */ @JsonProperty("req_id") public String getReqId() { return reqId; } /** * Req Id *

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy