Package com.jcabi.github
Interface UserEmails
-
- All Superinterfaces:
JsonReadable
@Immutable public interface UserEmails extends JsonReadable
Github user's emails.- Since:
- 0.8
- Version:
- $Id: 22ed69980cc744f971cd7dcf4415fbaf71467559 $
- Author:
- Alexander Sinyagin (sinyagin.alexander@gmail.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<String>
add(Iterable<String> emails)
Add emails.Iterable<String>
iterate()
Iterate all user's emails.void
remove(Iterable<String> emails)
Remove emails.-
Methods inherited from interface com.jcabi.github.JsonReadable
json
-
-
-
-
Method Detail
-
iterate
Iterable<String> iterate() throws IOException
Iterate all user's emails.- Returns:
- Emails
- Throws:
IOException
- If there is any I/O problem
-
add
Iterable<String> add(Iterable<String> emails) throws IOException
Add emails.- Parameters:
emails
- Emails- Returns:
- Emails
- Throws:
IOException
- If there is any I/O problem
-
remove
void remove(Iterable<String> emails) throws IOException
Remove emails.- Parameters:
emails
- Emails- Throws:
IOException
- If there is any I/O problem
-
-