134 lines
3.1 KiB
Java
134 lines
3.1 KiB
Java
package com.inteligr8.alfresco.acs.model;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
/**
|
|
* Additional information of nested facet
|
|
**/
|
|
@ApiModel(description="Additional information of nested facet")
|
|
public class GenericBucketBucketInfo {
|
|
|
|
@ApiModelProperty(value = "The start of range")
|
|
/**
|
|
* The start of range
|
|
**/
|
|
private String start = null;
|
|
|
|
@ApiModelProperty(value = "Includes values greater or equal to \"start\"")
|
|
/**
|
|
* Includes values greater or equal to \"start\"
|
|
**/
|
|
private Boolean startInclusive = null;
|
|
|
|
@ApiModelProperty(value = "The end of range")
|
|
/**
|
|
* The end of range
|
|
**/
|
|
private String end = null;
|
|
|
|
@ApiModelProperty(value = "Includes values less than or equal to \"end\"")
|
|
/**
|
|
* Includes values less than or equal to \"end\"
|
|
**/
|
|
private Boolean endInclusive = null;
|
|
/**
|
|
* The start of range
|
|
* @return start
|
|
**/
|
|
@JsonProperty("start")
|
|
public String getStart() {
|
|
return start;
|
|
}
|
|
|
|
public void setStart(String start) {
|
|
this.start = start;
|
|
}
|
|
|
|
public GenericBucketBucketInfo start(String start) {
|
|
this.start = start;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Includes values greater or equal to \"start\"
|
|
* @return startInclusive
|
|
**/
|
|
@JsonProperty("startInclusive")
|
|
public Boolean isStartInclusive() {
|
|
return startInclusive;
|
|
}
|
|
|
|
public void setStartInclusive(Boolean startInclusive) {
|
|
this.startInclusive = startInclusive;
|
|
}
|
|
|
|
public GenericBucketBucketInfo startInclusive(Boolean startInclusive) {
|
|
this.startInclusive = startInclusive;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* The end of range
|
|
* @return end
|
|
**/
|
|
@JsonProperty("end")
|
|
public String getEnd() {
|
|
return end;
|
|
}
|
|
|
|
public void setEnd(String end) {
|
|
this.end = end;
|
|
}
|
|
|
|
public GenericBucketBucketInfo end(String end) {
|
|
this.end = end;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Includes values less than or equal to \"end\"
|
|
* @return endInclusive
|
|
**/
|
|
@JsonProperty("endInclusive")
|
|
public Boolean isEndInclusive() {
|
|
return endInclusive;
|
|
}
|
|
|
|
public void setEndInclusive(Boolean endInclusive) {
|
|
this.endInclusive = endInclusive;
|
|
}
|
|
|
|
public GenericBucketBucketInfo endInclusive(Boolean endInclusive) {
|
|
this.endInclusive = endInclusive;
|
|
return this;
|
|
}
|
|
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("class GenericBucketBucketInfo {\n");
|
|
|
|
sb.append(" start: ").append(toIndentedString(start)).append("\n");
|
|
sb.append(" startInclusive: ").append(toIndentedString(startInclusive)).append("\n");
|
|
sb.append(" end: ").append(toIndentedString(end)).append("\n");
|
|
sb.append(" endInclusive: ").append(toIndentedString(endInclusive)).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 static String toIndentedString(java.lang.Object o) {
|
|
if (o == null) {
|
|
return "null";
|
|
}
|
|
return o.toString().replace("\n", "\n ");
|
|
}
|
|
}
|
|
|