com.symphony.api.model.V2MembershipList Maven / Gradle / Ivy
package com.symphony.api.model;
import com.symphony.api.model.V2MemberInfoList;
import io.swagger.v3.oas.annotations.media.Schema;
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 members in the stream.
**/
@Schema(description="List of members in the stream.")
public class V2MembershipList {
@Schema(description = "total members count")
/**
* total members count
**/
private Integer count = null;
@Schema(description = "number of items to skip from the request")
/**
* number of items to skip from the request
**/
private Integer skip = null;
@Schema(description = "maximum number of items to return")
/**
* maximum number of items to return
**/
private Integer limit = null;
@Schema(description = "")
private V2MemberInfoList members = null;
/**
* total members count
* @return count
**/
@JsonProperty("count")
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public V2MembershipList count(Integer count) {
this.count = count;
return this;
}
/**
* number of items to skip from the request
* @return skip
**/
@JsonProperty("skip")
public Integer getSkip() {
return skip;
}
public void setSkip(Integer skip) {
this.skip = skip;
}
public V2MembershipList skip(Integer skip) {
this.skip = skip;
return this;
}
/**
* maximum number of items to return
* @return limit
**/
@JsonProperty("limit")
public Integer getLimit() {
return limit;
}
public void setLimit(Integer limit) {
this.limit = limit;
}
public V2MembershipList limit(Integer limit) {
this.limit = limit;
return this;
}
/**
* Get members
* @return members
**/
@JsonProperty("members")
public V2MemberInfoList getMembers() {
return members;
}
public void setMembers(V2MemberInfoList members) {
this.members = members;
}
public V2MembershipList members(V2MemberInfoList members) {
this.members = members;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V2MembershipList {\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append(" skip: ").append(toIndentedString(skip)).append("\n");
sb.append(" limit: ").append(toIndentedString(limit)).append("\n");
sb.append(" members: ").append(toIndentedString(members)).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