com.docusign.esign.model.DocumentHtmlDisplaySettings 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.io.Serializable;
import java.util.Objects;
/** DocumentHtmlDisplaySettings. */
public class DocumentHtmlDisplaySettings implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("cellStyle")
private String cellStyle = null;
@JsonProperty("collapsibleSettings")
private DocumentHtmlCollapsibleDisplaySettings 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;
/**
* cellStyle.
*
* @return DocumentHtmlDisplaySettings
*/
public DocumentHtmlDisplaySettings cellStyle(String cellStyle) {
this.cellStyle = cellStyle;
return this;
}
/**
* .
*
* @return cellStyle
*/
@Schema(description = "")
public String getCellStyle() {
return cellStyle;
}
/** setCellStyle. */
public void setCellStyle(String cellStyle) {
this.cellStyle = cellStyle;
}
/**
* collapsibleSettings.
*
* @return DocumentHtmlDisplaySettings
*/
public DocumentHtmlDisplaySettings collapsibleSettings(
DocumentHtmlCollapsibleDisplaySettings collapsibleSettings) {
this.collapsibleSettings = collapsibleSettings;
return this;
}
/**
* This object defines the appearance and function of a collapsible section or item..
*
* @return collapsibleSettings
*/
@Schema(
description =
"This object defines the appearance and function of a collapsible section or item.")
public DocumentHtmlCollapsibleDisplaySettings getCollapsibleSettings() {
return collapsibleSettings;
}
/** setCollapsibleSettings. */
public void setCollapsibleSettings(DocumentHtmlCollapsibleDisplaySettings collapsibleSettings) {
this.collapsibleSettings = collapsibleSettings;
}
/**
* display.
*
* @return DocumentHtmlDisplaySettings
*/
public DocumentHtmlDisplaySettings display(String display) {
this.display = display;
return this;
}
/**
* .
*
* @return display
*/
@Schema(description = "")
public String getDisplay() {
return display;
}
/** setDisplay. */
public void setDisplay(String display) {
this.display = display;
}
/**
* displayLabel.
*
* @return DocumentHtmlDisplaySettings
*/
public DocumentHtmlDisplaySettings displayLabel(String displayLabel) {
this.displayLabel = displayLabel;
return this;
}
/**
* .
*
* @return displayLabel
*/
@Schema(description = "")
public String getDisplayLabel() {
return displayLabel;
}
/** setDisplayLabel. */
public void setDisplayLabel(String displayLabel) {
this.displayLabel = displayLabel;
}
/**
* displayOrder.
*
* @return DocumentHtmlDisplaySettings
*/
public DocumentHtmlDisplaySettings displayOrder(Integer displayOrder) {
this.displayOrder = displayOrder;
return this;
}
/**
* .
*
* @return displayOrder
*/
@Schema(description = "")
public Integer getDisplayOrder() {
return displayOrder;
}
/** setDisplayOrder. */
public void setDisplayOrder(Integer displayOrder) {
this.displayOrder = displayOrder;
}
/**
* displayPageNumber.
*
* @return DocumentHtmlDisplaySettings
*/
public DocumentHtmlDisplaySettings displayPageNumber(Integer displayPageNumber) {
this.displayPageNumber = displayPageNumber;
return this;
}
/**
* .
*
* @return displayPageNumber
*/
@Schema(description = "")
public Integer getDisplayPageNumber() {
return displayPageNumber;
}
/** setDisplayPageNumber. */
public void setDisplayPageNumber(Integer displayPageNumber) {
this.displayPageNumber = displayPageNumber;
}
/**
* hideLabelWhenOpened.
*
* @return DocumentHtmlDisplaySettings
*/
public DocumentHtmlDisplaySettings hideLabelWhenOpened(Boolean hideLabelWhenOpened) {
this.hideLabelWhenOpened = hideLabelWhenOpened;
return this;
}
/**
* .
*
* @return hideLabelWhenOpened
*/
@Schema(description = "")
public Boolean isHideLabelWhenOpened() {
return hideLabelWhenOpened;
}
/** setHideLabelWhenOpened. */
public void setHideLabelWhenOpened(Boolean hideLabelWhenOpened) {
this.hideLabelWhenOpened = hideLabelWhenOpened;
}
/**
* inlineOuterStyle.
*
* @return DocumentHtmlDisplaySettings
*/
public DocumentHtmlDisplaySettings inlineOuterStyle(String inlineOuterStyle) {
this.inlineOuterStyle = inlineOuterStyle;
return this;
}
/**
* .
*
* @return inlineOuterStyle
*/
@Schema(description = "")
public String getInlineOuterStyle() {
return inlineOuterStyle;
}
/** setInlineOuterStyle. */
public void setInlineOuterStyle(String inlineOuterStyle) {
this.inlineOuterStyle = inlineOuterStyle;
}
/**
* labelWhenOpened.
*
* @return DocumentHtmlDisplaySettings
*/
public DocumentHtmlDisplaySettings labelWhenOpened(String labelWhenOpened) {
this.labelWhenOpened = labelWhenOpened;
return this;
}
/**
* .
*
* @return labelWhenOpened
*/
@Schema(description = "")
public String getLabelWhenOpened() {
return labelWhenOpened;
}
/** setLabelWhenOpened. */
public void setLabelWhenOpened(String labelWhenOpened) {
this.labelWhenOpened = labelWhenOpened;
}
/**
* preLabel.
*
* @return DocumentHtmlDisplaySettings
*/
public DocumentHtmlDisplaySettings preLabel(String preLabel) {
this.preLabel = preLabel;
return this;
}
/**
* .
*
* @return preLabel
*/
@Schema(description = "")
public String getPreLabel() {
return preLabel;
}
/** setPreLabel. */
public void setPreLabel(String preLabel) {
this.preLabel = preLabel;
}
/**
* scrollToTopWhenOpened.
*
* @return DocumentHtmlDisplaySettings
*/
public DocumentHtmlDisplaySettings scrollToTopWhenOpened(Boolean scrollToTopWhenOpened) {
this.scrollToTopWhenOpened = scrollToTopWhenOpened;
return this;
}
/**
* .
*
* @return scrollToTopWhenOpened
*/
@Schema(description = "")
public Boolean isScrollToTopWhenOpened() {
return scrollToTopWhenOpened;
}
/** setScrollToTopWhenOpened. */
public void setScrollToTopWhenOpened(Boolean scrollToTopWhenOpened) {
this.scrollToTopWhenOpened = scrollToTopWhenOpened;
}
/**
* tableStyle.
*
* @return DocumentHtmlDisplaySettings
*/
public DocumentHtmlDisplaySettings tableStyle(String tableStyle) {
this.tableStyle = tableStyle;
return this;
}
/**
* .
*
* @return tableStyle
*/
@Schema(description = "")
public String getTableStyle() {
return tableStyle;
}
/** setTableStyle. */
public void setTableStyle(String tableStyle) {
this.tableStyle = tableStyle;
}
/**
* 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;
}
DocumentHtmlDisplaySettings documentHtmlDisplaySettings = (DocumentHtmlDisplaySettings) o;
return Objects.equals(this.cellStyle, documentHtmlDisplaySettings.cellStyle)
&& Objects.equals(this.collapsibleSettings, documentHtmlDisplaySettings.collapsibleSettings)
&& Objects.equals(this.display, documentHtmlDisplaySettings.display)
&& Objects.equals(this.displayLabel, documentHtmlDisplaySettings.displayLabel)
&& Objects.equals(this.displayOrder, documentHtmlDisplaySettings.displayOrder)
&& Objects.equals(this.displayPageNumber, documentHtmlDisplaySettings.displayPageNumber)
&& Objects.equals(this.hideLabelWhenOpened, documentHtmlDisplaySettings.hideLabelWhenOpened)
&& Objects.equals(this.inlineOuterStyle, documentHtmlDisplaySettings.inlineOuterStyle)
&& Objects.equals(this.labelWhenOpened, documentHtmlDisplaySettings.labelWhenOpened)
&& Objects.equals(this.preLabel, documentHtmlDisplaySettings.preLabel)
&& Objects.equals(
this.scrollToTopWhenOpened, documentHtmlDisplaySettings.scrollToTopWhenOpened)
&& Objects.equals(this.tableStyle, documentHtmlDisplaySettings.tableStyle);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(
cellStyle,
collapsibleSettings,
display,
displayLabel,
displayOrder,
displayPageNumber,
hideLabelWhenOpened,
inlineOuterStyle,
labelWhenOpened,
preLabel,
scrollToTopWhenOpened,
tableStyle);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DocumentHtmlDisplaySettings {\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 ");
}
}