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

com.infobip.model.CallsMediaStreamConfigResponse 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.Objects;

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

    private String id;

    private String name;

    private String url;

    /**
     * Sets id.
     * 

* Field description: * Media-stream configuration ID. * * @param id * @return This {@link CallsMediaStreamConfigResponse instance}. */ public CallsMediaStreamConfigResponse id(String id) { this.id = id; return this; } /** * Returns id. *

* Field description: * Media-stream configuration ID. * * @return id */ @JsonProperty("id") public String getId() { return id; } /** * Sets id. *

* Field description: * Media-stream configuration ID. * * @param id */ @JsonProperty("id") public void setId(String id) { this.id = id; } /** * Sets name. *

* Field description: * Media-stream configuration name. * * @param name * @return This {@link CallsMediaStreamConfigResponse instance}. */ public CallsMediaStreamConfigResponse name(String name) { this.name = name; return this; } /** * Returns name. *

* Field description: * Media-stream configuration name. * * @return name */ @JsonProperty("name") public String getName() { return name; } /** * Sets name. *

* Field description: * Media-stream configuration name. * * @param name */ @JsonProperty("name") public void setName(String name) { this.name = name; } /** * Sets url. *

* Field description: * Destination websocket or load balancer URL. * * @param url * @return This {@link CallsMediaStreamConfigResponse instance}. */ public CallsMediaStreamConfigResponse url(String url) { this.url = url; return this; } /** * Returns url. *

* Field description: * Destination websocket or load balancer URL. * * @return url */ @JsonProperty("url") public String getUrl() { return url; } /** * Sets url. *

* Field description: * Destination websocket or load balancer URL. * * @param url */ @JsonProperty("url") public void setUrl(String url) { this.url = url; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } CallsMediaStreamConfigResponse callsMediaStreamConfigResponse = (CallsMediaStreamConfigResponse) o; return Objects.equals(this.id, callsMediaStreamConfigResponse.id) && Objects.equals(this.name, callsMediaStreamConfigResponse.name) && Objects.equals(this.url, callsMediaStreamConfigResponse.url); } @Override public int hashCode() { return Objects.hash(id, name, url); } @Override public String toString() { String newLine = System.lineSeparator(); return new StringBuilder() .append("class CallsMediaStreamConfigResponse {") .append(newLine) .append(" id: ") .append(toIndentedString(id)) .append(newLine) .append(" name: ") .append(toIndentedString(name)) .append(newLine) .append(" url: ") .append(toIndentedString(url)) .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