@Immutable @Loggable(value=1) public static final class Organization.Smart extends Object implements Organization
Organization.Smart
Constructor and Description |
---|
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.
|
PublicMembers |
publicMembers()
Get this organization's public members.
|
int |
publicRepos()
Get its public repos count.
|
String |
type()
Get its type.
|
URL |
url()
Get its URL.
|
public Smart(Organization orgn)
orgn
- Organizationpublic int number() throws IOException
IOException
- If it failspublic 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 String login()
Organization
login
in interface Organization
public Github github()
Organization
github
in interface Organization
public PublicMembers publicMembers()
Organization
publicMembers
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–2018 jcabi.com. All rights reserved.