com.docusign.esign.model.SmartSectionDisplaySettings 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 java.util.Objects;
import java.util.Arrays;
import com.docusign.esign.model.SmartSectionCollapsibleDisplaySettings;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* SmartSectionDisplaySettings
*/
public class SmartSectionDisplaySettings {
@JsonProperty("cellStyle")
private String cellStyle = null;
@JsonProperty("collapsibleSettings")
private SmartSectionCollapsibleDisplaySettings collapsibleSettings = null;
@JsonProperty("display")
private String display = null;
@JsonProperty("displayLabel")
private String displayLabel = null;
@JsonProperty("displayOrder")
private Integer displayOrder = null;
@JsonProperty("displayPageNumber")
private Integer displayPageNumber = null;
@JsonProperty("hideLabelWhenOpened")
private Boolean hideLabelWhenOpened = null;
@JsonProperty("inlineOuterStyle")
private String inlineOuterStyle = null;
@JsonProperty("labelWhenOpened")
private String labelWhenOpened = null;
@JsonProperty("preLabel")
private String preLabel = null;
@JsonProperty("scrollToTopWhenOpened")
private Boolean scrollToTopWhenOpened = null;
@JsonProperty("tableStyle")
private String tableStyle = null;
public SmartSectionDisplaySettings cellStyle(String cellStyle) {
this.cellStyle = cellStyle;
return this;
}
/**
*
* @return cellStyle
**/
@ApiModelProperty(value = "")
public String getCellStyle() {
return cellStyle;
}
public void setCellStyle(String cellStyle) {
this.cellStyle = cellStyle;
}
public SmartSectionDisplaySettings collapsibleSettings(SmartSectionCollapsibleDisplaySettings collapsibleSettings) {
this.collapsibleSettings = collapsibleSettings;
return this;
}
/**
* Get collapsibleSettings
* @return collapsibleSettings
**/
@ApiModelProperty(value = "")
public SmartSectionCollapsibleDisplaySettings getCollapsibleSettings() {
return collapsibleSettings;
}
public void setCollapsibleSettings(SmartSectionCollapsibleDisplaySettings collapsibleSettings) {
this.collapsibleSettings = collapsibleSettings;
}
public SmartSectionDisplaySettings display(String display) {
this.display = display;
return this;
}
/**
*
* @return display
**/
@ApiModelProperty(value = "")
public String getDisplay() {
return display;
}
public void setDisplay(String display) {
this.display = display;
}
public SmartSectionDisplaySettings displayLabel(String displayLabel) {
this.displayLabel = displayLabel;
return this;
}
/**
*
* @return displayLabel
**/
@ApiModelProperty(value = "")
public String getDisplayLabel() {
return displayLabel;
}
public void setDisplayLabel(String displayLabel) {
this.displayLabel = displayLabel;
}
public SmartSectionDisplaySettings displayOrder(Integer displayOrder) {
this.displayOrder = displayOrder;
return this;
}
/**
*
* @return displayOrder
**/
@ApiModelProperty(value = "")
public Integer getDisplayOrder() {
return displayOrder;
}
public void setDisplayOrder(Integer displayOrder) {
this.displayOrder = displayOrder;
}
public SmartSectionDisplaySettings displayPageNumber(Integer displayPageNumber) {
this.displayPageNumber = displayPageNumber;
return this;
}
/**
*
* @return displayPageNumber
**/
@ApiModelProperty(value = "")
public Integer getDisplayPageNumber() {
return displayPageNumber;
}
public void setDisplayPageNumber(Integer displayPageNumber) {
this.displayPageNumber = displayPageNumber;
}
public SmartSectionDisplaySettings hideLabelWhenOpened(Boolean hideLabelWhenOpened) {
this.hideLabelWhenOpened = hideLabelWhenOpened;
return this;
}
/**
*
* @return hideLabelWhenOpened
**/
@ApiModelProperty(value = "")
public Boolean isHideLabelWhenOpened() {
return hideLabelWhenOpened;
}
public void setHideLabelWhenOpened(Boolean hideLabelWhenOpened) {
this.hideLabelWhenOpened = hideLabelWhenOpened;
}
public SmartSectionDisplaySettings inlineOuterStyle(String inlineOuterStyle) {
this.inlineOuterStyle = inlineOuterStyle;
return this;
}
/**
*
* @return inlineOuterStyle
**/
@ApiModelProperty(value = "")
public String getInlineOuterStyle() {
return inlineOuterStyle;
}
public void setInlineOuterStyle(String inlineOuterStyle) {
this.inlineOuterStyle = inlineOuterStyle;
}
public SmartSectionDisplaySettings labelWhenOpened(String labelWhenOpened) {
this.labelWhenOpened = labelWhenOpened;
return this;
}
/**
*
* @return labelWhenOpened
**/
@ApiModelProperty(value = "")
public String getLabelWhenOpened() {
return labelWhenOpened;
}
public void setLabelWhenOpened(String labelWhenOpened) {
this.labelWhenOpened = labelWhenOpened;
}
public SmartSectionDisplaySettings preLabel(String preLabel) {
this.preLabel = preLabel;
return this;
}
/**
*
* @return preLabel
**/
@ApiModelProperty(value = "")
public String getPreLabel() {
return preLabel;
}
public void setPreLabel(String preLabel) {
this.preLabel = preLabel;
}
public SmartSectionDisplaySettings scrollToTopWhenOpened(Boolean scrollToTopWhenOpened) {
this.scrollToTopWhenOpened = scrollToTopWhenOpened;
return this;
}
/**
*
* @return scrollToTopWhenOpened
**/
@ApiModelProperty(value = "")
public Boolean isScrollToTopWhenOpened() {
return scrollToTopWhenOpened;
}
public void setScrollToTopWhenOpened(Boolean scrollToTopWhenOpened) {
this.scrollToTopWhenOpened = scrollToTopWhenOpened;
}
public SmartSectionDisplaySettings tableStyle(String tableStyle) {
this.tableStyle = tableStyle;
return this;
}
/**
*
* @return tableStyle
**/
@ApiModelProperty(value = "")
public String getTableStyle() {
return tableStyle;
}
public void setTableStyle(String tableStyle) {
this.tableStyle = tableStyle;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SmartSectionDisplaySettings smartSectionDisplaySettings = (SmartSectionDisplaySettings) o;
return Objects.equals(this.cellStyle, smartSectionDisplaySettings.cellStyle) &&
Objects.equals(this.collapsibleSettings, smartSectionDisplaySettings.collapsibleSettings) &&
Objects.equals(this.display, smartSectionDisplaySettings.display) &&
Objects.equals(this.displayLabel, smartSectionDisplaySettings.displayLabel) &&
Objects.equals(this.displayOrder, smartSectionDisplaySettings.displayOrder) &&
Objects.equals(this.displayPageNumber, smartSectionDisplaySettings.displayPageNumber) &&
Objects.equals(this.hideLabelWhenOpened, smartSectionDisplaySettings.hideLabelWhenOpened) &&
Objects.equals(this.inlineOuterStyle, smartSectionDisplaySettings.inlineOuterStyle) &&
Objects.equals(this.labelWhenOpened, smartSectionDisplaySettings.labelWhenOpened) &&
Objects.equals(this.preLabel, smartSectionDisplaySettings.preLabel) &&
Objects.equals(this.scrollToTopWhenOpened, smartSectionDisplaySettings.scrollToTopWhenOpened) &&
Objects.equals(this.tableStyle, smartSectionDisplaySettings.tableStyle);
}
@Override
public int hashCode() {
return Objects.hash(cellStyle, collapsibleSettings, display, displayLabel, displayOrder, displayPageNumber, hideLabelWhenOpened, inlineOuterStyle, labelWhenOpened, preLabel, scrollToTopWhenOpened, tableStyle);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SmartSectionDisplaySettings {\n");
sb.append(" cellStyle: ").append(toIndentedString(cellStyle)).append("\n");
sb.append(" collapsibleSettings: ").append(toIndentedString(collapsibleSettings)).append("\n");
sb.append(" display: ").append(toIndentedString(display)).append("\n");
sb.append(" displayLabel: ").append(toIndentedString(displayLabel)).append("\n");
sb.append(" displayOrder: ").append(toIndentedString(displayOrder)).append("\n");
sb.append(" displayPageNumber: ").append(toIndentedString(displayPageNumber)).append("\n");
sb.append(" hideLabelWhenOpened: ").append(toIndentedString(hideLabelWhenOpened)).append("\n");
sb.append(" inlineOuterStyle: ").append(toIndentedString(inlineOuterStyle)).append("\n");
sb.append(" labelWhenOpened: ").append(toIndentedString(labelWhenOpened)).append("\n");
sb.append(" preLabel: ").append(toIndentedString(preLabel)).append("\n");
sb.append(" scrollToTopWhenOpened: ").append(toIndentedString(scrollToTopWhenOpened)).append("\n");
sb.append(" tableStyle: ").append(toIndentedString(tableStyle)).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 ");
}
}