001 002/* 003 * Copyright (C) 2011 Archie L. Cobbs. All rights reserved. 004 * 005 * $Id$ 006 */ 007 008package org.dellroad.jibxbindings.twilio.twiml; 009 010import org.dellroad.jibxbindings.twilio.Method; 011 012/** 013 * TwiML <code><Conference></code> noun. 014 */ 015public class Conference { 016 017 public static final int MAXIMUM_MAX_PARTICIPANTS = 40; 018 public static final int DEFAULT_MAX_PARTICIPANTS = MAXIMUM_MAX_PARTICIPANTS; 019 020 private boolean muted; 021 private boolean beep = true; 022 private boolean startConferenceOnEnter = true; 023 private boolean endConferenceOnExit; 024 private String waitUrl; 025 private Method waitMethod = Method.POST; 026 private int maxParticipants = DEFAULT_MAX_PARTICIPANTS; 027 private String room; 028 029 public boolean isMuted() { 030 return this.muted; 031 } 032 public void setMuted(boolean muted) { 033 this.muted = muted; 034 } 035 036 public boolean isBeep() { 037 return this.beep; 038 } 039 public void setBeep(boolean beep) { 040 this.beep = beep; 041 } 042 043 public boolean isStartConferenceOnEnter() { 044 return this.startConferenceOnEnter; 045 } 046 public void setStartConferenceOnEnter(boolean startConferenceOnEnter) { 047 this.startConferenceOnEnter = startConferenceOnEnter; 048 } 049 050 public boolean isEndConferenceOnExit() { 051 return this.endConferenceOnExit; 052 } 053 public void setEndConferenceOnExit(boolean endConferenceOnExit) { 054 this.endConferenceOnExit = endConferenceOnExit; 055 } 056 057 public String getWaitUrl() { 058 return this.waitUrl; 059 } 060 public void setWaitUrl(String waitUrl) { 061 this.waitUrl = waitUrl; 062 } 063 064 public Method getWaitMethod() { 065 return this.waitMethod; 066 } 067 public void setWaitMethod(Method waitMethod) { 068 this.waitMethod = waitMethod; 069 } 070 071 public int getMaxParticipants() { 072 return this.maxParticipants; 073 } 074 public void setMaxParticipants(int maxParticipants) { 075 this.maxParticipants = maxParticipants; 076 } 077 078 public String getRoom() { 079 return this.room; 080 } 081 public void setRoom(String room) { 082 this.room = room; 083 } 084} 085