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

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

/**
 * Video media properties.
 */
public class CallsVideoMediaProperties {

    private Boolean camera;

    private Boolean screenShare;

    /**
     * Sets camera.
     * 

* Field description: * Indicates whether there is a video feed. * * @param camera * @return This {@link CallsVideoMediaProperties instance}. */ public CallsVideoMediaProperties camera(Boolean camera) { this.camera = camera; return this; } /** * Returns camera. *

* Field description: * Indicates whether there is a video feed. * * @return camera */ @JsonProperty("camera") public Boolean getCamera() { return camera; } /** * Sets camera. *

* Field description: * Indicates whether there is a video feed. * * @param camera */ @JsonProperty("camera") public void setCamera(Boolean camera) { this.camera = camera; } /** * Sets screenShare. *

* Field description: * Indicates whether the end user is sharing their screen. * * @param screenShare * @return This {@link CallsVideoMediaProperties instance}. */ public CallsVideoMediaProperties screenShare(Boolean screenShare) { this.screenShare = screenShare; return this; } /** * Returns screenShare. *

* Field description: * Indicates whether the end user is sharing their screen. * * @return screenShare */ @JsonProperty("screenShare") public Boolean getScreenShare() { return screenShare; } /** * Sets screenShare. *

* Field description: * Indicates whether the end user is sharing their screen. * * @param screenShare */ @JsonProperty("screenShare") public void setScreenShare(Boolean screenShare) { this.screenShare = screenShare; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } CallsVideoMediaProperties callsVideoMediaProperties = (CallsVideoMediaProperties) o; return Objects.equals(this.camera, callsVideoMediaProperties.camera) && Objects.equals(this.screenShare, callsVideoMediaProperties.screenShare); } @Override public int hashCode() { return Objects.hash(camera, screenShare); } @Override public String toString() { String newLine = System.lineSeparator(); return new StringBuilder() .append("class CallsVideoMediaProperties {") .append(newLine) .append(" camera: ") .append(toIndentedString(camera)) .append(newLine) .append(" screenShare: ") .append(toIndentedString(screenShare)) .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