com.docusign.esign.model.DocumentHtmlDisplaySettings Maven / Gradle / Ivy
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;
/** DocumentHtmlDisplaySettings. */
public class DocumentHtmlDisplaySettings {
@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
*/
@ApiModelProperty(value = "")
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;
}
/**
* Get collapsibleSettings.
*
* @return collapsibleSettings
*/
@ApiModelProperty(value = "")
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
*/
@ApiModelProperty(value = "")
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
*/
@ApiModelProperty(value = "")
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
*/
@ApiModelProperty(value = "")
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
*/
@ApiModelProperty(value = "")
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
*/
@ApiModelProperty(value = "")
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
*/
@ApiModelProperty(value = "")
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
*/
@ApiModelProperty(value = "")
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
*/
@ApiModelProperty(value = "")
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
*/
@ApiModelProperty(value = "")
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
*/
@ApiModelProperty(value = "")
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 ");
}
}