Package com.twilio.type
Class SubscribeRule
- java.lang.Object
-
- com.twilio.type.SubscribeRule
-
- All Implemented Interfaces:
Rule
public class SubscribeRule extends Object implements Rule
Subscribe RuleFor more information see: Specifying Subscribe Rules
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubscribeRule.Builder
static interface
SubscribeRule.BuilderBuild
static interface
SubscribeRule.BuilderMiddle
static interface
SubscribeRule.BuilderMiddleBuild
static interface
SubscribeRule.BuilderStart
-
Nested classes/interfaces inherited from interface com.twilio.type.Rule
Rule.Kind, Rule.Priority, Rule.Type
-
-
Constructor Summary
Constructors Constructor Description SubscribeRule()
SubscribeRule(Rule.Type type, Boolean all, String publisher, String track, Rule.Kind kind, Rule.Priority priority)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscribeRule
all()
static SubscribeRule.BuilderStart
builder()
boolean
equals(Object o)
Boolean
getAll()
Rule.Kind
getKind()
Rule.Priority
getPriority()
String
getPublisher()
String
getTrack()
Rule.Type
getType()
int
hashCode()
static SubscribeRule
none()
-
-
-
Method Detail
-
builder
public static SubscribeRule.BuilderStart builder()
-
getPublisher
public String getPublisher()
- Specified by:
getPublisher
in interfaceRule
-
getPriority
public Rule.Priority getPriority()
-
all
public static SubscribeRule all()
-
none
public static SubscribeRule none()
-
-