@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.
|
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 |
name()
Get its name.
|
void |
name(String name)
Change its name.
|
int |
orgId()
Get its 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.
|
User |
user()
User we're in.
|
public Organization.Smart(Organization orgn)
orgn
- Organizationpublic String company() throws IOException
IOException
- If there is any I/O problempublic void company(String company) throws IOException
company
- Company of organizationIOException
- If there is any I/O problempublic String location() throws IOException
IOException
- If there is any I/O problempublic void location(String location) throws IOException
location
- Location of organizationIOException
- If there is any I/O problempublic String name() throws IOException
IOException
- If there is any I/O problempublic void name(String name) throws IOException
name
- Company of organizationIOException
- If there is any I/O problempublic String email() throws IOException
IOException
- If there is any I/O problempublic void email(String email) throws IOException
email
- Email of organizationIOException
- If there is any I/O problempublic String billingEmail() throws IOException
IOException
- If there is any I/O problempublic void billingEmail(String billingemail) throws IOException
billingemail
- BillingEmail of organizationIOException
- If there is any I/O problempublic String blog() throws IOException
IOException
- If there is any I/O problempublic URL url() throws IOException
IOException
- If there is any I/O problempublic URL htmlUrl() throws IOException
IOException
- If there is any I/O problempublic URL avatarUrl() throws IOException
IOException
- If there is any I/O problempublic 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 problempublic String type() throws IOException
IOException
- If there is any I/O problempublic User user()
Organization
user
in interface Organization
public int orgId()
Organization
orgId
in interface Organization
public javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problempublic void patch(javax.json.JsonObject json) throws IOException
JsonPatchable
patch
in interface JsonPatchable
json
- JSON objectIOException
- If there is any I/O problempublic int compareTo(Organization obj)
compareTo
in interface Comparable<Organization>
Copyright © 2012–2014 jcabi.com. All rights reserved.