com.plivo.api.models.token.TokenPermission Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plivo-java Show documentation
Show all versions of plivo-java Show documentation
A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML
package com.plivo.api.models.token;
import com.fasterxml.jackson.annotation.JsonProperty;
public class TokenPermission {
@JsonProperty("voice")
VoicePermission voice;
public TokenPermission() {
this.voice = new VoicePermission();
}
}
class VoicePermission {
@JsonProperty("incoming_allow")
Boolean incomingAllow;
@JsonProperty("outgoing_allow")
Boolean outgoingAllow;
public VoicePermission() {
this.incomingAllow = false;
this.outgoingAllow = false;
}
}