@Immutable @Loggable(value=1) public static final class Organization.Smart extends Object implements Organization
Organization.Smart
Constructor and Description |
---|
Organization.Smart(Organization orgn)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
URL |
avatarUrl()
Get its avatar URL.
|
String |
billingEmail()
Get its billingEmail.
|
void |
billingEmail(String billingemail)
Change its billingEmail.
|
String |
blog()
Get its blog.
|
String |
company()
Get its company.
|
void |
company(String company)
Change its company.
|
int |
compareTo(Organization obj) |
Date |
createdAt()
When this organisation was created.
|
String |
email()
Get its email.
|
void |
email(String email)
Change its email.
|
int |
followers()
Get its followers count.
|
int |
following()
Get its following count.
|
Github |
github()
Github we're in.
|
URL |
htmlUrl()
Get its HTML URL.
|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
String |
location()
Get its location.
|
void |
location(String location)
Change its location.
|
String |
login()
Get this organization's login.
|
String |
name()
Get its name.
|
void |
name(String name)
Change its name.
|
int |
number()
Get this organization's ID.
|
void |
patch(javax.json.JsonObject json)
Patch using this JSON object.
|
int |
publicGists()
Get its public gists count.
|
int |
publicRepos()
Get its public repos count.
|
String |
type()
Get its type.
|
URL |
url()
Get its URL.
|
public Organization.Smart(@NotNull(message="orgn can\'t be NULL") Organization orgn)
orgn
- Organizationpublic int number() throws IOException
IOException
- If it fails@NotNull(message="company is never NULL") public String company() throws IOException
IOException
- If there is any I/O problempublic void company(@NotNull(message="company can\'t be NULL") String company) throws IOException
company
- Company of organizationIOException
- If there is any I/O problem@NotNull(message="location is never NULL") public String location() throws IOException
IOException
- If there is any I/O problempublic void location(@NotNull(message="location can\'t be NULL") String location) throws IOException
location
- Location of organizationIOException
- If there is any I/O problem@NotNull(message="name is never NULL") public String name() throws IOException
IOException
- If there is any I/O problempublic void name(@NotNull(message="name can\'t be NULL") String name) throws IOException
name
- Company of organizationIOException
- If there is any I/O problem@NotNull(message="email is never NULL") public String email() throws IOException
IOException
- If there is any I/O problempublic void email(@NotNull(message="email can\'t be NULL") String email) throws IOException
email
- Email of organizationIOException
- If there is any I/O problem@NotNull(message="billing email is never NULL") public String billingEmail() throws IOException
IOException
- If there is any I/O problempublic void billingEmail(@NotNull(message="billingemail can\'t be NULL") String billingemail) throws IOException
billingemail
- BillingEmail of organizationIOException
- If there is any I/O problem@NotNull(message="blog is never NULL") public String blog() throws IOException
IOException
- If there is any I/O problem@NotNull(message="URL is never NULL") public URL url() throws IOException
IOException
- If there is any I/O problem@NotNull(message="url is never NULL") public URL htmlUrl() throws IOException
IOException
- If there is any I/O problem@NotNull(message="avatar url is never NULL") public URL avatarUrl() throws IOException
IOException
- If there is any I/O problem@NotNull(message="date is never NULL") public Date createdAt() throws IOException
IOException
- If there is any I/O problempublic int publicRepos() throws IOException
IOException
- If there is any I/O problempublic int publicGists() throws IOException
IOException
- If there is any I/O problempublic int followers() throws IOException
IOException
- If there is any I/O problempublic int following() throws IOException
IOException
- If there is any I/O problem@NotNull(message="type is never NULL") public String type() throws IOException
IOException
- If there is any I/O problem@NotNull(message="login is never NULL") public String login()
Organization
login
in interface Organization
@NotNull(message="github is never NULL") public Github github()
Organization
github
in interface Organization
@NotNull(message="Json is never NULL") public javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problempublic void patch(@NotNull(message="json can\'t be NULL") javax.json.JsonObject json) throws IOException
JsonPatchable
patch
in interface JsonPatchable
json
- JSON objectIOException
- If there is any I/O problempublic int compareTo(@NotNull(message="obj can\'t be NULL") Organization obj)
compareTo
in interface Comparable<Organization>
Copyright © 2012–2014 jcabi.com. All rights reserved.