
com.symphony.api.model.V1DLPDictionaryMetadataCollectionResponse Maven / Gradle / Ivy
package com.symphony.api.model;
import com.symphony.api.model.V1DLPDictionaryMetadata;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.annotation.JsonCreator;
/**
* List of dictionary metadata.
**/
@Schema(description="List of dictionary metadata.")
public class V1DLPDictionaryMetadataCollectionResponse {
@Schema(description = "List of dictionary metadata")
/**
* List of dictionary metadata
**/
private List items = null;
@Schema(description = "Page number of current page")
/**
* Page number of current page
**/
private Integer page = null;
@Schema(description = "Total number of pages available")
/**
* Total number of pages available
**/
private Integer pageCount = null;
/**
* List of dictionary metadata
* @return items
**/
@JsonProperty("items")
public List getItems() {
return items;
}
public void setItems(List items) {
this.items = items;
}
public V1DLPDictionaryMetadataCollectionResponse items(List items) {
this.items = items;
return this;
}
public V1DLPDictionaryMetadataCollectionResponse addItemsItem(V1DLPDictionaryMetadata itemsItem) {
this.items.add(itemsItem);
return this;
}
/**
* Page number of current page
* @return page
**/
@JsonProperty("page")
public Integer getPage() {
return page;
}
public void setPage(Integer page) {
this.page = page;
}
public V1DLPDictionaryMetadataCollectionResponse page(Integer page) {
this.page = page;
return this;
}
/**
* Total number of pages available
* @return pageCount
**/
@JsonProperty("pageCount")
public Integer getPageCount() {
return pageCount;
}
public void setPageCount(Integer pageCount) {
this.pageCount = pageCount;
}
public V1DLPDictionaryMetadataCollectionResponse pageCount(Integer pageCount) {
this.pageCount = pageCount;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V1DLPDictionaryMetadataCollectionResponse {\n");
sb.append(" items: ").append(toIndentedString(items)).append("\n");
sb.append(" page: ").append(toIndentedString(page)).append("\n");
sb.append(" pageCount: ").append(toIndentedString(pageCount)).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 ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy