
com.docusign.maestro.model.DSWorkflowIndexOfExpression Maven / Gradle / Ivy
package com.docusign.maestro.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;
/** DSWorkflowIndexOfExpression. */
public class DSWorkflowIndexOfExpression {
@JsonProperty("searchText")
private Object searchText = null;
@JsonProperty("text")
private Object text = null;
@JsonProperty("type")
private DSWorkflowTransformationExpressionTypesIndexOfExpression type = null;
/**
* searchText.
*
* @return DSWorkflowIndexOfExpression
*/
public DSWorkflowIndexOfExpression searchText(Object searchText) {
this.searchText = searchText;
return this;
}
/**
* Reference of #/definitions/StringOrVariableOrTransformation. Object stands for a String or a
* Variable or a Transformation. This object should be any of the following object models or
* types: [string, #/definitions/DSWorkflowVariable,
* #/definitions/DSWorkflowTransformationExpression].
*
* @return searchText
*/
@Schema(
required = true,
description =
"Reference of #/definitions/StringOrVariableOrTransformation. Object stands for a String or a Variable or a Transformation. This object should be any of the following object models or types: [string, #/definitions/DSWorkflowVariable, #/definitions/DSWorkflowTransformationExpression]")
public Object getSearchText() {
return searchText;
}
/** setSearchText. */
public void setSearchText(Object searchText) {
this.searchText = searchText;
}
/**
* text.
*
* @return DSWorkflowIndexOfExpression
*/
public DSWorkflowIndexOfExpression text(Object text) {
this.text = text;
return this;
}
/**
* Reference of #/definitions/StringOrVariableOrTransformation. Object stands for a String or a
* Variable or a Transformation. This object should be any of the following object models or
* types: [string, #/definitions/DSWorkflowVariable,
* #/definitions/DSWorkflowTransformationExpression].
*
* @return text
*/
@Schema(
required = true,
description =
"Reference of #/definitions/StringOrVariableOrTransformation. Object stands for a String or a Variable or a Transformation. This object should be any of the following object models or types: [string, #/definitions/DSWorkflowVariable, #/definitions/DSWorkflowTransformationExpression]")
public Object getText() {
return text;
}
/** setText. */
public void setText(Object text) {
this.text = text;
}
/**
* type.
*
* @return DSWorkflowIndexOfExpression
*/
public DSWorkflowIndexOfExpression type(
DSWorkflowTransformationExpressionTypesIndexOfExpression type) {
this.type = type;
return this;
}
/**
* Get type.
*
* @return type
*/
@Schema(required = true, description = "")
public DSWorkflowTransformationExpressionTypesIndexOfExpression getType() {
return type;
}
/** setType. */
public void setType(DSWorkflowTransformationExpressionTypesIndexOfExpression type) {
this.type = type;
}
/**
* Compares objects.
*
* @return true or false depending on comparison result.
*/
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DSWorkflowIndexOfExpression dsWorkflowIndexOfExpression = (DSWorkflowIndexOfExpression) o;
return Objects.equals(this.searchText, dsWorkflowIndexOfExpression.searchText)
&& Objects.equals(this.text, dsWorkflowIndexOfExpression.text)
&& Objects.equals(this.type, dsWorkflowIndexOfExpression.type);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(searchText, text, type);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DSWorkflowIndexOfExpression {\n");
sb.append(" searchText: ").append(toIndentedString(searchText)).append("\n");
sb.append(" text: ").append(toIndentedString(text)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).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