com.docusign.esign.model.ReportInProductField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docusign-esign-java Show documentation
Show all versions of docusign-esign-java Show documentation
The official Docusign eSignature JAVA client is based on version 2.1 of the Docusign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development.
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;
/** ReportInProductField. */
public class ReportInProductField {
@JsonProperty("displayOrder")
private String displayOrder = null;
@JsonProperty("fieldVersion")
private String fieldVersion = null;
@JsonProperty("name")
private String name = null;
@JsonProperty("selected")
private String selected = null;
/**
* displayOrder.
*
* @return ReportInProductField
*/
public ReportInProductField displayOrder(String displayOrder) {
this.displayOrder = displayOrder;
return this;
}
/**
* .
*
* @return displayOrder
*/
@Schema(description = "")
public String getDisplayOrder() {
return displayOrder;
}
/** setDisplayOrder. */
public void setDisplayOrder(String displayOrder) {
this.displayOrder = displayOrder;
}
/**
* fieldVersion.
*
* @return ReportInProductField
*/
public ReportInProductField fieldVersion(String fieldVersion) {
this.fieldVersion = fieldVersion;
return this;
}
/**
* .
*
* @return fieldVersion
*/
@Schema(description = "")
public String getFieldVersion() {
return fieldVersion;
}
/** setFieldVersion. */
public void setFieldVersion(String fieldVersion) {
this.fieldVersion = fieldVersion;
}
/**
* name.
*
* @return ReportInProductField
*/
public ReportInProductField name(String name) {
this.name = name;
return this;
}
/**
* .
*
* @return name
*/
@Schema(description = "")
public String getName() {
return name;
}
/** setName. */
public void setName(String name) {
this.name = name;
}
/**
* selected.
*
* @return ReportInProductField
*/
public ReportInProductField selected(String selected) {
this.selected = selected;
return this;
}
/**
* .
*
* @return selected
*/
@Schema(description = "")
public String getSelected() {
return selected;
}
/** setSelected. */
public void setSelected(String selected) {
this.selected = selected;
}
/**
* 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;
}
ReportInProductField reportInProductField = (ReportInProductField) o;
return Objects.equals(this.displayOrder, reportInProductField.displayOrder)
&& Objects.equals(this.fieldVersion, reportInProductField.fieldVersion)
&& Objects.equals(this.name, reportInProductField.name)
&& Objects.equals(this.selected, reportInProductField.selected);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(displayOrder, fieldVersion, name, selected);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ReportInProductField {\n");
sb.append(" displayOrder: ").append(toIndentedString(displayOrder)).append("\n");
sb.append(" fieldVersion: ").append(toIndentedString(fieldVersion)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" selected: ").append(toIndentedString(selected)).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 ");
}
}