001/*
002 *   Copyright 2024 Vonage
003 *
004 *   Licensed under the Apache License, Version 2.0 (the "License");
005 *   you may not use this file except in compliance with the License.
006 *   You may obtain a copy of the License at
007 *
008 *        http://www.apache.org/licenses/LICENSE-2.0
009 *
010 *   Unless required by applicable law or agreed to in writing, software
011 *   distributed under the License is distributed on an "AS IS" BASIS,
012 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 *   See the License for the specific language governing permissions and
014 *   limitations under the License.
015 */
016package com.vonage.client.conversations;
017
018import com.fasterxml.jackson.annotation.JsonProperty;
019import com.vonage.client.JsonableBaseObject;
020
021/**
022 * Represents the audio options in {@link MemberMedia#getAudioSettings}.
023 */
024public class MediaAudioSettings extends JsonableBaseObject {
025        Boolean enabled, earmuffed, muted;
026
027        protected MediaAudioSettings() {}
028
029        /**
030         * Whether audio is enabled.
031         * 
032         * @return {@code true} if enabled, or {@code null} if unspecified.
033         */
034        @JsonProperty("enabled")
035        public Boolean getEnabled() {
036                return enabled;
037        }
038
039        /**
040         * Whether hearing audio is disabled.
041         * 
042         * @return {@code true} if earmuffed, or {@code null} if unspecified.
043         */
044        @JsonProperty("earmuffed")
045        public Boolean getEarmuffed() {
046                return earmuffed;
047        }
048
049        /**
050         * Whether producing audio is disabled.
051         * 
052         * @return {@code true} if muted, or {@code null} if unspecified.
053         */
054        @JsonProperty("muted")
055        public Boolean getMuted() {
056                return muted;
057        }
058}