id
int32
0
165k
repo
stringlengths
7
58
path
stringlengths
12
218
func_name
stringlengths
3
140
original_string
stringlengths
73
34.1k
language
stringclasses
1 value
code
stringlengths
73
34.1k
code_tokens
list
docstring
stringlengths
3
16k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
105
339
120,600
twilio/twilio-java
src/main/java/com/twilio/rest/video/v1/room/participant/PublishedTrack.java
PublishedTrack.fetcher
public static PublishedTrackFetcher fetcher(final String pathRoomSid, final String pathParticipantSid, final String pathSid) { return new PublishedTrackFetcher(pathRoomSid, pathParticipantSid, pathSid); }
java
public static PublishedTrackFetcher fetcher(final String pathRoomSid, final String pathParticipantSid, final String pathSid) { return new PublishedTrackFetcher(pathRoomSid, pathParticipantSid, pathSid); }
[ "public", "static", "PublishedTrackFetcher", "fetcher", "(", "final", "String", "pathRoomSid", ",", "final", "String", "pathParticipantSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "PublishedTrackFetcher", "(", "pathRoomSid", ",", "pathParticipan...
Create a PublishedTrackFetcher to execute fetch. @param pathRoomSid Unique Room identifier where this Track is published. @param pathParticipantSid Unique Participant identifier that publishes this Track. @param pathSid A 34 character string that uniquely identifies this resource. @return PublishedTrackFetcher capable...
[ "Create", "a", "PublishedTrackFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/video/v1/room/participant/PublishedTrack.java#L75-L79
120,601
twilio/twilio-java
src/main/java/com/twilio/Twilio.java
Twilio.setUsername
public static void setUsername(final String username) { if (username == null) { throw new AuthenticationException("Username can not be null"); } if (!username.equals(Twilio.username)) { Twilio.invalidate(); } Twilio.username = username; }
java
public static void setUsername(final String username) { if (username == null) { throw new AuthenticationException("Username can not be null"); } if (!username.equals(Twilio.username)) { Twilio.invalidate(); } Twilio.username = username; }
[ "public", "static", "void", "setUsername", "(", "final", "String", "username", ")", "{", "if", "(", "username", "==", "null", ")", "{", "throw", "new", "AuthenticationException", "(", "\"Username can not be null\"", ")", ";", "}", "if", "(", "!", "username", ...
Set the username. @param username account sid to use @throws AuthenticationException if accountSid is null
[ "Set", "the", "username", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/Twilio.java#L63-L73
120,602
twilio/twilio-java
src/main/java/com/twilio/Twilio.java
Twilio.setPassword
public static void setPassword(final String password) { if (password == null) { throw new AuthenticationException("Password can not be null"); } if (!password.equals(Twilio.password)) { Twilio.invalidate(); } Twilio.password = password; }
java
public static void setPassword(final String password) { if (password == null) { throw new AuthenticationException("Password can not be null"); } if (!password.equals(Twilio.password)) { Twilio.invalidate(); } Twilio.password = password; }
[ "public", "static", "void", "setPassword", "(", "final", "String", "password", ")", "{", "if", "(", "password", "==", "null", ")", "{", "throw", "new", "AuthenticationException", "(", "\"Password can not be null\"", ")", ";", "}", "if", "(", "!", "password", ...
Set the auth token. @param password auth token to use @throws AuthenticationException if password is null
[ "Set", "the", "auth", "token", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/Twilio.java#L81-L91
120,603
twilio/twilio-java
src/main/java/com/twilio/Twilio.java
Twilio.setAccountSid
public static void setAccountSid(final String accountSid) { if (accountSid == null) { throw new AuthenticationException("AccountSid can not be null"); } if (!accountSid.equals(Twilio.accountSid)) { Twilio.invalidate(); } Twilio.accountSid = accountSid; ...
java
public static void setAccountSid(final String accountSid) { if (accountSid == null) { throw new AuthenticationException("AccountSid can not be null"); } if (!accountSid.equals(Twilio.accountSid)) { Twilio.invalidate(); } Twilio.accountSid = accountSid; ...
[ "public", "static", "void", "setAccountSid", "(", "final", "String", "accountSid", ")", "{", "if", "(", "accountSid", "==", "null", ")", "{", "throw", "new", "AuthenticationException", "(", "\"AccountSid can not be null\"", ")", ";", "}", "if", "(", "!", "acco...
Set the account sid. @param accountSid account sid to use @throws AuthenticationException if account sid is null
[ "Set", "the", "account", "sid", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/Twilio.java#L99-L109
120,604
twilio/twilio-java
src/main/java/com/twilio/Twilio.java
Twilio.getExecutorService
public static ListeningExecutorService getExecutorService() { if (Twilio.executorService == null) { Twilio.executorService = MoreExecutors.listeningDecorator(Executors.newCachedThreadPool()); } return Twilio.executorService; }
java
public static ListeningExecutorService getExecutorService() { if (Twilio.executorService == null) { Twilio.executorService = MoreExecutors.listeningDecorator(Executors.newCachedThreadPool()); } return Twilio.executorService; }
[ "public", "static", "ListeningExecutorService", "getExecutorService", "(", ")", "{", "if", "(", "Twilio", ".", "executorService", "==", "null", ")", "{", "Twilio", ".", "executorService", "=", "MoreExecutors", ".", "listeningDecorator", "(", "Executors", ".", "new...
Returns the Twilio executor service. @return the Twilio executor service
[ "Returns", "the", "Twilio", "executor", "service", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/Twilio.java#L149-L154
120,605
twilio/twilio-java
src/main/java/com/twilio/rest/taskrouter/v1/workspace/taskqueue/TaskQueueStatistics.java
TaskQueueStatistics.fromJson
public static TaskQueueStatistics fromJson(final String json, final ObjectMapper objectMapper) { // Convert all checked exceptions to Runtime try { return objectMapper.readValue(json, TaskQueueStatistics.class); } catch (final JsonMappingException | JsonParseException e) { ...
java
public static TaskQueueStatistics fromJson(final String json, final ObjectMapper objectMapper) { // Convert all checked exceptions to Runtime try { return objectMapper.readValue(json, TaskQueueStatistics.class); } catch (final JsonMappingException | JsonParseException e) { ...
[ "public", "static", "TaskQueueStatistics", "fromJson", "(", "final", "String", "json", ",", "final", "ObjectMapper", "objectMapper", ")", "{", "// Convert all checked exceptions to Runtime", "try", "{", "return", "objectMapper", ".", "readValue", "(", "json", ",", "Ta...
Converts a JSON String into a TaskQueueStatistics object using the provided ObjectMapper. @param json Raw JSON String @param objectMapper Jackson ObjectMapper @return TaskQueueStatistics object represented by the provided JSON
[ "Converts", "a", "JSON", "String", "into", "a", "TaskQueueStatistics", "object", "using", "the", "provided", "ObjectMapper", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/taskrouter/v1/workspace/taskqueue/TaskQueueStatistics.java#L58-L67
120,606
twilio/twilio-java
src/main/java/com/twilio/rest/ipmessaging/v2/service/user/UserChannel.java
UserChannel.fetcher
public static UserChannelFetcher fetcher(final String pathServiceSid, final String pathUserSid, final String pathChannelSid) { return new UserChannelFetcher(pathServiceSid, pathUserSid, pathChannelSid); }
java
public static UserChannelFetcher fetcher(final String pathServiceSid, final String pathUserSid, final String pathChannelSid) { return new UserChannelFetcher(pathServiceSid, pathUserSid, pathChannelSid); }
[ "public", "static", "UserChannelFetcher", "fetcher", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathUserSid", ",", "final", "String", "pathChannelSid", ")", "{", "return", "new", "UserChannelFetcher", "(", "pathServiceSid", ",", "pathUserSid", ...
Create a UserChannelFetcher to execute fetch. @param pathServiceSid The SID of the Service to fetch the User Channel resource from @param pathUserSid The SID of the User to fetch the User Channel resource from @param pathChannelSid The SID of the Channel that has the User Channel to fetch @return UserChannelFetcher ca...
[ "Create", "a", "UserChannelFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/ipmessaging/v2/service/user/UserChannel.java#L113-L117
120,607
twilio/twilio-java
src/main/java/com/twilio/rest/ipmessaging/v2/service/user/UserChannel.java
UserChannel.updater
public static UserChannelUpdater updater(final String pathServiceSid, final String pathUserSid, final String pathChannelSid, final UserChannel.NotificationLevel notificationLevel) { ...
java
public static UserChannelUpdater updater(final String pathServiceSid, final String pathUserSid, final String pathChannelSid, final UserChannel.NotificationLevel notificationLevel) { ...
[ "public", "static", "UserChannelUpdater", "updater", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathUserSid", ",", "final", "String", "pathChannelSid", ",", "final", "UserChannel", ".", "NotificationLevel", "notificationLevel", ")", "{", "retur...
Create a UserChannelUpdater to execute update. @param pathServiceSid The SID of the Service to update the resource from @param pathUserSid The SID of the User to update the User Channel resource from @param pathChannelSid The SID of the Channel with the User Channel resource to update @param notificationLevel The push...
[ "Create", "a", "UserChannelUpdater", "to", "execute", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/ipmessaging/v2/service/user/UserChannel.java#L131-L136
120,608
twilio/twilio-java
src/main/java/com/twilio/rest/proxy/v1/service/session/participant/MessageInteraction.java
MessageInteraction.fetcher
public static MessageInteractionFetcher fetcher(final String pathServiceSid, final String pathSessionSid, final String pathParticipantSid, final String pathSid) ...
java
public static MessageInteractionFetcher fetcher(final String pathServiceSid, final String pathSessionSid, final String pathParticipantSid, final String pathSid) ...
[ "public", "static", "MessageInteractionFetcher", "fetcher", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathSessionSid", ",", "final", "String", "pathParticipantSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "MessageInteract...
Create a MessageInteractionFetcher to execute fetch. @param pathServiceSid The SID of the Service to fetch the resource from @param pathSessionSid The SID of the parent Session @param pathParticipantSid The SID of the Participant resource @param pathSid The unique string that identifies the resource @return MessageInt...
[ "Create", "a", "MessageInteractionFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/proxy/v1/service/session/participant/MessageInteraction.java#L156-L161
120,609
twilio/twilio-java
src/main/java/com/twilio/rest/proxy/v1/service/session/participant/MessageInteraction.java
MessageInteraction.reader
public static MessageInteractionReader reader(final String pathServiceSid, final String pathSessionSid, final String pathParticipantSid) { return new MessageInteractionReader(pathServiceSid, pathSessionSid, pat...
java
public static MessageInteractionReader reader(final String pathServiceSid, final String pathSessionSid, final String pathParticipantSid) { return new MessageInteractionReader(pathServiceSid, pathSessionSid, pat...
[ "public", "static", "MessageInteractionReader", "reader", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathSessionSid", ",", "final", "String", "pathParticipantSid", ")", "{", "return", "new", "MessageInteractionReader", "(", "pathServiceSid", ",",...
Create a MessageInteractionReader to execute read. @param pathServiceSid The SID of the Service to read the resource from @param pathSessionSid The SID of the parent Session @param pathParticipantSid The SID of the Participant resource @return MessageInteractionReader capable of executing the read
[ "Create", "a", "MessageInteractionReader", "to", "execute", "read", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/proxy/v1/service/session/participant/MessageInteraction.java#L171-L175
120,610
twilio/twilio-java
src/main/java/com/twilio/taskrouter/TaskRouterResource.java
TaskRouterResource.toJson
public String toJson() throws IOException { ObjectMapper mapper = new ObjectMapper(); ByteArrayOutputStream out = new ByteArrayOutputStream(); mapper.writeValue(out, this); return out.toString(); }
java
public String toJson() throws IOException { ObjectMapper mapper = new ObjectMapper(); ByteArrayOutputStream out = new ByteArrayOutputStream(); mapper.writeValue(out, this); return out.toString(); }
[ "public", "String", "toJson", "(", ")", "throws", "IOException", "{", "ObjectMapper", "mapper", "=", "new", "ObjectMapper", "(", ")", ";", "ByteArrayOutputStream", "out", "=", "new", "ByteArrayOutputStream", "(", ")", ";", "mapper", ".", "writeValue", "(", "ou...
Converts a resource to JSON. @return JSON representation of the resource @throws IOException if unable to transform to JSON
[ "Converts", "a", "resource", "to", "JSON", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/taskrouter/TaskRouterResource.java#L16-L22
120,611
twilio/twilio-java
src/main/java/com/twilio/jwt/Jwt.java
Jwt.toJwt
public String toJwt() { Map<String, Object> headers = new HashMap<>(); headers.put("typ", "JWT"); headers.putAll(this.getHeaders()); JwtBuilder builder = Jwts.builder() .signWith(this.algorithm, this.secretKey) .setHeaderParams(headers) ...
java
public String toJwt() { Map<String, Object> headers = new HashMap<>(); headers.put("typ", "JWT"); headers.putAll(this.getHeaders()); JwtBuilder builder = Jwts.builder() .signWith(this.algorithm, this.secretKey) .setHeaderParams(headers) ...
[ "public", "String", "toJwt", "(", ")", "{", "Map", "<", "String", ",", "Object", ">", "headers", "=", "new", "HashMap", "<>", "(", ")", ";", "headers", ".", "put", "(", "\"typ\"", ",", "\"JWT\"", ")", ";", "headers", ".", "putAll", "(", "this", "."...
Encode a JWT. @return encoded JWT
[ "Encode", "a", "JWT", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/jwt/Jwt.java#L70-L101
120,612
twilio/twilio-java
src/main/java/com/twilio/rest/video/v1/Room.java
Room.updater
public static RoomUpdater updater(final String pathSid, final Room.RoomStatus status) { return new RoomUpdater(pathSid, status); }
java
public static RoomUpdater updater(final String pathSid, final Room.RoomStatus status) { return new RoomUpdater(pathSid, status); }
[ "public", "static", "RoomUpdater", "updater", "(", "final", "String", "pathSid", ",", "final", "Room", ".", "RoomStatus", "status", ")", "{", "return", "new", "RoomUpdater", "(", "pathSid", ",", "status", ")", ";", "}" ]
Create a RoomUpdater to execute update. @param pathSid The Room Sid or name that uniquely identifies this resource. @param status Set to completed to end the Room. @return RoomUpdater capable of executing the update
[ "Create", "a", "RoomUpdater", "to", "execute", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/video/v1/Room.java#L153-L156
120,613
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/conference/Recording.java
Recording.updater
public static RecordingUpdater updater(final String pathAccountSid, final String pathConferenceSid, final String pathSid, final Recording.Status status) { return new RecordingUpdat...
java
public static RecordingUpdater updater(final String pathAccountSid, final String pathConferenceSid, final String pathSid, final Recording.Status status) { return new RecordingUpdat...
[ "public", "static", "RecordingUpdater", "updater", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathConferenceSid", ",", "final", "String", "pathSid", ",", "final", "Recording", ".", "Status", "status", ")", "{", "return", "new", "RecordingUp...
Create a RecordingUpdater to execute update. @param pathAccountSid The SID of the Account that created the resource to update @param pathConferenceSid Update by unique Conference SID for the recording @param pathSid The unique string that identifies the resource @param status The new status of the recording @return Re...
[ "Create", "a", "RecordingUpdater", "to", "execute", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/conference/Recording.java#L112-L117
120,614
twilio/twilio-java
src/main/java/com/twilio/rest/serverless/v1/service/environment/Variable.java
Variable.fetcher
public static VariableFetcher fetcher(final String pathServiceSid, final String pathEnvironmentSid, final String pathSid) { return new VariableFetcher(pathServiceSid, pathEnvironmentSid, pathSid); }
java
public static VariableFetcher fetcher(final String pathServiceSid, final String pathEnvironmentSid, final String pathSid) { return new VariableFetcher(pathServiceSid, pathEnvironmentSid, pathSid); }
[ "public", "static", "VariableFetcher", "fetcher", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathEnvironmentSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "VariableFetcher", "(", "pathServiceSid", ",", "pathEnvironmentSid",...
Create a VariableFetcher to execute fetch. @param pathServiceSid The service_sid @param pathEnvironmentSid The environment_sid @param pathSid The sid @return VariableFetcher capable of executing the fetch
[ "Create", "a", "VariableFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/serverless/v1/service/environment/Variable.java#L64-L68
120,615
twilio/twilio-java
src/main/java/com/twilio/rest/serverless/v1/service/environment/Variable.java
Variable.creator
public static VariableCreator creator(final String pathServiceSid, final String pathEnvironmentSid, final String key, final String value) { return new VariableCreator(pathServiceSid, ...
java
public static VariableCreator creator(final String pathServiceSid, final String pathEnvironmentSid, final String key, final String value) { return new VariableCreator(pathServiceSid, ...
[ "public", "static", "VariableCreator", "creator", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathEnvironmentSid", ",", "final", "String", "key", ",", "final", "String", "value", ")", "{", "return", "new", "VariableCreator", "(", "pathServic...
Create a VariableCreator to execute create. @param pathServiceSid The service_sid @param pathEnvironmentSid The environment_sid @param key The key @param value The value @return VariableCreator capable of executing the create
[ "Create", "a", "VariableCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/serverless/v1/service/environment/Variable.java#L79-L84
120,616
twilio/twilio-java
src/main/java/com/twilio/rest/serverless/v1/service/environment/Variable.java
Variable.updater
public static VariableUpdater updater(final String pathServiceSid, final String pathEnvironmentSid, final String pathSid) { return new VariableUpdater(pathServiceSid, pathEnvironmentSid, pathSid); }
java
public static VariableUpdater updater(final String pathServiceSid, final String pathEnvironmentSid, final String pathSid) { return new VariableUpdater(pathServiceSid, pathEnvironmentSid, pathSid); }
[ "public", "static", "VariableUpdater", "updater", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathEnvironmentSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "VariableUpdater", "(", "pathServiceSid", ",", "pathEnvironmentSid",...
Create a VariableUpdater to execute update. @param pathServiceSid The service_sid @param pathEnvironmentSid The environment_sid @param pathSid The sid @return VariableUpdater capable of executing the update
[ "Create", "a", "VariableUpdater", "to", "execute", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/serverless/v1/service/environment/Variable.java#L94-L98
120,617
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/Address.java
Address.creator
public static AddressCreator creator(final String pathAccountSid, final String customerName, final String street, final String city, final String region...
java
public static AddressCreator creator(final String pathAccountSid, final String customerName, final String street, final String city, final String region...
[ "public", "static", "AddressCreator", "creator", "(", "final", "String", "pathAccountSid", ",", "final", "String", "customerName", ",", "final", "String", "street", ",", "final", "String", "city", ",", "final", "String", "region", ",", "final", "String", "postal...
Create a AddressCreator to execute create. @param pathAccountSid The SID of the Account that will be responsible for the new Address resource @param customerName The name to associate with the new address @param street The number and street address of the new address @param city The city of the new address @param regi...
[ "Create", "a", "AddressCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/Address.java#L51-L59
120,618
twilio/twilio-java
src/main/java/com/twilio/rest/preview/sync/service/synclist/SyncListPermission.java
SyncListPermission.fetcher
public static SyncListPermissionFetcher fetcher(final String pathServiceSid, final String pathListSid, final String pathIdentity) { return new SyncListPermissionFetcher(pathServiceSid, pathListSid, pathIden...
java
public static SyncListPermissionFetcher fetcher(final String pathServiceSid, final String pathListSid, final String pathIdentity) { return new SyncListPermissionFetcher(pathServiceSid, pathListSid, pathIden...
[ "public", "static", "SyncListPermissionFetcher", "fetcher", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathListSid", ",", "final", "String", "pathIdentity", ")", "{", "return", "new", "SyncListPermissionFetcher", "(", "pathServiceSid", ",", "pa...
Create a SyncListPermissionFetcher to execute fetch. @param pathServiceSid The service_sid @param pathListSid Sync List SID or unique name. @param pathIdentity Identity of the user to whom the Sync List Permission applies. @return SyncListPermissionFetcher capable of executing the fetch
[ "Create", "a", "SyncListPermissionFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/preview/sync/service/synclist/SyncListPermission.java#L51-L55
120,619
twilio/twilio-java
src/main/java/com/twilio/rest/preview/sync/service/synclist/SyncListPermission.java
SyncListPermission.deleter
public static SyncListPermissionDeleter deleter(final String pathServiceSid, final String pathListSid, final String pathIdentity) { return new SyncListPermissionDeleter(pathServiceSid, pathListSid, pathIden...
java
public static SyncListPermissionDeleter deleter(final String pathServiceSid, final String pathListSid, final String pathIdentity) { return new SyncListPermissionDeleter(pathServiceSid, pathListSid, pathIden...
[ "public", "static", "SyncListPermissionDeleter", "deleter", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathListSid", ",", "final", "String", "pathIdentity", ")", "{", "return", "new", "SyncListPermissionDeleter", "(", "pathServiceSid", ",", "pa...
Create a SyncListPermissionDeleter to execute delete. @param pathServiceSid The service_sid @param pathListSid Sync List SID or unique name. @param pathIdentity Identity of the user to whom the Sync List Permission applies. @return SyncListPermissionDeleter capable of executing the delete
[ "Create", "a", "SyncListPermissionDeleter", "to", "execute", "delete", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/preview/sync/service/synclist/SyncListPermission.java#L66-L70
120,620
twilio/twilio-java
src/main/java/com/twilio/rest/preview/sync/service/synclist/SyncListPermission.java
SyncListPermission.updater
public static SyncListPermissionUpdater updater(final String pathServiceSid, final String pathListSid, final String pathIdentity, final Boolean read, ...
java
public static SyncListPermissionUpdater updater(final String pathServiceSid, final String pathListSid, final String pathIdentity, final Boolean read, ...
[ "public", "static", "SyncListPermissionUpdater", "updater", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathListSid", ",", "final", "String", "pathIdentity", ",", "final", "Boolean", "read", ",", "final", "Boolean", "write", ",", "final", "B...
Create a SyncListPermissionUpdater to execute update. @param pathServiceSid Sync Service Instance SID. @param pathListSid Sync List SID or unique name. @param pathIdentity Identity of the user to whom the Sync List Permission applies. @param read Read access. @param write Write access. @param manage Manage access. @re...
[ "Create", "a", "SyncListPermissionUpdater", "to", "execute", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/preview/sync/service/synclist/SyncListPermission.java#L96-L103
120,621
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/recording/AddOnResult.java
AddOnResult.fetcher
public static AddOnResultFetcher fetcher(final String pathAccountSid, final String pathReferenceSid, final String pathSid) { return new AddOnResultFetcher(pathAccountSid, pathReferenceSid, pathSid); }
java
public static AddOnResultFetcher fetcher(final String pathAccountSid, final String pathReferenceSid, final String pathSid) { return new AddOnResultFetcher(pathAccountSid, pathReferenceSid, pathSid); }
[ "public", "static", "AddOnResultFetcher", "fetcher", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathReferenceSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "AddOnResultFetcher", "(", "pathAccountSid", ",", "pathReferenceSid...
Create a AddOnResultFetcher to execute fetch. @param pathAccountSid The SID of the Account that created the resource to fetch @param pathReferenceSid The SID of the recording to which the result to fetch belongs @param pathSid The unique string that identifies the resource to fetch @return AddOnResultFetcher capable o...
[ "Create", "a", "AddOnResultFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/recording/AddOnResult.java#L80-L84
120,622
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/recording/AddOnResult.java
AddOnResult.deleter
public static AddOnResultDeleter deleter(final String pathAccountSid, final String pathReferenceSid, final String pathSid) { return new AddOnResultDeleter(pathAccountSid, pathReferenceSid, pathSid); }
java
public static AddOnResultDeleter deleter(final String pathAccountSid, final String pathReferenceSid, final String pathSid) { return new AddOnResultDeleter(pathAccountSid, pathReferenceSid, pathSid); }
[ "public", "static", "AddOnResultDeleter", "deleter", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathReferenceSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "AddOnResultDeleter", "(", "pathAccountSid", ",", "pathReferenceSid...
Create a AddOnResultDeleter to execute delete. @param pathAccountSid The SID of the Account that created the resources to delete @param pathReferenceSid The SID of the recording to which the result to delete belongs @param pathSid The unique string that identifies the resource to delete @return AddOnResultDeleter capa...
[ "Create", "a", "AddOnResultDeleter", "to", "execute", "delete", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/recording/AddOnResult.java#L134-L138
120,623
twilio/twilio-java
src/main/java/com/twilio/taskrouter/Workflow.java
Workflow.fromJson
public static Workflow fromJson(String json) throws IOException { ObjectMapper mapper = new ObjectMapper(); return mapper.readValue(json, Workflow.class); }
java
public static Workflow fromJson(String json) throws IOException { ObjectMapper mapper = new ObjectMapper(); return mapper.readValue(json, Workflow.class); }
[ "public", "static", "Workflow", "fromJson", "(", "String", "json", ")", "throws", "IOException", "{", "ObjectMapper", "mapper", "=", "new", "ObjectMapper", "(", ")", ";", "return", "mapper", ".", "readValue", "(", "json", ",", "Workflow", ".", "class", ")", ...
Converts a JSON workflow configuration to a workflow object. @param json JSON for workflow @return a workflow rule target object @throws IOException if unable to create object
[ "Converts", "a", "JSON", "workflow", "configuration", "to", "a", "workflow", "object", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/taskrouter/Workflow.java#L68-L71
120,624
twilio/twilio-java
src/main/java/com/twilio/taskrouter/WorkflowRuleTarget.java
WorkflowRuleTarget.fromJson
public static WorkflowRuleTarget fromJson(String json) throws IOException { ObjectMapper mapper = new ObjectMapper(); return mapper.readValue(json, WorkflowRuleTarget.class); }
java
public static WorkflowRuleTarget fromJson(String json) throws IOException { ObjectMapper mapper = new ObjectMapper(); return mapper.readValue(json, WorkflowRuleTarget.class); }
[ "public", "static", "WorkflowRuleTarget", "fromJson", "(", "String", "json", ")", "throws", "IOException", "{", "ObjectMapper", "mapper", "=", "new", "ObjectMapper", "(", ")", ";", "return", "mapper", ".", "readValue", "(", "json", ",", "WorkflowRuleTarget", "."...
Converts a JSON workflow configuration to a workflow configuration object. @param json JSON for workflow rule target @return a workflow rule target object @throws IOException if unable to create object
[ "Converts", "a", "JSON", "workflow", "configuration", "to", "a", "workflow", "configuration", "object", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/taskrouter/WorkflowRuleTarget.java#L103-L106
120,625
twilio/twilio-java
src/main/java/com/twilio/http/Response.java
Response.getContent
public String getContent() { if (content != null) { return content; } if (stream != null) { Scanner scanner = new Scanner(stream, "UTF-8").useDelimiter("\\A"); if (!scanner.hasNext()) { return ""; } String data = scan...
java
public String getContent() { if (content != null) { return content; } if (stream != null) { Scanner scanner = new Scanner(stream, "UTF-8").useDelimiter("\\A"); if (!scanner.hasNext()) { return ""; } String data = scan...
[ "public", "String", "getContent", "(", ")", "{", "if", "(", "content", "!=", "null", ")", "{", "return", "content", ";", "}", "if", "(", "stream", "!=", "null", ")", "{", "Scanner", "scanner", "=", "new", "Scanner", "(", "stream", ",", "\"UTF-8\"", "...
Get the the content of the response. <p> If there is a content string, that will be returned. Otherwise, will get content from input stream </p> @return the content string
[ "Get", "the", "the", "content", "of", "the", "response", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/http/Response.java#L51-L70
120,626
twilio/twilio-java
src/main/java/com/twilio/http/Response.java
Response.getStream
public InputStream getStream() { if (stream != null) { return stream; } try { return new ByteArrayInputStream(content.getBytes("utf-8")); } catch (final UnsupportedEncodingException e) { throw new ApiException("UTF-8 encoding not supported", e); ...
java
public InputStream getStream() { if (stream != null) { return stream; } try { return new ByteArrayInputStream(content.getBytes("utf-8")); } catch (final UnsupportedEncodingException e) { throw new ApiException("UTF-8 encoding not supported", e); ...
[ "public", "InputStream", "getStream", "(", ")", "{", "if", "(", "stream", "!=", "null", ")", "{", "return", "stream", ";", "}", "try", "{", "return", "new", "ByteArrayInputStream", "(", "content", ".", "getBytes", "(", "\"utf-8\"", ")", ")", ";", "}", ...
Get response data as stream. @return the response data as a stream
[ "Get", "response", "data", "as", "stream", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/http/Response.java#L77-L86
120,627
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/ValidationRequest.java
ValidationRequest.creator
public static ValidationRequestCreator creator(final String pathAccountSid, final com.twilio.type.PhoneNumber phoneNumber) { return new ValidationRequestCreator(pathAccountSid, phoneNumber); }
java
public static ValidationRequestCreator creator(final String pathAccountSid, final com.twilio.type.PhoneNumber phoneNumber) { return new ValidationRequestCreator(pathAccountSid, phoneNumber); }
[ "public", "static", "ValidationRequestCreator", "creator", "(", "final", "String", "pathAccountSid", ",", "final", "com", ".", "twilio", ".", "type", ".", "PhoneNumber", "phoneNumber", ")", "{", "return", "new", "ValidationRequestCreator", "(", "pathAccountSid", ","...
Create a ValidationRequestCreator to execute create. @param pathAccountSid The SID of the Account responsible for the new Caller ID @param phoneNumber The phone number to verify in E.164 format @return ValidationRequestCreator capable of executing the create
[ "Create", "a", "ValidationRequestCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/ValidationRequest.java#L44-L47
120,628
twilio/twilio-java
src/main/java/com/twilio/rest/trunking/v1/trunk/OriginationUrl.java
OriginationUrl.creator
public static OriginationUrlCreator creator(final String pathTrunkSid, final Integer weight, final Integer priority, final Boolean enabled, ...
java
public static OriginationUrlCreator creator(final String pathTrunkSid, final Integer weight, final Integer priority, final Boolean enabled, ...
[ "public", "static", "OriginationUrlCreator", "creator", "(", "final", "String", "pathTrunkSid", ",", "final", "Integer", "weight", ",", "final", "Integer", "priority", ",", "final", "Boolean", "enabled", ",", "final", "String", "friendlyName", ",", "final", "URI",...
Create a OriginationUrlCreator to execute create. @param pathTrunkSid The SID of the Trunk to associate the resource with @param weight The value that determines the relative load the URI should receive compared to others with the same priority @param priority The relative importance of the URI @param enabled Whether ...
[ "Create", "a", "OriginationUrlCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/trunking/v1/trunk/OriginationUrl.java#L78-L85
120,629
twilio/twilio-java
src/main/java/com/twilio/jwt/taskrouter/PolicyUtils.java
PolicyUtils.defaultWorkerPolicies
public static List<Policy> defaultWorkerPolicies(String workspaceSid, String workerSid) { Policy activities = new Policy.Builder() .url(UrlUtils.activities(workspaceSid)) .method(HttpMethod.GET) .allowed(true) .build(); Policy tasks = new Policy.Builder()...
java
public static List<Policy> defaultWorkerPolicies(String workspaceSid, String workerSid) { Policy activities = new Policy.Builder() .url(UrlUtils.activities(workspaceSid)) .method(HttpMethod.GET) .allowed(true) .build(); Policy tasks = new Policy.Builder()...
[ "public", "static", "List", "<", "Policy", ">", "defaultWorkerPolicies", "(", "String", "workspaceSid", ",", "String", "workerSid", ")", "{", "Policy", "activities", "=", "new", "Policy", ".", "Builder", "(", ")", ".", "url", "(", "UrlUtils", ".", "activitie...
Build the default Polices for a Worker. @param workspaceSid Workspace sid of the worker @param workerSid Worker sid @return generated Policies
[ "Build", "the", "default", "Polices", "for", "a", "Worker", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/jwt/taskrouter/PolicyUtils.java#L22-L48
120,630
twilio/twilio-java
src/main/java/com/twilio/jwt/taskrouter/PolicyUtils.java
PolicyUtils.defaultEventBridgePolicies
public static List<Policy> defaultEventBridgePolicies(String accountSid, String channelId) { String url = Joiner.on('/').join(TASKROUTER_EVENT_URL, accountSid, channelId); Policy get = new Policy.Builder().url(url).method(HttpMethod.GET).allowed(true).build(); Policy post = new Policy.Builder()...
java
public static List<Policy> defaultEventBridgePolicies(String accountSid, String channelId) { String url = Joiner.on('/').join(TASKROUTER_EVENT_URL, accountSid, channelId); Policy get = new Policy.Builder().url(url).method(HttpMethod.GET).allowed(true).build(); Policy post = new Policy.Builder()...
[ "public", "static", "List", "<", "Policy", ">", "defaultEventBridgePolicies", "(", "String", "accountSid", ",", "String", "channelId", ")", "{", "String", "url", "=", "Joiner", ".", "on", "(", "'", "'", ")", ".", "join", "(", "TASKROUTER_EVENT_URL", ",", "...
Build the default Event Bridge Policies. @param accountSid account sid @param channelId channel id @return generated Policies
[ "Build", "the", "default", "Event", "Bridge", "Policies", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/jwt/taskrouter/PolicyUtils.java#L57-L64
120,631
twilio/twilio-java
src/main/java/com/twilio/converter/Converter.java
Converter.mapToJson
public static String mapToJson(final Map<String, Object> map) { try { return MAPPER.writeValueAsString(map); } catch (JsonProcessingException e) { return null; } }
java
public static String mapToJson(final Map<String, Object> map) { try { return MAPPER.writeValueAsString(map); } catch (JsonProcessingException e) { return null; } }
[ "public", "static", "String", "mapToJson", "(", "final", "Map", "<", "String", ",", "Object", ">", "map", ")", "{", "try", "{", "return", "MAPPER", ".", "writeValueAsString", "(", "map", ")", ";", "}", "catch", "(", "JsonProcessingException", "e", ")", "...
Convert a map to a JSON String. @param map map to convert @return converted JSON string
[ "Convert", "a", "map", "to", "a", "JSON", "String", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/converter/Converter.java#L19-L25
120,632
twilio/twilio-java
src/main/java/com/twilio/rest/studio/v1/flow/execution/executionstep/ExecutionStepContextFetcher.java
ExecutionStepContextFetcher.fetch
@Override @SuppressWarnings("checkstyle:linelength") public ExecutionStepContext fetch(final TwilioRestClient client) { Request request = new Request( HttpMethod.GET, Domains.STUDIO.toString(), "/v1/Flows/" + this.pathFlowSid + "/Executions/" + this.pathExecutionSid +...
java
@Override @SuppressWarnings("checkstyle:linelength") public ExecutionStepContext fetch(final TwilioRestClient client) { Request request = new Request( HttpMethod.GET, Domains.STUDIO.toString(), "/v1/Flows/" + this.pathFlowSid + "/Executions/" + this.pathExecutionSid +...
[ "@", "Override", "@", "SuppressWarnings", "(", "\"checkstyle:linelength\"", ")", "public", "ExecutionStepContext", "fetch", "(", "final", "TwilioRestClient", "client", ")", "{", "Request", "request", "=", "new", "Request", "(", "HttpMethod", ".", "GET", ",", "Doma...
Make the request to the Twilio API to perform the fetch. @param client TwilioRestClient with which to make the request @return Fetched ExecutionStepContext
[ "Make", "the", "request", "to", "the", "Twilio", "API", "to", "perform", "the", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/studio/v1/flow/execution/executionstep/ExecutionStepContextFetcher.java#L46-L76
120,633
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/usage/Trigger.java
Trigger.creator
public static TriggerCreator creator(final String pathAccountSid, final URI callbackUrl, final String triggerValue, final Trigger.UsageCategory usageCategory) { return new TriggerCreator...
java
public static TriggerCreator creator(final String pathAccountSid, final URI callbackUrl, final String triggerValue, final Trigger.UsageCategory usageCategory) { return new TriggerCreator...
[ "public", "static", "TriggerCreator", "creator", "(", "final", "String", "pathAccountSid", ",", "final", "URI", "callbackUrl", ",", "final", "String", "triggerValue", ",", "final", "Trigger", ".", "UsageCategory", "usageCategory", ")", "{", "return", "new", "Trigg...
Create a TriggerCreator to execute create. @param pathAccountSid The SID of the Account that will create the resource @param callbackUrl The URL we call when the trigger fires @param triggerValue The usage value at which the trigger should fire @param usageCategory The usage category the trigger watches @return Trigge...
[ "Create", "a", "TriggerCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/usage/Trigger.java#L433-L438
120,634
twilio/twilio-java
src/main/java/com/twilio/rest/serverless/v1/service/Function.java
Function.updater
public static FunctionUpdater updater(final String pathServiceSid, final String pathSid, final String friendlyName) { return new FunctionUpdater(pathServiceSid, pathSid, friendlyName); }
java
public static FunctionUpdater updater(final String pathServiceSid, final String pathSid, final String friendlyName) { return new FunctionUpdater(pathServiceSid, pathSid, friendlyName); }
[ "public", "static", "FunctionUpdater", "updater", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathSid", ",", "final", "String", "friendlyName", ")", "{", "return", "new", "FunctionUpdater", "(", "pathServiceSid", ",", "pathSid", ",", "friend...
Create a FunctionUpdater to execute update. @param pathServiceSid The service_sid @param pathSid The sid @param friendlyName The friendly_name @return FunctionUpdater capable of executing the update
[ "Create", "a", "FunctionUpdater", "to", "execute", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/serverless/v1/service/Function.java#L86-L90
120,635
twilio/twilio-java
src/main/java/com/twilio/rest/proxy/v1/service/SessionCreator.java
SessionCreator.setParticipants
public SessionCreator setParticipants(final Map<String, Object> participants) { return setParticipants(Promoter.listOfOne(participants)); }
java
public SessionCreator setParticipants(final Map<String, Object> participants) { return setParticipants(Promoter.listOfOne(participants)); }
[ "public", "SessionCreator", "setParticipants", "(", "final", "Map", "<", "String", ",", "Object", ">", "participants", ")", "{", "return", "setParticipants", "(", "Promoter", ".", "listOfOne", "(", "participants", ")", ")", ";", "}" ]
The Participant objects to include in the new session.. @param participants The Participant objects to include in the new session @return this
[ "The", "Participant", "objects", "to", "include", "in", "the", "new", "session", ".." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/proxy/v1/service/SessionCreator.java#L128-L130
120,636
twilio/twilio-java
src/main/java/com/twilio/rest/authy/v1/service/entity/Factor.java
Factor.creator
public static FactorCreator creator(final String pathServiceSid, final String pathIdentity, final String binding, final String friendlyName, final Factor.Fa...
java
public static FactorCreator creator(final String pathServiceSid, final String pathIdentity, final String binding, final String friendlyName, final Factor.Fa...
[ "public", "static", "FactorCreator", "creator", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathIdentity", ",", "final", "String", "binding", ",", "final", "String", "friendlyName", ",", "final", "Factor", ".", "FactorTypes", "factorType", "...
Create a FactorCreator to execute create. @param pathServiceSid Service Sid. @param pathIdentity Unique identity of the Entity @param binding A unique binding for this Factor @param friendlyName The friendly name of this Factor @param factorType The Type of this Factor @return FactorCreator capable of executing the cr...
[ "Create", "a", "FactorCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/authy/v1/service/entity/Factor.java#L135-L141
120,637
twilio/twilio-java
src/main/java/com/twilio/rest/authy/v1/service/entity/Factor.java
Factor.deleter
public static FactorDeleter deleter(final String pathServiceSid, final String pathIdentity, final String pathSid) { return new FactorDeleter(pathServiceSid, pathIdentity, pathSid); }
java
public static FactorDeleter deleter(final String pathServiceSid, final String pathIdentity, final String pathSid) { return new FactorDeleter(pathServiceSid, pathIdentity, pathSid); }
[ "public", "static", "FactorDeleter", "deleter", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathIdentity", ",", "final", "String", "pathSid", ")", "{", "return", "new", "FactorDeleter", "(", "pathServiceSid", ",", "pathIdentity", ",", "pathS...
Create a FactorDeleter to execute delete. @param pathServiceSid Service Sid. @param pathIdentity Unique identity of the Entity @param pathSid A string that uniquely identifies this Factor. @return FactorDeleter capable of executing the delete
[ "Create", "a", "FactorDeleter", "to", "execute", "delete", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/authy/v1/service/entity/Factor.java#L151-L155
120,638
twilio/twilio-java
src/main/java/com/twilio/rest/authy/v1/service/entity/Factor.java
Factor.fetcher
public static FactorFetcher fetcher(final String pathServiceSid, final String pathIdentity, final String pathSid) { return new FactorFetcher(pathServiceSid, pathIdentity, pathSid); }
java
public static FactorFetcher fetcher(final String pathServiceSid, final String pathIdentity, final String pathSid) { return new FactorFetcher(pathServiceSid, pathIdentity, pathSid); }
[ "public", "static", "FactorFetcher", "fetcher", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathIdentity", ",", "final", "String", "pathSid", ")", "{", "return", "new", "FactorFetcher", "(", "pathServiceSid", ",", "pathIdentity", ",", "pathS...
Create a FactorFetcher to execute fetch. @param pathServiceSid Service Sid. @param pathIdentity Unique identity of the Entity @param pathSid A string that uniquely identifies this Factor. @return FactorFetcher capable of executing the fetch
[ "Create", "a", "FactorFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/authy/v1/service/entity/Factor.java#L165-L169
120,639
twilio/twilio-java
src/main/java/com/twilio/rest/authy/v1/service/entity/Factor.java
Factor.updater
public static FactorUpdater updater(final String pathServiceSid, final String pathIdentity, final String pathSid) { return new FactorUpdater(pathServiceSid, pathIdentity, pathSid); }
java
public static FactorUpdater updater(final String pathServiceSid, final String pathIdentity, final String pathSid) { return new FactorUpdater(pathServiceSid, pathIdentity, pathSid); }
[ "public", "static", "FactorUpdater", "updater", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathIdentity", ",", "final", "String", "pathSid", ")", "{", "return", "new", "FactorUpdater", "(", "pathServiceSid", ",", "pathIdentity", ",", "pathS...
Create a FactorUpdater to execute update. @param pathServiceSid Service Sid. @param pathIdentity Unique identity of the Entity @param pathSid A string that uniquely identifies this Factor. @return FactorUpdater capable of executing the update
[ "Create", "a", "FactorUpdater", "to", "execute", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/authy/v1/service/entity/Factor.java#L191-L195
120,640
twilio/twilio-java
src/main/java/com/twilio/rest/preview/sync/service/syncmap/SyncMapPermission.java
SyncMapPermission.fetcher
public static SyncMapPermissionFetcher fetcher(final String pathServiceSid, final String pathMapSid, final String pathIdentity) { return new SyncMapPermissionFetcher(pathServiceSid, pathMapSid, pathIdentity);...
java
public static SyncMapPermissionFetcher fetcher(final String pathServiceSid, final String pathMapSid, final String pathIdentity) { return new SyncMapPermissionFetcher(pathServiceSid, pathMapSid, pathIdentity);...
[ "public", "static", "SyncMapPermissionFetcher", "fetcher", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathMapSid", ",", "final", "String", "pathIdentity", ")", "{", "return", "new", "SyncMapPermissionFetcher", "(", "pathServiceSid", ",", "pathM...
Create a SyncMapPermissionFetcher to execute fetch. @param pathServiceSid The service_sid @param pathMapSid Sync Map SID or unique name. @param pathIdentity Identity of the user to whom the Sync Map Permission applies. @return SyncMapPermissionFetcher capable of executing the fetch
[ "Create", "a", "SyncMapPermissionFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/preview/sync/service/syncmap/SyncMapPermission.java#L51-L55
120,641
twilio/twilio-java
src/main/java/com/twilio/rest/preview/sync/service/syncmap/SyncMapPermission.java
SyncMapPermission.deleter
public static SyncMapPermissionDeleter deleter(final String pathServiceSid, final String pathMapSid, final String pathIdentity) { return new SyncMapPermissionDeleter(pathServiceSid, pathMapSid, pathIdentity);...
java
public static SyncMapPermissionDeleter deleter(final String pathServiceSid, final String pathMapSid, final String pathIdentity) { return new SyncMapPermissionDeleter(pathServiceSid, pathMapSid, pathIdentity);...
[ "public", "static", "SyncMapPermissionDeleter", "deleter", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathMapSid", ",", "final", "String", "pathIdentity", ")", "{", "return", "new", "SyncMapPermissionDeleter", "(", "pathServiceSid", ",", "pathM...
Create a SyncMapPermissionDeleter to execute delete. @param pathServiceSid The service_sid @param pathMapSid Sync Map SID or unique name. @param pathIdentity Identity of the user to whom the Sync Map Permission applies. @return SyncMapPermissionDeleter capable of executing the delete
[ "Create", "a", "SyncMapPermissionDeleter", "to", "execute", "delete", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/preview/sync/service/syncmap/SyncMapPermission.java#L66-L70
120,642
twilio/twilio-java
src/main/java/com/twilio/rest/preview/sync/service/syncmap/SyncMapPermission.java
SyncMapPermission.updater
public static SyncMapPermissionUpdater updater(final String pathServiceSid, final String pathMapSid, final String pathIdentity, final Boolean read, ...
java
public static SyncMapPermissionUpdater updater(final String pathServiceSid, final String pathMapSid, final String pathIdentity, final Boolean read, ...
[ "public", "static", "SyncMapPermissionUpdater", "updater", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathMapSid", ",", "final", "String", "pathIdentity", ",", "final", "Boolean", "read", ",", "final", "Boolean", "write", ",", "final", "Boo...
Create a SyncMapPermissionUpdater to execute update. @param pathServiceSid Sync Service Instance SID. @param pathMapSid Sync Map SID or unique name. @param pathIdentity Identity of the user to whom the Sync Map Permission applies. @param read Read access. @param write Write access. @param manage Manage access. @return...
[ "Create", "a", "SyncMapPermissionUpdater", "to", "execute", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/preview/sync/service/syncmap/SyncMapPermission.java#L96-L103
120,643
twilio/twilio-java
src/main/java/com/twilio/rest/autopilot/v1/assistant/Query.java
Query.creator
public static QueryCreator creator(final String pathAssistantSid, final String language, final String query) { return new QueryCreator(pathAssistantSid, language, query); }
java
public static QueryCreator creator(final String pathAssistantSid, final String language, final String query) { return new QueryCreator(pathAssistantSid, language, query); }
[ "public", "static", "QueryCreator", "creator", "(", "final", "String", "pathAssistantSid", ",", "final", "String", "language", ",", "final", "String", "query", ")", "{", "return", "new", "QueryCreator", "(", "pathAssistantSid", ",", "language", ",", "query", ")"...
Create a QueryCreator to execute create. @param pathAssistantSid The SID of the Assistant that is the parent of the new resource @param language The ISO language-country string that specifies the language used for the new query @param query The end-user's natural language input @return QueryCreator capable of executin...
[ "Create", "a", "QueryCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/autopilot/v1/assistant/Query.java#L79-L83
120,644
twilio/twilio-java
src/main/java/com/twilio/rest/sync/v1/service/syncmap/SyncMapItem.java
SyncMapItem.fetcher
public static SyncMapItemFetcher fetcher(final String pathServiceSid, final String pathMapSid, final String pathKey) { return new SyncMapItemFetcher(pathServiceSid, pathMapSid, pathKey); }
java
public static SyncMapItemFetcher fetcher(final String pathServiceSid, final String pathMapSid, final String pathKey) { return new SyncMapItemFetcher(pathServiceSid, pathMapSid, pathKey); }
[ "public", "static", "SyncMapItemFetcher", "fetcher", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathMapSid", ",", "final", "String", "pathKey", ")", "{", "return", "new", "SyncMapItemFetcher", "(", "pathServiceSid", ",", "pathMapSid", ",", ...
Create a SyncMapItemFetcher to execute fetch. @param pathServiceSid The service_sid @param pathMapSid The map_sid @param pathKey The key @return SyncMapItemFetcher capable of executing the fetch
[ "Create", "a", "SyncMapItemFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/sync/v1/service/syncmap/SyncMapItem.java#L103-L107
120,645
twilio/twilio-java
src/main/java/com/twilio/rest/sync/v1/service/syncmap/SyncMapItem.java
SyncMapItem.deleter
public static SyncMapItemDeleter deleter(final String pathServiceSid, final String pathMapSid, final String pathKey) { return new SyncMapItemDeleter(pathServiceSid, pathMapSid, pathKey); }
java
public static SyncMapItemDeleter deleter(final String pathServiceSid, final String pathMapSid, final String pathKey) { return new SyncMapItemDeleter(pathServiceSid, pathMapSid, pathKey); }
[ "public", "static", "SyncMapItemDeleter", "deleter", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathMapSid", ",", "final", "String", "pathKey", ")", "{", "return", "new", "SyncMapItemDeleter", "(", "pathServiceSid", ",", "pathMapSid", ",", ...
Create a SyncMapItemDeleter to execute delete. @param pathServiceSid The service_sid @param pathMapSid The map_sid @param pathKey The key @return SyncMapItemDeleter capable of executing the delete
[ "Create", "a", "SyncMapItemDeleter", "to", "execute", "delete", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/sync/v1/service/syncmap/SyncMapItem.java#L117-L121
120,646
twilio/twilio-java
src/main/java/com/twilio/rest/sync/v1/service/syncmap/SyncMapItem.java
SyncMapItem.creator
public static SyncMapItemCreator creator(final String pathServiceSid, final String pathMapSid, final String key, final Map<String, Object> data) { return new SyncMapItemCreat...
java
public static SyncMapItemCreator creator(final String pathServiceSid, final String pathMapSid, final String key, final Map<String, Object> data) { return new SyncMapItemCreat...
[ "public", "static", "SyncMapItemCreator", "creator", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathMapSid", ",", "final", "String", "key", ",", "final", "Map", "<", "String", ",", "Object", ">", "data", ")", "{", "return", "new", "Sy...
Create a SyncMapItemCreator to execute create. @param pathServiceSid The service_sid @param pathMapSid The map_sid @param key The unique user-defined key of this Map Item. @param data Contains arbitrary user-defined, schema-less data that this Map Item stores, represented by a JSON object, up to 16KB. @return SyncMapI...
[ "Create", "a", "SyncMapItemCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/sync/v1/service/syncmap/SyncMapItem.java#L133-L138
120,647
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/message/Media.java
Media.deleter
public static MediaDeleter deleter(final String pathAccountSid, final String pathMessageSid, final String pathSid) { return new MediaDeleter(pathAccountSid, pathMessageSid, pathSid); }
java
public static MediaDeleter deleter(final String pathAccountSid, final String pathMessageSid, final String pathSid) { return new MediaDeleter(pathAccountSid, pathMessageSid, pathSid); }
[ "public", "static", "MediaDeleter", "deleter", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathMessageSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "MediaDeleter", "(", "pathAccountSid", ",", "pathMessageSid", ",", "pat...
Create a MediaDeleter to execute delete. @param pathAccountSid The SID of the Account that created the resource(s) to delete @param pathMessageSid The SID of the Message resource that this Media resource belongs to @param pathSid The unique string that identifies this resource @return MediaDeleter capable of executing...
[ "Create", "a", "MediaDeleter", "to", "execute", "delete", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/message/Media.java#L48-L52
120,648
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/message/Media.java
Media.fetcher
public static MediaFetcher fetcher(final String pathAccountSid, final String pathMessageSid, final String pathSid) { return new MediaFetcher(pathAccountSid, pathMessageSid, pathSid); }
java
public static MediaFetcher fetcher(final String pathAccountSid, final String pathMessageSid, final String pathSid) { return new MediaFetcher(pathAccountSid, pathMessageSid, pathSid); }
[ "public", "static", "MediaFetcher", "fetcher", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathMessageSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "MediaFetcher", "(", "pathAccountSid", ",", "pathMessageSid", ",", "pat...
Create a MediaFetcher to execute fetch. @param pathAccountSid The SID of the Account that created the resource(s) to fetch @param pathMessageSid The SID of the Message resource that this Media resource belongs to @param pathSid The unique string that identifies this resource @return MediaFetcher capable of executing t...
[ "Create", "a", "MediaFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/message/Media.java#L77-L81
120,649
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/sip/credentiallist/Credential.java
Credential.creator
public static CredentialCreator creator(final String pathAccountSid, final String pathCredentialListSid, final String username, final String password) { return new CredentialCre...
java
public static CredentialCreator creator(final String pathAccountSid, final String pathCredentialListSid, final String username, final String password) { return new CredentialCre...
[ "public", "static", "CredentialCreator", "creator", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathCredentialListSid", ",", "final", "String", "username", ",", "final", "String", "password", ")", "{", "return", "new", "CredentialCreator", "("...
Create a CredentialCreator to execute create. @param pathAccountSid The unique id of the Account that is responsible for this resource. @param pathCredentialListSid The unique id that identifies the credential list to include the created credential @param username The username for this credential. @param password The ...
[ "Create", "a", "CredentialCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/sip/credentiallist/Credential.java#L74-L79
120,650
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/sip/credentiallist/Credential.java
Credential.fetcher
public static CredentialFetcher fetcher(final String pathAccountSid, final String pathCredentialListSid, final String pathSid) { return new CredentialFetcher(pathAccountSid, pathCredentialListSid, pathSid); }
java
public static CredentialFetcher fetcher(final String pathAccountSid, final String pathCredentialListSid, final String pathSid) { return new CredentialFetcher(pathAccountSid, pathCredentialListSid, pathSid); }
[ "public", "static", "CredentialFetcher", "fetcher", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathCredentialListSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "CredentialFetcher", "(", "pathAccountSid", ",", "pathCredentia...
Create a CredentialFetcher to execute fetch. @param pathAccountSid The unique id of the Account that is responsible for this resource. @param pathCredentialListSid The unique id that identifies the credential list that contains the desired credential @param pathSid The unique id that identifies the resource to fetch. ...
[ "Create", "a", "CredentialFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/sip/credentiallist/Credential.java#L106-L110
120,651
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/sip/credentiallist/Credential.java
Credential.updater
public static CredentialUpdater updater(final String pathAccountSid, final String pathCredentialListSid, final String pathSid) { return new CredentialUpdater(pathAccountSid, pathCredentialListSid, pathSid); }
java
public static CredentialUpdater updater(final String pathAccountSid, final String pathCredentialListSid, final String pathSid) { return new CredentialUpdater(pathAccountSid, pathCredentialListSid, pathSid); }
[ "public", "static", "CredentialUpdater", "updater", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathCredentialListSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "CredentialUpdater", "(", "pathAccountSid", ",", "pathCredentia...
Create a CredentialUpdater to execute update. @param pathAccountSid The unique id of the Account that is responsible for this resource @param pathCredentialListSid The unique id that identifies the credential list that includes this credential @param pathSid The unique id that identifies the resource to update @return...
[ "Create", "a", "CredentialUpdater", "to", "execute", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/sip/credentiallist/Credential.java#L135-L139
120,652
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/sip/credentiallist/Credential.java
Credential.deleter
public static CredentialDeleter deleter(final String pathAccountSid, final String pathCredentialListSid, final String pathSid) { return new CredentialDeleter(pathAccountSid, pathCredentialListSid, pathSid); }
java
public static CredentialDeleter deleter(final String pathAccountSid, final String pathCredentialListSid, final String pathSid) { return new CredentialDeleter(pathAccountSid, pathCredentialListSid, pathSid); }
[ "public", "static", "CredentialDeleter", "deleter", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathCredentialListSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "CredentialDeleter", "(", "pathAccountSid", ",", "pathCredentia...
Create a CredentialDeleter to execute delete. @param pathAccountSid The unique id of the Account that is responsible for this resource. @param pathCredentialListSid The unique id that identifies the credential list that contains the desired credentials @param pathSid The unique id that identifies the resource to delet...
[ "Create", "a", "CredentialDeleter", "to", "execute", "delete", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/sip/credentiallist/Credential.java#L164-L168
120,653
twilio/twilio-java
src/main/java/com/twilio/jwt/validation/ValidationToken.java
ValidationToken.fromHttpRequest
public static ValidationToken fromHttpRequest( String accountSid, String credentialSid, String signingKeySid, PrivateKey privateKey, HttpRequest request, List<String> signedHeaders ) throws IOException { Builder builder = new Builder(accountSid, credentialSid,...
java
public static ValidationToken fromHttpRequest( String accountSid, String credentialSid, String signingKeySid, PrivateKey privateKey, HttpRequest request, List<String> signedHeaders ) throws IOException { Builder builder = new Builder(accountSid, credentialSid,...
[ "public", "static", "ValidationToken", "fromHttpRequest", "(", "String", "accountSid", ",", "String", "credentialSid", ",", "String", "signingKeySid", ",", "PrivateKey", "privateKey", ",", "HttpRequest", "request", ",", "List", "<", "String", ">", "signedHeaders", "...
Create a ValidationToken from an HTTP Request. @param accountSid Twilio Account SID @param credentialSid Twilio Credential SID @param signingKeySid Twilio Signing Key SID @param privateKey Private Key @param request HTTP Request @param signedHeaders Headers to sign @throws IOException when unable to generate @r...
[ "Create", "a", "ValidationToken", "from", "an", "HTTP", "Request", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/jwt/validation/ValidationToken.java#L102-L139
120,654
twilio/twilio-java
src/main/java/com/twilio/http/TwilioRestClient.java
TwilioRestClient.request
public Response request(final Request request) { request.setAuth(username, password); return httpClient.reliableRequest(request); }
java
public Response request(final Request request) { request.setAuth(username, password); return httpClient.reliableRequest(request); }
[ "public", "Response", "request", "(", "final", "Request", "request", ")", "{", "request", ".", "setAuth", "(", "username", ",", "password", ")", ";", "return", "httpClient", ".", "reliableRequest", "(", "request", ")", ";", "}" ]
Make a request to Twilio. @param request request to make @return Response object
[ "Make", "a", "request", "to", "Twilio", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/http/TwilioRestClient.java#L40-L43
120,655
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/sip/domain/CredentialListMapping.java
CredentialListMapping.creator
public static CredentialListMappingCreator creator(final String pathAccountSid, final String pathDomainSid, final String credentialListSid) { return new CredentialListMappingCreator(pathAccountSid, pa...
java
public static CredentialListMappingCreator creator(final String pathAccountSid, final String pathDomainSid, final String credentialListSid) { return new CredentialListMappingCreator(pathAccountSid, pa...
[ "public", "static", "CredentialListMappingCreator", "creator", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathDomainSid", ",", "final", "String", "credentialListSid", ")", "{", "return", "new", "CredentialListMappingCreator", "(", "pathAccountSid",...
Create a CredentialListMappingCreator to execute create. @param pathAccountSid The unique sid that identifies this account @param pathDomainSid A string that identifies the SIP Domain for which the CredentialList resource will be mapped @param credentialListSid A string that identifies the CredentialList resource to m...
[ "Create", "a", "CredentialListMappingCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/sip/domain/CredentialListMapping.java#L48-L52
120,656
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/sip/domain/CredentialListMapping.java
CredentialListMapping.fetcher
public static CredentialListMappingFetcher fetcher(final String pathAccountSid, final String pathDomainSid, final String pathSid) { return new CredentialListMappingFetcher(pathAccountSid, pathDomainSi...
java
public static CredentialListMappingFetcher fetcher(final String pathAccountSid, final String pathDomainSid, final String pathSid) { return new CredentialListMappingFetcher(pathAccountSid, pathDomainSi...
[ "public", "static", "CredentialListMappingFetcher", "fetcher", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathDomainSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "CredentialListMappingFetcher", "(", "pathAccountSid", ",", ...
Create a CredentialListMappingFetcher to execute fetch. @param pathAccountSid The unique sid that identifies this account @param pathDomainSid A string that identifies the SIP Domain that includes the resource to fetch @param pathSid A string that identifies the resource to fetch @return CredentialListMappingFetcher c...
[ "Create", "a", "CredentialListMappingFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/sip/domain/CredentialListMapping.java#L101-L105
120,657
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/sip/domain/CredentialListMapping.java
CredentialListMapping.deleter
public static CredentialListMappingDeleter deleter(final String pathAccountSid, final String pathDomainSid, final String pathSid) { return new CredentialListMappingDeleter(pathAccountSid, pathDomainSi...
java
public static CredentialListMappingDeleter deleter(final String pathAccountSid, final String pathDomainSid, final String pathSid) { return new CredentialListMappingDeleter(pathAccountSid, pathDomainSi...
[ "public", "static", "CredentialListMappingDeleter", "deleter", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathDomainSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "CredentialListMappingDeleter", "(", "pathAccountSid", ",", ...
Create a CredentialListMappingDeleter to execute delete. @param pathAccountSid The unique sid that identifies this account @param pathDomainSid A string that identifies the SIP Domain that includes the resource to delete @param pathSid A string that identifies the resource to delete @return CredentialListMappingDelete...
[ "Create", "a", "CredentialListMappingDeleter", "to", "execute", "delete", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/sip/domain/CredentialListMapping.java#L129-L133
120,658
twilio/twilio-java
src/main/java/com/twilio/rest/chat/v2/service/channel/Webhook.java
Webhook.fetcher
public static WebhookFetcher fetcher(final String pathServiceSid, final String pathChannelSid, final String pathSid) { return new WebhookFetcher(pathServiceSid, pathChannelSid, pathSid); }
java
public static WebhookFetcher fetcher(final String pathServiceSid, final String pathChannelSid, final String pathSid) { return new WebhookFetcher(pathServiceSid, pathChannelSid, pathSid); }
[ "public", "static", "WebhookFetcher", "fetcher", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathChannelSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "WebhookFetcher", "(", "pathServiceSid", ",", "pathChannelSid", ",", ...
Create a WebhookFetcher to execute fetch. @param pathServiceSid The SID of the Service to fetch the resource from @param pathChannelSid The SID of the Channel the resource to fetch belongs to @param pathSid The unique string that identifies the resource @return WebhookFetcher capable of executing the fetch
[ "Create", "a", "WebhookFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/chat/v2/service/channel/Webhook.java#L112-L116
120,659
twilio/twilio-java
src/main/java/com/twilio/rest/chat/v2/service/channel/Webhook.java
Webhook.updater
public static WebhookUpdater updater(final String pathServiceSid, final String pathChannelSid, final String pathSid) { return new WebhookUpdater(pathServiceSid, pathChannelSid, pathSid); }
java
public static WebhookUpdater updater(final String pathServiceSid, final String pathChannelSid, final String pathSid) { return new WebhookUpdater(pathServiceSid, pathChannelSid, pathSid); }
[ "public", "static", "WebhookUpdater", "updater", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathChannelSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "WebhookUpdater", "(", "pathServiceSid", ",", "pathChannelSid", ",", ...
Create a WebhookUpdater to execute update. @param pathServiceSid The SID of the Service to update the resource from @param pathChannelSid The SID of the Channel the resource to update belongs to @param pathSid The unique string that identifies the resource @return WebhookUpdater capable of executing the update
[ "Create", "a", "WebhookUpdater", "to", "execute", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/chat/v2/service/channel/Webhook.java#L141-L145
120,660
twilio/twilio-java
src/main/java/com/twilio/rest/chat/v2/service/channel/Webhook.java
Webhook.deleter
public static WebhookDeleter deleter(final String pathServiceSid, final String pathChannelSid, final String pathSid) { return new WebhookDeleter(pathServiceSid, pathChannelSid, pathSid); }
java
public static WebhookDeleter deleter(final String pathServiceSid, final String pathChannelSid, final String pathSid) { return new WebhookDeleter(pathServiceSid, pathChannelSid, pathSid); }
[ "public", "static", "WebhookDeleter", "deleter", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathChannelSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "WebhookDeleter", "(", "pathServiceSid", ",", "pathChannelSid", ",", ...
Create a WebhookDeleter to execute delete. @param pathServiceSid The SID of the Service to delete the resource from @param pathChannelSid The SID of the channel the resource to delete belongs to @param pathSid The unique string that identifies the resource @return WebhookDeleter capable of executing the delete
[ "Create", "a", "WebhookDeleter", "to", "execute", "delete", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/chat/v2/service/channel/Webhook.java#L156-L160
120,661
twilio/twilio-java
src/main/java/com/twilio/jwt/accesstoken/VoiceGrant.java
VoiceGrant.setOutgoingApplication
public VoiceGrant setOutgoingApplication( String outgoingApplicationSid, Map<String, Object> outgoingApplicationParams ) { this.outgoingApplicationSid = outgoingApplicationSid; this.outgoingApplicationParams = outgoingApplicationParams; return this; }
java
public VoiceGrant setOutgoingApplication( String outgoingApplicationSid, Map<String, Object> outgoingApplicationParams ) { this.outgoingApplicationSid = outgoingApplicationSid; this.outgoingApplicationParams = outgoingApplicationParams; return this; }
[ "public", "VoiceGrant", "setOutgoingApplication", "(", "String", "outgoingApplicationSid", ",", "Map", "<", "String", ",", "Object", ">", "outgoingApplicationParams", ")", "{", "this", ".", "outgoingApplicationSid", "=", "outgoingApplicationSid", ";", "this", ".", "ou...
Set the outgoing application. @param outgoingApplicationSid outgoing application sid @param outgoingApplicationParams outgoing application parameters @return voice grant
[ "Set", "the", "outgoing", "application", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/jwt/accesstoken/VoiceGrant.java#L43-L50
120,662
twilio/twilio-java
src/main/java/com/twilio/rest/ipmessaging/v1/service/channel/MessageUpdater.java
MessageUpdater.update
@Override @SuppressWarnings("checkstyle:linelength") public Message update(final TwilioRestClient client) { Request request = new Request( HttpMethod.POST, Domains.IPMESSAGING.toString(), "/v1/Services/" + this.pathServiceSid + "/Channels/" + this.pathChannelSid + "/M...
java
@Override @SuppressWarnings("checkstyle:linelength") public Message update(final TwilioRestClient client) { Request request = new Request( HttpMethod.POST, Domains.IPMESSAGING.toString(), "/v1/Services/" + this.pathServiceSid + "/Channels/" + this.pathChannelSid + "/M...
[ "@", "Override", "@", "SuppressWarnings", "(", "\"checkstyle:linelength\"", ")", "public", "Message", "update", "(", "final", "TwilioRestClient", "client", ")", "{", "Request", "request", "=", "new", "Request", "(", "HttpMethod", ".", "POST", ",", "Domains", "."...
Make the request to the Twilio API to perform the update. @param client TwilioRestClient with which to make the request @return Updated Message
[ "Make", "the", "request", "to", "the", "Twilio", "API", "to", "perform", "the", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/ipmessaging/v1/service/channel/MessageUpdater.java#L73-L104
120,663
twilio/twilio-java
src/main/java/com/twilio/example/TwiMLResponseExample.java
TwiMLResponseExample.main
public static void main(final String[] args) throws TwiMLException, URISyntaxException { // Say Say say = new Say.Builder("Hello World!") .voice(Say.Voice.MAN) .loop(5) .build(); VoiceResponse response = new VoiceResponse.Builder() .say(say) ...
java
public static void main(final String[] args) throws TwiMLException, URISyntaxException { // Say Say say = new Say.Builder("Hello World!") .voice(Say.Voice.MAN) .loop(5) .build(); VoiceResponse response = new VoiceResponse.Builder() .say(say) ...
[ "public", "static", "void", "main", "(", "final", "String", "[", "]", "args", ")", "throws", "TwiMLException", ",", "URISyntaxException", "{", "// Say", "Say", "say", "=", "new", "Say", ".", "Builder", "(", "\"Hello World!\"", ")", ".", "voice", "(", "Say"...
TwiML example usage. @param args command line args @throws TwiMLException if cannot generate TwiML
[ "TwiML", "example", "usage", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/example/TwiMLResponseExample.java#L26-L71
120,664
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/call/Notification.java
Notification.fetcher
public static NotificationFetcher fetcher(final String pathAccountSid, final String pathCallSid, final String pathSid) { return new NotificationFetcher(pathAccountSid, pathCallSid, pathSid); }
java
public static NotificationFetcher fetcher(final String pathAccountSid, final String pathCallSid, final String pathSid) { return new NotificationFetcher(pathAccountSid, pathCallSid, pathSid); }
[ "public", "static", "NotificationFetcher", "fetcher", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathCallSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "NotificationFetcher", "(", "pathAccountSid", ",", "pathCallSid", ","...
Create a NotificationFetcher to execute fetch. @param pathAccountSid The SID of the Account that created the resource to fetch @param pathCallSid The Call SID of the resource to fetch @param pathSid The unique string that identifies the resource @return NotificationFetcher capable of executing the fetch
[ "Create", "a", "NotificationFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/call/Notification.java#L48-L52
120,665
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/call/Notification.java
Notification.deleter
public static NotificationDeleter deleter(final String pathAccountSid, final String pathCallSid, final String pathSid) { return new NotificationDeleter(pathAccountSid, pathCallSid, pathSid); }
java
public static NotificationDeleter deleter(final String pathAccountSid, final String pathCallSid, final String pathSid) { return new NotificationDeleter(pathAccountSid, pathCallSid, pathSid); }
[ "public", "static", "NotificationDeleter", "deleter", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathCallSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "NotificationDeleter", "(", "pathAccountSid", ",", "pathCallSid", ","...
Create a NotificationDeleter to execute delete. @param pathAccountSid The SID of the Account that created the resources to delete @param pathCallSid The Call SID of the resources to delete @param pathSid The unique string that identifies the resource @return NotificationDeleter capable of executing the delete
[ "Create", "a", "NotificationDeleter", "to", "execute", "delete", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/call/Notification.java#L75-L79
120,666
twilio/twilio-java
src/main/java/com/twilio/rest/autopilot/v1/assistant/fieldtype/FieldValue.java
FieldValue.fetcher
public static FieldValueFetcher fetcher(final String pathAssistantSid, final String pathFieldTypeSid, final String pathSid) { return new FieldValueFetcher(pathAssistantSid, pathFieldTypeSid, pathSid); }
java
public static FieldValueFetcher fetcher(final String pathAssistantSid, final String pathFieldTypeSid, final String pathSid) { return new FieldValueFetcher(pathAssistantSid, pathFieldTypeSid, pathSid); }
[ "public", "static", "FieldValueFetcher", "fetcher", "(", "final", "String", "pathAssistantSid", ",", "final", "String", "pathFieldTypeSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "FieldValueFetcher", "(", "pathAssistantSid", ",", "pathFieldTypeS...
Create a FieldValueFetcher to execute fetch. @param pathAssistantSid The SID of the Assistant that is the parent of the FieldType associated with the resource to fetch @param pathFieldTypeSid The SID of the Field Type associated with the Field Value to fetch @param pathSid The unique string that identifies the resour...
[ "Create", "a", "FieldValueFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/autopilot/v1/assistant/fieldtype/FieldValue.java#L54-L58
120,667
twilio/twilio-java
src/main/java/com/twilio/rest/autopilot/v1/assistant/fieldtype/FieldValue.java
FieldValue.creator
public static FieldValueCreator creator(final String pathAssistantSid, final String pathFieldTypeSid, final String language, final String value) { return new FieldValueCreator(p...
java
public static FieldValueCreator creator(final String pathAssistantSid, final String pathFieldTypeSid, final String language, final String value) { return new FieldValueCreator(p...
[ "public", "static", "FieldValueCreator", "creator", "(", "final", "String", "pathAssistantSid", ",", "final", "String", "pathFieldTypeSid", ",", "final", "String", "language", ",", "final", "String", "value", ")", "{", "return", "new", "FieldValueCreator", "(", "p...
Create a FieldValueCreator to execute create. @param pathAssistantSid The SID of the Assistant that is the parent of the FieldType associated with the new resource @param pathFieldTypeSid The SID of the Field Type associated with the Field Value @param language The ISO language-country tag that identifies the language...
[ "Create", "a", "FieldValueCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/autopilot/v1/assistant/fieldtype/FieldValue.java#L86-L91
120,668
twilio/twilio-java
src/main/java/com/twilio/rest/autopilot/v1/assistant/fieldtype/FieldValue.java
FieldValue.deleter
public static FieldValueDeleter deleter(final String pathAssistantSid, final String pathFieldTypeSid, final String pathSid) { return new FieldValueDeleter(pathAssistantSid, pathFieldTypeSid, pathSid); }
java
public static FieldValueDeleter deleter(final String pathAssistantSid, final String pathFieldTypeSid, final String pathSid) { return new FieldValueDeleter(pathAssistantSid, pathFieldTypeSid, pathSid); }
[ "public", "static", "FieldValueDeleter", "deleter", "(", "final", "String", "pathAssistantSid", ",", "final", "String", "pathFieldTypeSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "FieldValueDeleter", "(", "pathAssistantSid", ",", "pathFieldTypeS...
Create a FieldValueDeleter to execute delete. @param pathAssistantSid The SID of the Assistant that is the parent of the FieldType associated with the resources to delete @param pathFieldTypeSid The SID of the Field Type associated with the Field Value to delete @param pathSid The unique string that identifies the res...
[ "Create", "a", "FieldValueDeleter", "to", "execute", "delete", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/autopilot/v1/assistant/fieldtype/FieldValue.java#L103-L107
120,669
twilio/twilio-java
src/main/java/com/twilio/rest/preview/marketplace/installedaddon/InstalledAddOnExtension.java
InstalledAddOnExtension.updater
public static InstalledAddOnExtensionUpdater updater(final String pathInstalledAddOnSid, final String pathSid, final Boolean enabled) { return new InstalledAddOnExtensionUpdater(pathInstalledAddOn...
java
public static InstalledAddOnExtensionUpdater updater(final String pathInstalledAddOnSid, final String pathSid, final Boolean enabled) { return new InstalledAddOnExtensionUpdater(pathInstalledAddOn...
[ "public", "static", "InstalledAddOnExtensionUpdater", "updater", "(", "final", "String", "pathInstalledAddOnSid", ",", "final", "String", "pathSid", ",", "final", "Boolean", "enabled", ")", "{", "return", "new", "InstalledAddOnExtensionUpdater", "(", "pathInstalledAddOnSi...
Create a InstalledAddOnExtensionUpdater to execute update. @param pathInstalledAddOnSid The installed_add_on_sid @param pathSid The sid @param enabled A Boolean indicating if the Extension will be invoked @return InstalledAddOnExtensionUpdater capable of executing the update
[ "Create", "a", "InstalledAddOnExtensionUpdater", "to", "execute", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/preview/marketplace/installedaddon/InstalledAddOnExtension.java#L62-L66
120,670
twilio/twilio-java
src/main/java/com/twilio/rest/serverless/v1/service/Asset.java
Asset.updater
public static AssetUpdater updater(final String pathServiceSid, final String pathSid, final String friendlyName) { return new AssetUpdater(pathServiceSid, pathSid, friendlyName); }
java
public static AssetUpdater updater(final String pathServiceSid, final String pathSid, final String friendlyName) { return new AssetUpdater(pathServiceSid, pathSid, friendlyName); }
[ "public", "static", "AssetUpdater", "updater", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathSid", ",", "final", "String", "friendlyName", ")", "{", "return", "new", "AssetUpdater", "(", "pathServiceSid", ",", "pathSid", ",", "friendlyName...
Create a AssetUpdater to execute update. @param pathServiceSid The service_sid @param pathSid The sid @param friendlyName The friendly_name @return AssetUpdater capable of executing the update
[ "Create", "a", "AssetUpdater", "to", "execute", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/serverless/v1/service/Asset.java#L86-L90
120,671
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/sip/ipaccesscontrollist/IpAddress.java
IpAddress.creator
public static IpAddressCreator creator(final String pathAccountSid, final String pathIpAccessControlListSid, final String friendlyName, final String ipAddress) { return new IpAddre...
java
public static IpAddressCreator creator(final String pathAccountSid, final String pathIpAccessControlListSid, final String friendlyName, final String ipAddress) { return new IpAddre...
[ "public", "static", "IpAddressCreator", "creator", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathIpAccessControlListSid", ",", "final", "String", "friendlyName", ",", "final", "String", "ipAddress", ")", "{", "return", "new", "IpAddressCreator...
Create a IpAddressCreator to execute create. @param pathAccountSid The unique sid that identifies this account @param pathIpAccessControlListSid The IpAccessControlList Sid with which to associate the created IpAddress resource @param friendlyName A human readable descriptive text for this resource, up to 64 character...
[ "Create", "a", "IpAddressCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/sip/ipaccesscontrollist/IpAddress.java#L76-L81
120,672
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/sip/ipaccesscontrollist/IpAddress.java
IpAddress.fetcher
public static IpAddressFetcher fetcher(final String pathAccountSid, final String pathIpAccessControlListSid, final String pathSid) { return new IpAddressFetcher(pathAccountSid, pathIpAccessControlListSid, pathSid); }
java
public static IpAddressFetcher fetcher(final String pathAccountSid, final String pathIpAccessControlListSid, final String pathSid) { return new IpAddressFetcher(pathAccountSid, pathIpAccessControlListSid, pathSid); }
[ "public", "static", "IpAddressFetcher", "fetcher", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathIpAccessControlListSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "IpAddressFetcher", "(", "pathAccountSid", ",", "pathIpAcce...
Create a IpAddressFetcher to execute fetch. @param pathAccountSid The unique sid that identifies this account @param pathIpAccessControlListSid The IpAccessControlList Sid that identifies the IpAddress resources to fetch @param pathSid A string that identifies the IpAddress resource to fetch @return IpAddressFetcher c...
[ "Create", "a", "IpAddressFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/sip/ipaccesscontrollist/IpAddress.java#L111-L115
120,673
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/sip/ipaccesscontrollist/IpAddress.java
IpAddress.updater
public static IpAddressUpdater updater(final String pathAccountSid, final String pathIpAccessControlListSid, final String pathSid) { return new IpAddressUpdater(pathAccountSid, pathIpAccessControlListSid, pathSid); }
java
public static IpAddressUpdater updater(final String pathAccountSid, final String pathIpAccessControlListSid, final String pathSid) { return new IpAddressUpdater(pathAccountSid, pathIpAccessControlListSid, pathSid); }
[ "public", "static", "IpAddressUpdater", "updater", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathIpAccessControlListSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "IpAddressUpdater", "(", "pathAccountSid", ",", "pathIpAcce...
Create a IpAddressUpdater to execute update. @param pathAccountSid The unique sid that identifies this account @param pathIpAccessControlListSid The IpAccessControlList Sid that identifies the IpAddress resources to update @param pathSid A string that identifies the IpAddress resource to update @return IpAddressUpdate...
[ "Create", "a", "IpAddressUpdater", "to", "execute", "update", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/sip/ipaccesscontrollist/IpAddress.java#L140-L144
120,674
twilio/twilio-java
src/main/java/com/twilio/rest/api/v2010/account/sip/ipaccesscontrollist/IpAddress.java
IpAddress.deleter
public static IpAddressDeleter deleter(final String pathAccountSid, final String pathIpAccessControlListSid, final String pathSid) { return new IpAddressDeleter(pathAccountSid, pathIpAccessControlListSid, pathSid); }
java
public static IpAddressDeleter deleter(final String pathAccountSid, final String pathIpAccessControlListSid, final String pathSid) { return new IpAddressDeleter(pathAccountSid, pathIpAccessControlListSid, pathSid); }
[ "public", "static", "IpAddressDeleter", "deleter", "(", "final", "String", "pathAccountSid", ",", "final", "String", "pathIpAccessControlListSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "IpAddressDeleter", "(", "pathAccountSid", ",", "pathIpAcce...
Create a IpAddressDeleter to execute delete. @param pathAccountSid The unique sid that identifies this account @param pathIpAccessControlListSid The IpAccessControlList Sid that identifies the IpAddress resources to delete @param pathSid A string that identifies the resource to delete @return IpAddressDeleter capable ...
[ "Create", "a", "IpAddressDeleter", "to", "execute", "delete", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/api/v2010/account/sip/ipaccesscontrollist/IpAddress.java#L170-L174
120,675
twilio/twilio-java
src/main/java/com/twilio/rest/taskrouter/v1/workspace/TaskChannel.java
TaskChannel.creator
public static TaskChannelCreator creator(final String pathWorkspaceSid, final String friendlyName, final String uniqueName) { return new TaskChannelCreator(pathWorkspaceSid, friendlyName, uniqueName); }
java
public static TaskChannelCreator creator(final String pathWorkspaceSid, final String friendlyName, final String uniqueName) { return new TaskChannelCreator(pathWorkspaceSid, friendlyName, uniqueName); }
[ "public", "static", "TaskChannelCreator", "creator", "(", "final", "String", "pathWorkspaceSid", ",", "final", "String", "friendlyName", ",", "final", "String", "uniqueName", ")", "{", "return", "new", "TaskChannelCreator", "(", "pathWorkspaceSid", ",", "friendlyName"...
Create a TaskChannelCreator to execute create. @param pathWorkspaceSid The workspace_sid @param friendlyName String representing user-friendly name for the TaskChannel @param uniqueName String representing unique name for the TaskChannel @return TaskChannelCreator capable of executing the create
[ "Create", "a", "TaskChannelCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/taskrouter/v1/workspace/TaskChannel.java#L94-L98
120,676
twilio/twilio-java
src/main/java/com/twilio/rest/studio/v1/flow/engagement/step/StepContext.java
StepContext.fetcher
public static StepContextFetcher fetcher(final String pathFlowSid, final String pathEngagementSid, final String pathStepSid) { return new StepContextFetcher(pathFlowSid, pathEngagementSid, pathStepSid); }
java
public static StepContextFetcher fetcher(final String pathFlowSid, final String pathEngagementSid, final String pathStepSid) { return new StepContextFetcher(pathFlowSid, pathEngagementSid, pathStepSid); }
[ "public", "static", "StepContextFetcher", "fetcher", "(", "final", "String", "pathFlowSid", ",", "final", "String", "pathEngagementSid", ",", "final", "String", "pathStepSid", ")", "{", "return", "new", "StepContextFetcher", "(", "pathFlowSid", ",", "pathEngagementSid...
Create a StepContextFetcher to execute fetch. @param pathFlowSid Flow Sid. @param pathEngagementSid Engagement Sid. @param pathStepSid Step Sid. @return StepContextFetcher capable of executing the fetch
[ "Create", "a", "StepContextFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/studio/v1/flow/engagement/step/StepContext.java#L46-L50
120,677
twilio/twilio-java
src/main/java/com/twilio/rest/serverless/v1/service/asset/AssetVersion.java
AssetVersion.fetcher
public static AssetVersionFetcher fetcher(final String pathServiceSid, final String pathAssetSid, final String pathSid) { return new AssetVersionFetcher(pathServiceSid, pathAssetSid, pathSid); }
java
public static AssetVersionFetcher fetcher(final String pathServiceSid, final String pathAssetSid, final String pathSid) { return new AssetVersionFetcher(pathServiceSid, pathAssetSid, pathSid); }
[ "public", "static", "AssetVersionFetcher", "fetcher", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathAssetSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "AssetVersionFetcher", "(", "pathServiceSid", ",", "pathAssetSid", "...
Create a AssetVersionFetcher to execute fetch. @param pathServiceSid The service_sid @param pathAssetSid The asset_sid @param pathSid The sid @return AssetVersionFetcher capable of executing the fetch
[ "Create", "a", "AssetVersionFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/serverless/v1/service/asset/AssetVersion.java#L92-L96
120,678
twilio/twilio-java
src/main/java/com/twilio/rest/serverless/v1/service/asset/AssetVersion.java
AssetVersion.creator
public static AssetVersionCreator creator(final String pathServiceSid, final String pathAssetSid, final String path, final AssetVersion.Visibility visibility) { return new...
java
public static AssetVersionCreator creator(final String pathServiceSid, final String pathAssetSid, final String path, final AssetVersion.Visibility visibility) { return new...
[ "public", "static", "AssetVersionCreator", "creator", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathAssetSid", ",", "final", "String", "path", ",", "final", "AssetVersion", ".", "Visibility", "visibility", ")", "{", "return", "new", "Asset...
Create a AssetVersionCreator to execute create. @param pathServiceSid The service_sid @param pathAssetSid The asset_sid @param path The path @param visibility The visibility @return AssetVersionCreator capable of executing the create
[ "Create", "a", "AssetVersionCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/serverless/v1/service/asset/AssetVersion.java#L107-L112
120,679
twilio/twilio-java
src/main/java/com/twilio/rest/serverless/v1/service/environment/Deployment.java
Deployment.fetcher
public static DeploymentFetcher fetcher(final String pathServiceSid, final String pathEnvironmentSid, final String pathSid) { return new DeploymentFetcher(pathServiceSid, pathEnvironmentSid, pathSid); }
java
public static DeploymentFetcher fetcher(final String pathServiceSid, final String pathEnvironmentSid, final String pathSid) { return new DeploymentFetcher(pathServiceSid, pathEnvironmentSid, pathSid); }
[ "public", "static", "DeploymentFetcher", "fetcher", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathEnvironmentSid", ",", "final", "String", "pathSid", ")", "{", "return", "new", "DeploymentFetcher", "(", "pathServiceSid", ",", "pathEnvironmentS...
Create a DeploymentFetcher to execute fetch. @param pathServiceSid The service_sid @param pathEnvironmentSid The environment_sid @param pathSid The sid @return DeploymentFetcher capable of executing the fetch
[ "Create", "a", "DeploymentFetcher", "to", "execute", "fetch", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/serverless/v1/service/environment/Deployment.java#L64-L68
120,680
twilio/twilio-java
src/main/java/com/twilio/rest/serverless/v1/service/environment/Deployment.java
Deployment.creator
public static DeploymentCreator creator(final String pathServiceSid, final String pathEnvironmentSid, final String buildSid) { return new DeploymentCreator(pathServiceSid, pathEnvironmentSid, buildSid); }
java
public static DeploymentCreator creator(final String pathServiceSid, final String pathEnvironmentSid, final String buildSid) { return new DeploymentCreator(pathServiceSid, pathEnvironmentSid, buildSid); }
[ "public", "static", "DeploymentCreator", "creator", "(", "final", "String", "pathServiceSid", ",", "final", "String", "pathEnvironmentSid", ",", "final", "String", "buildSid", ")", "{", "return", "new", "DeploymentCreator", "(", "pathServiceSid", ",", "pathEnvironment...
Create a DeploymentCreator to execute create. @param pathServiceSid The service_sid @param pathEnvironmentSid The environment_sid @param buildSid The build_sid @return DeploymentCreator capable of executing the create
[ "Create", "a", "DeploymentCreator", "to", "execute", "create", "." ]
0318974c0a6a152994af167d430255684d5e9b9f
https://github.com/twilio/twilio-java/blob/0318974c0a6a152994af167d430255684d5e9b9f/src/main/java/com/twilio/rest/serverless/v1/service/environment/Deployment.java#L78-L82
120,681
couchbase/couchbase-lite-android
lib/src/main/java/com/couchbase/lite/FileLogger.java
FileLogger.setConfig
public void setConfig(LogFileConfiguration config) { this.config = config == null ? null : config.readOnlyCopy(); if (config == null) { Log.w( DOMAIN, "Database.log.getFile().getConfig() is now null, meaning file logging is disabled. " + "...
java
public void setConfig(LogFileConfiguration config) { this.config = config == null ? null : config.readOnlyCopy(); if (config == null) { Log.w( DOMAIN, "Database.log.getFile().getConfig() is now null, meaning file logging is disabled. " + "...
[ "public", "void", "setConfig", "(", "LogFileConfiguration", "config", ")", "{", "this", ".", "config", "=", "config", "==", "null", "?", "null", ":", "config", ".", "readOnlyCopy", "(", ")", ";", "if", "(", "config", "==", "null", ")", "{", "Log", ".",...
Sets the configuration currently to use on the file logger. Note that once it is set, it can no longer be modified and doing so will throw an exception @param config The configuration to use
[ "Sets", "the", "configuration", "currently", "to", "use", "on", "the", "file", "logger", ".", "Note", "that", "once", "it", "is", "set", "it", "can", "no", "longer", "be", "modified", "and", "doing", "so", "will", "throw", "an", "exception" ]
60ab4eb9f203ebf13e0dd631ed8eb0d2340cf917
https://github.com/couchbase/couchbase-lite-android/blob/60ab4eb9f203ebf13e0dd631ed8eb0d2340cf917/lib/src/main/java/com/couchbase/lite/FileLogger.java#L67-L77
120,682
couchbase/couchbase-lite-android
lib/src/main/java/com/couchbase/lite/internal/core/CBLVersion.java
CBLVersion.getSysInfo
public static String getSysInfo() { String info = sysInfo.get(); if (info == null) { final String version = Build.VERSION.RELEASE; // "1.0" or "3.4b5" final String model = Build.MODEL; info = String.format( Locale.ENGLISH, SYS_INFO, ...
java
public static String getSysInfo() { String info = sysInfo.get(); if (info == null) { final String version = Build.VERSION.RELEASE; // "1.0" or "3.4b5" final String model = Build.MODEL; info = String.format( Locale.ENGLISH, SYS_INFO, ...
[ "public", "static", "String", "getSysInfo", "(", ")", "{", "String", "info", "=", "sysInfo", ".", "get", "(", ")", ";", "if", "(", "info", "==", "null", ")", "{", "final", "String", "version", "=", "Build", ".", "VERSION", ".", "RELEASE", ";", "// \"...
This is information about the Android on which we are running.
[ "This", "is", "information", "about", "the", "Android", "on", "which", "we", "are", "running", "." ]
60ab4eb9f203ebf13e0dd631ed8eb0d2340cf917
https://github.com/couchbase/couchbase-lite-android/blob/60ab4eb9f203ebf13e0dd631ed8eb0d2340cf917/lib/src/main/java/com/couchbase/lite/internal/core/CBLVersion.java#L95-L112
120,683
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/function/PrecisionContextRoundedOperator.java
PrecisionContextRoundedOperator.of
public static PrecisionContextRoundedOperator of(MathContext mathContext) { Objects.requireNonNull(mathContext); if(RoundingMode.UNNECESSARY.equals(mathContext.getRoundingMode())) { throw new IllegalArgumentException("To create the MathContextRoundedOperator you cannot use the RoundingMode.UNNECESSARY on Ma...
java
public static PrecisionContextRoundedOperator of(MathContext mathContext) { Objects.requireNonNull(mathContext); if(RoundingMode.UNNECESSARY.equals(mathContext.getRoundingMode())) { throw new IllegalArgumentException("To create the MathContextRoundedOperator you cannot use the RoundingMode.UNNECESSARY on Ma...
[ "public", "static", "PrecisionContextRoundedOperator", "of", "(", "MathContext", "mathContext", ")", "{", "Objects", ".", "requireNonNull", "(", "mathContext", ")", ";", "if", "(", "RoundingMode", ".", "UNNECESSARY", ".", "equals", "(", "mathContext", ".", "getRou...
Creates the rounded Operator from mathContext @param mathContext the math context, not null. @return the {@link MonetaryOperator} using the {@link MathContext} used in parameter @throws NullPointerException when the {@link MathContext} is null @throws IllegalArgumentException when the {@link MathContext#getPrecision()}...
[ "Creates", "the", "rounded", "Operator", "from", "mathContext" ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/function/PrecisionContextRoundedOperator.java#L67-L80
120,684
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/FastMoney.java
FastMoney.checkNumber
protected void checkNumber(Number number) { Objects.requireNonNull(number, "Number is required."); // numeric check for overflow... if (number.longValue() > MAX_BD.longValue()) { throw new ArithmeticException("Value exceeds maximal value: " + MAX_BD); } BigDecimal bd ...
java
protected void checkNumber(Number number) { Objects.requireNonNull(number, "Number is required."); // numeric check for overflow... if (number.longValue() > MAX_BD.longValue()) { throw new ArithmeticException("Value exceeds maximal value: " + MAX_BD); } BigDecimal bd ...
[ "protected", "void", "checkNumber", "(", "Number", "number", ")", "{", "Objects", ".", "requireNonNull", "(", "number", ",", "\"Number is required.\"", ")", ";", "// numeric check for overflow...", "if", "(", "number", ".", "longValue", "(", ")", ">", "MAX_BD", ...
Internal method to check for correct number parameter. @param number the number to be checked, including null.. @throws NullPointerException If the number is null @throws java.lang.ArithmeticException If the number exceeds the capabilities of this class.
[ "Internal", "method", "to", "check", "for", "correct", "number", "parameter", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/FastMoney.java#L572-L597
120,685
JavaMoney/jsr354-ri
moneta-convert/moneta-convert-ecb/src/main/java/org/javamoney/moneta/convert/ecb/ECBRateReadingHandler.java
ECBRateReadingHandler.addRate
void addRate(CurrencyUnit term, LocalDate localDate, Number rate) { RateType rateType = RateType.HISTORIC; ExchangeRateBuilder builder; if (Objects.nonNull(localDate)) { // TODO check/test! if (localDate.equals(LocalDate.now())) { rateType = RateType.DEFER...
java
void addRate(CurrencyUnit term, LocalDate localDate, Number rate) { RateType rateType = RateType.HISTORIC; ExchangeRateBuilder builder; if (Objects.nonNull(localDate)) { // TODO check/test! if (localDate.equals(LocalDate.now())) { rateType = RateType.DEFER...
[ "void", "addRate", "(", "CurrencyUnit", "term", ",", "LocalDate", "localDate", ",", "Number", "rate", ")", "{", "RateType", "rateType", "=", "RateType", ".", "HISTORIC", ";", "ExchangeRateBuilder", "builder", ";", "if", "(", "Objects", ".", "nonNull", "(", "...
Method to add a currency exchange rate. @param term the term (target) currency, mapped from EUR. @param rate The rate.
[ "Method", "to", "add", "a", "currency", "exchange", "rate", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-convert/moneta-convert-ecb/src/main/java/org/javamoney/moneta/convert/ecb/ECBRateReadingHandler.java#L100-L126
120,686
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/internal/DefaultMonetaryCurrenciesSingletonSpi.java
DefaultMonetaryCurrenciesSingletonSpi.getProviderNames
@Override public Set<String> getProviderNames() { Set<String> result = new HashSet<>(); for (CurrencyProviderSpi spi : Bootstrap.getServices(CurrencyProviderSpi.class)) { try { result.add(spi.getProviderName()); } catch (Exception e) { Logger.g...
java
@Override public Set<String> getProviderNames() { Set<String> result = new HashSet<>(); for (CurrencyProviderSpi spi : Bootstrap.getServices(CurrencyProviderSpi.class)) { try { result.add(spi.getProviderName()); } catch (Exception e) { Logger.g...
[ "@", "Override", "public", "Set", "<", "String", ">", "getProviderNames", "(", ")", "{", "Set", "<", "String", ">", "result", "=", "new", "HashSet", "<>", "(", ")", ";", "for", "(", "CurrencyProviderSpi", "spi", ":", "Bootstrap", ".", "getServices", "(",...
Get the names of the currently loaded providers. @return the names of the currently loaded providers, never null.
[ "Get", "the", "names", "of", "the", "currently", "loaded", "providers", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/internal/DefaultMonetaryCurrenciesSingletonSpi.java#L124-L137
120,687
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/spi/LazyBoundCurrencyConversion.java
LazyBoundCurrencyConversion.getExchangeRate
@Override public ExchangeRate getExchangeRate(MonetaryAmount amount) { return this.rateProvider.getExchangeRate(ConversionQueryBuilder .of(conversionQuery).setBaseCurrency(amount.getCurrency()) .build()); // return this.rateProvider.getExchangeRate(amount.getCurrency(...
java
@Override public ExchangeRate getExchangeRate(MonetaryAmount amount) { return this.rateProvider.getExchangeRate(ConversionQueryBuilder .of(conversionQuery).setBaseCurrency(amount.getCurrency()) .build()); // return this.rateProvider.getExchangeRate(amount.getCurrency(...
[ "@", "Override", "public", "ExchangeRate", "getExchangeRate", "(", "MonetaryAmount", "amount", ")", "{", "return", "this", ".", "rateProvider", ".", "getExchangeRate", "(", "ConversionQueryBuilder", ".", "of", "(", "conversionQuery", ")", ".", "setBaseCurrency", "("...
Get the exchange rate type that this provider instance is providing data for. @return the exchange rate type if this instance.
[ "Get", "the", "exchange", "rate", "type", "that", "this", "provider", "instance", "is", "providing", "data", "for", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/spi/LazyBoundCurrencyConversion.java#L55-L62
120,688
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/Money.java
Money.parse
public static Money parse(CharSequence text, MonetaryAmountFormat formatter) { return from(formatter.parse(text)); }
java
public static Money parse(CharSequence text, MonetaryAmountFormat formatter) { return from(formatter.parse(text)); }
[ "public", "static", "Money", "parse", "(", "CharSequence", "text", ",", "MonetaryAmountFormat", "formatter", ")", "{", "return", "from", "(", "formatter", ".", "parse", "(", "text", ")", ")", ";", "}" ]
Obtains an instance of Money from a text using specific formatter. @param text the text to parse not null @param formatter the formatter to use not null @return Money instance
[ "Obtains", "an", "instance", "of", "Money", "from", "a", "text", "using", "specific", "formatter", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/Money.java#L873-L875
120,689
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/Money.java
Money.isInfinityAndNotNaN
@Deprecated public static boolean isInfinityAndNotNaN(Number number) { if (Double.class == number.getClass() || Float.class == number.getClass()) { double dValue = number.doubleValue(); if (!Double.isNaN(dValue) && Double.isInfinite(dValue)) { return true; ...
java
@Deprecated public static boolean isInfinityAndNotNaN(Number number) { if (Double.class == number.getClass() || Float.class == number.getClass()) { double dValue = number.doubleValue(); if (!Double.isNaN(dValue) && Double.isInfinite(dValue)) { return true; ...
[ "@", "Deprecated", "public", "static", "boolean", "isInfinityAndNotNaN", "(", "Number", "number", ")", "{", "if", "(", "Double", ".", "class", "==", "number", ".", "getClass", "(", ")", "||", "Float", ".", "class", "==", "number", ".", "getClass", "(", "...
Just to don't break the compatibility. Don't use it @param number the amount, not null @deprecated Will be removed.
[ "Just", "to", "don", "t", "break", "the", "compatibility", ".", "Don", "t", "use", "it" ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/Money.java#L886-L895
120,690
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/internal/loader/LoadableResource.java
LoadableResource.load
public boolean load() { if ((lastLoaded + cacheTTLMillis) <= System.currentTimeMillis()) { clearCache(); } if (!readCache()) { if (shouldReadDataFromFallback()) { return loadFallback(); } } return true; }
java
public boolean load() { if ((lastLoaded + cacheTTLMillis) <= System.currentTimeMillis()) { clearCache(); } if (!readCache()) { if (shouldReadDataFromFallback()) { return loadFallback(); } } return true; }
[ "public", "boolean", "load", "(", ")", "{", "if", "(", "(", "lastLoaded", "+", "cacheTTLMillis", ")", "<=", "System", ".", "currentTimeMillis", "(", ")", ")", "{", "clearCache", "(", ")", ";", "}", "if", "(", "!", "readCache", "(", ")", ")", "{", "...
Loads the resource, first from the remote resources, if that fails from the fallback location. @return true, if load succeeded.
[ "Loads", "the", "resource", "first", "from", "the", "remote", "resources", "if", "that", "fails", "from", "the", "fallback", "location", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/internal/loader/LoadableResource.java#L141-L151
120,691
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/internal/loader/LoadableResource.java
LoadableResource.loadRemote
public boolean loadRemote() { for (URI itemToLoad : remoteResources) { try { return load(itemToLoad, false); } catch (Exception e) { LOG.log(Level.INFO, "Failed to load resource: " + itemToLoad, e); } } return false; }
java
public boolean loadRemote() { for (URI itemToLoad : remoteResources) { try { return load(itemToLoad, false); } catch (Exception e) { LOG.log(Level.INFO, "Failed to load resource: " + itemToLoad, e); } } return false; }
[ "public", "boolean", "loadRemote", "(", ")", "{", "for", "(", "URI", "itemToLoad", ":", "remoteResources", ")", "{", "try", "{", "return", "load", "(", "itemToLoad", ",", "false", ")", ";", "}", "catch", "(", "Exception", "e", ")", "{", "LOG", ".", "...
Try to load the resource from the remote locations. @return true, on success.
[ "Try", "to", "load", "the", "resource", "from", "the", "remote", "locations", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/internal/loader/LoadableResource.java#L225-L234
120,692
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/internal/loader/LoadableResource.java
LoadableResource.loadFallback
public boolean loadFallback() { try { if (fallbackLocation == null) { Logger.getLogger(getClass().getName()).warning("No fallback resource for " + this + ", loadFallback not supported."); return false; } load(fallbackLoc...
java
public boolean loadFallback() { try { if (fallbackLocation == null) { Logger.getLogger(getClass().getName()).warning("No fallback resource for " + this + ", loadFallback not supported."); return false; } load(fallbackLoc...
[ "public", "boolean", "loadFallback", "(", ")", "{", "try", "{", "if", "(", "fallbackLocation", "==", "null", ")", "{", "Logger", ".", "getLogger", "(", "getClass", "(", ")", ".", "getName", "(", ")", ")", ".", "warning", "(", "\"No fallback resource for \"...
Try to load the resource from the fallback resources. This will override any remote data already loaded, and also will clear the cached data. @return true, on success.
[ "Try", "to", "load", "the", "resource", "from", "the", "fallback", "resources", ".", "This", "will", "override", "any", "remote", "data", "already", "loaded", "and", "also", "will", "clear", "the", "cached", "data", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/internal/loader/LoadableResource.java#L242-L256
120,693
JavaMoney/jsr354-ri
moneta-convert/moneta-convert-base/src/main/java/org/javamoney/moneta/convert/internal/IdentityRateProvider.java
IdentityRateProvider.isAvailable
@Override public boolean isAvailable(ConversionQuery conversionQuery) { return conversionQuery.getBaseCurrency().getCurrencyCode() .equals(conversionQuery.getCurrency().getCurrencyCode()); }
java
@Override public boolean isAvailable(ConversionQuery conversionQuery) { return conversionQuery.getBaseCurrency().getCurrencyCode() .equals(conversionQuery.getCurrency().getCurrencyCode()); }
[ "@", "Override", "public", "boolean", "isAvailable", "(", "ConversionQuery", "conversionQuery", ")", "{", "return", "conversionQuery", ".", "getBaseCurrency", "(", ")", ".", "getCurrencyCode", "(", ")", ".", "equals", "(", "conversionQuery", ".", "getCurrency", "(...
Check if this provider can provide a rate, which is only the case if base and term are equal. @param conversionQuery the required {@link ConversionQuery}, not {@code null} @return true, if the contained base and term currencies are known to this provider.
[ "Check", "if", "this", "provider", "can", "provide", "a", "rate", "which", "is", "only", "the", "case", "if", "base", "and", "term", "are", "equal", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-convert/moneta-convert-base/src/main/java/org/javamoney/moneta/convert/internal/IdentityRateProvider.java#L58-L62
120,694
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/CurrencyUnitBuilder.java
CurrencyUnitBuilder.of
public static CurrencyUnitBuilder of(String currencyCode, String providerName) { return new CurrencyUnitBuilder(currencyCode, CurrencyContextBuilder.of(providerName).build()); }
java
public static CurrencyUnitBuilder of(String currencyCode, String providerName) { return new CurrencyUnitBuilder(currencyCode, CurrencyContextBuilder.of(providerName).build()); }
[ "public", "static", "CurrencyUnitBuilder", "of", "(", "String", "currencyCode", ",", "String", "providerName", ")", "{", "return", "new", "CurrencyUnitBuilder", "(", "currencyCode", ",", "CurrencyContextBuilder", ".", "of", "(", "providerName", ")", ".", "build", ...
Creates a new CurrencyUnitBuilder, creates a simple CurrencyContext using the given provider name. @param currencyCode the (unique) and identifying currency code, not null. @param providerName the currency provider, not null.
[ "Creates", "a", "new", "CurrencyUnitBuilder", "creates", "a", "simple", "CurrencyContext", "using", "the", "given", "provider", "name", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/CurrencyUnitBuilder.java#L70-L72
120,695
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/CurrencyUnitBuilder.java
CurrencyUnitBuilder.setCurrencyCode
public CurrencyUnitBuilder setCurrencyCode(String currencyCode) { Objects.requireNonNull(currencyCode, "currencyCode required"); this.currencyCode = currencyCode; this.currencyContext = CurrencyContextBuilder.of(getClass().getSimpleName()).build(); return this; }
java
public CurrencyUnitBuilder setCurrencyCode(String currencyCode) { Objects.requireNonNull(currencyCode, "currencyCode required"); this.currencyCode = currencyCode; this.currencyContext = CurrencyContextBuilder.of(getClass().getSimpleName()).build(); return this; }
[ "public", "CurrencyUnitBuilder", "setCurrencyCode", "(", "String", "currencyCode", ")", "{", "Objects", ".", "requireNonNull", "(", "currencyCode", ",", "\"currencyCode required\"", ")", ";", "this", ".", "currencyCode", "=", "currencyCode", ";", "this", ".", "curre...
Allows to set the currency code, for creating multiple instances, using one Builder. @param currencyCode the (unique) and identifying currency code, not null. @return the Builder, for chaining. @see javax.money.CurrencyUnit#getCurrencyCode()
[ "Allows", "to", "set", "the", "currency", "code", "for", "creating", "multiple", "instances", "using", "one", "Builder", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/CurrencyUnitBuilder.java#L93-L98
120,696
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/spi/MoneyUtils.java
MoneyUtils.checkAmountParameter
public static void checkAmountParameter(MonetaryAmount amount, CurrencyUnit currencyUnit) { requireNonNull(amount, "Amount must not be null."); final CurrencyUnit amountCurrency = amount.getCurrency(); if (!currencyUnit.getCurrencyCode().equals(amountCurrency.getCurrencyCode())) { th...
java
public static void checkAmountParameter(MonetaryAmount amount, CurrencyUnit currencyUnit) { requireNonNull(amount, "Amount must not be null."); final CurrencyUnit amountCurrency = amount.getCurrency(); if (!currencyUnit.getCurrencyCode().equals(amountCurrency.getCurrencyCode())) { th...
[ "public", "static", "void", "checkAmountParameter", "(", "MonetaryAmount", "amount", ",", "CurrencyUnit", "currencyUnit", ")", "{", "requireNonNull", "(", "amount", ",", "\"Amount must not be null.\"", ")", ";", "final", "CurrencyUnit", "amountCurrency", "=", "amount", ...
Method to check if a currency is compatible with this amount instance. @param amount The monetary amount to be compared to, never null. @param currencyUnit the currency unit to compare, never null. @throws MonetaryException If the amount is null, or the amount's {@link CurrencyUnit} is not compatible, meaning ha...
[ "Method", "to", "check", "if", "a", "currency", "is", "compatible", "with", "this", "amount", "instance", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/spi/MoneyUtils.java#L148-L154
120,697
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/function/MonetaryFunctions.java
MonetaryFunctions.groupByCurrencyUnit
public static Collector<MonetaryAmount,?,Map<CurrencyUnit,List<MonetaryAmount>>> groupByCurrencyUnit(){ return Collectors.groupingBy(MonetaryAmount::getCurrency); }
java
public static Collector<MonetaryAmount,?,Map<CurrencyUnit,List<MonetaryAmount>>> groupByCurrencyUnit(){ return Collectors.groupingBy(MonetaryAmount::getCurrency); }
[ "public", "static", "Collector", "<", "MonetaryAmount", ",", "?", ",", "Map", "<", "CurrencyUnit", ",", "List", "<", "MonetaryAmount", ">", ">", ">", "groupByCurrencyUnit", "(", ")", "{", "return", "Collectors", ".", "groupingBy", "(", "MonetaryAmount", "::", ...
Collector to group by CurrencyUnit @return the Collector to of Map<CurrencyUnit, List<MonetaryAmount>>
[ "Collector", "to", "group", "by", "CurrencyUnit" ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/function/MonetaryFunctions.java#L54-L56
120,698
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/function/MonetaryFunctions.java
MonetaryFunctions.summarizingMonetary
public static Collector<MonetaryAmount, MonetarySummaryStatistics, MonetarySummaryStatistics> summarizingMonetary( CurrencyUnit currencyUnit){ Supplier<MonetarySummaryStatistics> supplier = () -> new DefaultMonetarySummaryStatistics(currencyUnit); return Collector.of(supplier, MonetarySummaryStatistics:...
java
public static Collector<MonetaryAmount, MonetarySummaryStatistics, MonetarySummaryStatistics> summarizingMonetary( CurrencyUnit currencyUnit){ Supplier<MonetarySummaryStatistics> supplier = () -> new DefaultMonetarySummaryStatistics(currencyUnit); return Collector.of(supplier, MonetarySummaryStatistics:...
[ "public", "static", "Collector", "<", "MonetaryAmount", ",", "MonetarySummaryStatistics", ",", "MonetarySummaryStatistics", ">", "summarizingMonetary", "(", "CurrencyUnit", "currencyUnit", ")", "{", "Supplier", "<", "MonetarySummaryStatistics", ">", "supplier", "=", "(", ...
Creates a the summary of MonetaryAmounts. @param currencyUnit the target {@link javax.money.CurrencyUnit} @return the MonetarySummaryStatistics
[ "Creates", "a", "the", "summary", "of", "MonetaryAmounts", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/function/MonetaryFunctions.java#L63-L67
120,699
JavaMoney/jsr354-ri
moneta-core/src/main/java/org/javamoney/moneta/function/MonetaryFunctions.java
MonetaryFunctions.summarizingMonetary
@Deprecated public static Collector<MonetaryAmount, MonetarySummaryStatistics, MonetarySummaryStatistics> summarizingMonetary( CurrencyUnit currencyUnit, ExchangeRateProvider provider){ // TODO implement method here return summarizingMonetary(currencyUnit); }
java
@Deprecated public static Collector<MonetaryAmount, MonetarySummaryStatistics, MonetarySummaryStatistics> summarizingMonetary( CurrencyUnit currencyUnit, ExchangeRateProvider provider){ // TODO implement method here return summarizingMonetary(currencyUnit); }
[ "@", "Deprecated", "public", "static", "Collector", "<", "MonetaryAmount", ",", "MonetarySummaryStatistics", ",", "MonetarySummaryStatistics", ">", "summarizingMonetary", "(", "CurrencyUnit", "currencyUnit", ",", "ExchangeRateProvider", "provider", ")", "{", "// TODO implem...
reates a the summary of MonetaryAmounts. @param currencyUnit the target {@link javax.money.CurrencyUnit} @param provider the rate provider @return the MonetarySummaryStatistics @deprecated Use #summarizingMonetary(CurrencyUnit) instead of.
[ "reates", "a", "the", "summary", "of", "MonetaryAmounts", "." ]
cf8ff2bbaf9b115acc05eb9b0c76c8397c308284
https://github.com/JavaMoney/jsr354-ri/blob/cf8ff2bbaf9b115acc05eb9b0c76c8397c308284/moneta-core/src/main/java/org/javamoney/moneta/function/MonetaryFunctions.java#L76-L81