com.infobip.model.WebRtcCapabilities Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infobip-api-java-client Show documentation
Show all versions of infobip-api-java-client Show documentation
API client in Java for Infobip's API (http://dev.infobip.com/).
The newest version!
/*
* 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;
/**
* Optional. The object containing permission for certain actions during the session.
*/
public class WebRtcCapabilities {
private WebRtcRecording recording;
/**
* Sets recording.
*
* @param recording
* @return This {@link WebRtcCapabilities instance}.
*/
public WebRtcCapabilities recording(WebRtcRecording recording) {
this.recording = recording;
return this;
}
/**
* Returns recording.
*
* @return recording
*/
@JsonProperty("recording")
public WebRtcRecording getRecording() {
return recording;
}
/**
* Sets recording.
*
* @param recording
*/
@JsonProperty("recording")
public void setRecording(WebRtcRecording recording) {
this.recording = recording;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WebRtcCapabilities webRtcCapabilities = (WebRtcCapabilities) o;
return Objects.equals(this.recording, webRtcCapabilities.recording);
}
@Override
public int hashCode() {
return Objects.hash(recording);
}
@Override
public String toString() {
String newLine = System.lineSeparator();
return new StringBuilder()
.append("class WebRtcCapabilities {")
.append(newLine)
.append(" recording: ")
.append(toIndentedString(recording))
.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