This repository has been archived by the owner on Nov 19, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lookups Classes Forked List - Next Gen List Support Forked Client - New URL Endpoints TaskRouter, Lookups. Defect Fix - SetRequestAccountSid on all Legacy List Classes. Added new TwiML verbs for TaskRouter Added Test Classes Updated version to 3.3
- Loading branch information
Henry Hai
committed
Apr 8, 2015
1 parent
e15ee2a
commit 4e6feec
Showing
67 changed files
with
3,375 additions
and
2,651 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
public class TwilioCapabilityPolicy { | ||
public static final Map<string, boolean> required = new Map<string, boolean>{'required' => true }; | ||
public static final Map<string, boolean> optional = new Map<string, boolean>{'required' => false }; | ||
|
||
private String url; | ||
private String method; | ||
public Map<String, Map<String, Boolean>> queryFilter {get;set;} | ||
public Map<String, Map<String, Boolean>> postFilter {get;set;} | ||
private Boolean allowed; | ||
|
||
public TwilioCapabilityPolicy(String url, String method, Map<String, Map<String, Boolean>> queryFilter, Map<String, Map<String, Boolean>> postFilter, Boolean allowed) { | ||
this.url = url; | ||
this.method = method; | ||
this.queryFilter = queryFilter; | ||
this.postFilter = postFilter; | ||
this.allowed = allowed; | ||
} | ||
|
||
public TwilioCapabilityPolicy(String url, String method) { | ||
this(url, method, true); | ||
} | ||
|
||
public TwilioCapabilityPolicy(String url, String method, Boolean allowed) { | ||
this(url, method, new Map<String, Map<String, Boolean>>(), new Map<String, Map<String, Boolean>>(), allowed); | ||
} | ||
|
||
public Map<string, Object> toMap() | ||
{ | ||
return new Map<String, Object> { | ||
'url' => this.url, | ||
'method' => this.method, | ||
'query_filter' => this.queryFilter, | ||
'post_filter' => this.postFilter, | ||
'allow' => this.allowed | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<apiVersion>31.0</apiVersion> | ||
<status>Active</status> | ||
</ApexClass> |
Oops, something went wrong.