All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.symphony.api.model.AdminStreamList Maven / Gradle / Ivy

There is a newer version: 8.0.5
Show newest version
package com.symphony.api.model;

import com.symphony.api.model.AdminStreamFilter;
import com.symphony.api.model.AdminStreamInfoList;
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 streams info
 **/
@Schema(description="list of streams info")
public class AdminStreamList   {
  
  @Schema(description = "total number of streams which match the filter criteria")
 /**
   * total number of streams which match the filter criteria  
  **/
  private Long count = null;
  
  @Schema(description = "number of streams skipped")
 /**
   * number of streams skipped  
  **/
  private Integer skip = null;
  
  @Schema(description = "maximum number of streams return")
 /**
   * maximum number of streams return  
  **/
  private Integer limit = null;
  
  @Schema(description = "")
  private AdminStreamFilter filter = null;
  
  @Schema(description = "")
  private AdminStreamInfoList streams = null;
 /**
   * total number of streams which match the filter criteria
   * @return count
  **/
  @JsonProperty("count")
  public Long getCount() {
    return count;
  }

  public void setCount(Long count) {
    this.count = count;
  }

  public AdminStreamList count(Long count) {
    this.count = count;
    return this;
  }

 /**
   * number of streams skipped
   * @return skip
  **/
  @JsonProperty("skip")
  public Integer getSkip() {
    return skip;
  }

  public void setSkip(Integer skip) {
    this.skip = skip;
  }

  public AdminStreamList skip(Integer skip) {
    this.skip = skip;
    return this;
  }

 /**
   * maximum number of streams return
   * @return limit
  **/
  @JsonProperty("limit")
  public Integer getLimit() {
    return limit;
  }

  public void setLimit(Integer limit) {
    this.limit = limit;
  }

  public AdminStreamList limit(Integer limit) {
    this.limit = limit;
    return this;
  }

 /**
   * Get filter
   * @return filter
  **/
  @JsonProperty("filter")
  public AdminStreamFilter getFilter() {
    return filter;
  }

  public void setFilter(AdminStreamFilter filter) {
    this.filter = filter;
  }

  public AdminStreamList filter(AdminStreamFilter filter) {
    this.filter = filter;
    return this;
  }

 /**
   * Get streams
   * @return streams
  **/
  @JsonProperty("streams")
  public AdminStreamInfoList getStreams() {
    return streams;
  }

  public void setStreams(AdminStreamInfoList streams) {
    this.streams = streams;
  }

  public AdminStreamList streams(AdminStreamInfoList streams) {
    this.streams = streams;
    return this;
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class AdminStreamList {\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("    filter: ").append(toIndentedString(filter)).append("\n");
    sb.append("    streams: ").append(toIndentedString(streams)).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