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

com.infobip.model.WebRtcFilePageResponse Maven / Gradle / Ivy

/*
 * This class is auto generated from the Infobip OpenAPI specification
 * through the OpenAPI Specification Client API libraries (Re)Generator (OSCAR),
 * powered by the OpenAPI Generator (https://openapi-generator.tech).
 *
 * Do not edit manually. To learn how to raise an issue, see the CONTRIBUTING guide
 * or contact us @ [email protected].
 */

package com.infobip.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/**
 * Represents WebRtcFilePageResponse model.
 */
public class WebRtcFilePageResponse {

    private List results = null;

    private PageInfo pageInfo;

    /**
     * Sets results.
     * 

* Field description: * List of results for the requested page. * * @param results * @return This {@link WebRtcFilePageResponse instance}. */ public WebRtcFilePageResponse results(List results) { this.results = results; return this; } /** * Adds and item into results. *

* Field description: * List of results for the requested page. * * @param resultsItem The item to be added to the list. * @return This {@link WebRtcFilePageResponse instance}. */ public WebRtcFilePageResponse addResultsItem(WebRtcFileResponse resultsItem) { if (this.results == null) { this.results = new ArrayList<>(); } this.results.add(resultsItem); return this; } /** * Returns results. *

* Field description: * List of results for the requested page. * * @return results */ @JsonProperty("results") public List getResults() { return results; } /** * Sets results. *

* Field description: * List of results for the requested page. * * @param results */ @JsonProperty("results") public void setResults(List results) { this.results = results; } /** * Sets pageInfo. * * @param pageInfo * @return This {@link WebRtcFilePageResponse instance}. */ public WebRtcFilePageResponse pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } /** * Returns pageInfo. * * @return pageInfo */ @JsonProperty("pageInfo") public PageInfo getPageInfo() { return pageInfo; } /** * Sets pageInfo. * * @param pageInfo */ @JsonProperty("pageInfo") public void setPageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } WebRtcFilePageResponse webRtcFilePageResponse = (WebRtcFilePageResponse) o; return Objects.equals(this.results, webRtcFilePageResponse.results) && Objects.equals(this.pageInfo, webRtcFilePageResponse.pageInfo); } @Override public int hashCode() { return Objects.hash(results, pageInfo); } @Override public String toString() { String newLine = System.lineSeparator(); return new StringBuilder() .append("class WebRtcFilePageResponse {") .append(newLine) .append(" results: ") .append(toIndentedString(results)) .append(newLine) .append(" pageInfo: ") .append(toIndentedString(pageInfo)) .append(newLine) .append("}") .toString(); } private String toIndentedString(Object o) { if (o == null) { return "null"; } String lineSeparator = System.lineSeparator(); String lineSeparatorFollowedByIndentation = lineSeparator + " "; return o.toString().replace(lineSeparator, lineSeparatorFollowedByIndentation); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy