public class ClientAuthorizationGetListRequest extends Object implements Serializable
/api/client/authorization/get/list API.
The API returns a list of client applications to which an end-user has given authorization.
subjectThe subject (= unique identifier) of the end-user who has granted authorization to the client application.
startStart index of search results (inclusive). The default value is
DEFAULT_START(= 0).endEnd index of search results (exclusive). The default value is
DEFAULT_END(= 5).developerUnique developer ID. The default value is
DEFAULT_DEVELOPER(=null).
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DEVELOPER
The default value of
developer (= null). |
static int |
DEFAULT_END
The default value of
end (= 5). |
static int |
DEFAULT_START
The default value of
start (= 0). |
| Constructor and Description |
|---|
ClientAuthorizationGetListRequest()
The default constructor.
|
ClientAuthorizationGetListRequest(String subject)
A constructor with a subject value.
|
ClientAuthorizationGetListRequest(String subject,
int start,
int end)
A constructor with a subject value, a start index and an end index of
search results.
|
ClientAuthorizationGetListRequest(String subject,
String developer)
A constructor with a subject value and a developer value.
|
ClientAuthorizationGetListRequest(String subject,
String developer,
int start,
int end)
A constructor with all request parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDeveloper()
Get the developer of client applications.
|
int |
getEnd()
Get the end index of search results (exclusive).
|
int |
getStart()
Get the start index of search results (inclusive).
|
String |
getSubject()
Get the subject (= unique identifier) of the end-user.
|
ClientAuthorizationGetListRequest |
setDeveloper(String developer)
Set the developer of client applications.
|
ClientAuthorizationGetListRequest |
setEnd(int end)
Set the end index of search results (exclusive).
|
ClientAuthorizationGetListRequest |
setStart(int start)
Set the start index of search results (inclusive).
|
ClientAuthorizationGetListRequest |
setSubject(String subject)
Set the subject (= unique identifier) of the end-user.
|
public static final String DEFAULT_DEVELOPER
developer (= null).public static final int DEFAULT_START
start (= 0).public static final int DEFAULT_END
end (= 5).public ClientAuthorizationGetListRequest()
this(null, DEFAULT_DEVELOPER, DEFAULT_START,
DEFAULT_END).
Because the subject parameter is mandatory for
/api/client/authorization/get/list API, a non-null
value should be set using setSubject(String) method later.public ClientAuthorizationGetListRequest(String subject)
this(subject, DEFAULT_DEVELOPER, DEFAULT_START,
DEFAULT_END).subject - Unique identifier of an end-user.public ClientAuthorizationGetListRequest(String subject, String developer)
this(subject, developer, DEFAULT_START, DEFAULT_END).subject - Unique identifier of an end-user.developer - Unique identifier of a developer. If a non-null value is given,
client applications which do not belong to the developer won't be
included in a response from the API.public ClientAuthorizationGetListRequest(String subject, int start, int end)
this(subject, DEFAULT_DEVELOPER, start, end).subject - Unique identifier of an end-user.start - Start index of search results (inclusive).end - End index of search results (exclusive).public ClientAuthorizationGetListRequest(String subject, String developer, int start, int end)
subject - Unique identifier of an end-user.developer - Unique identifier of a developer. If a non-null value is given,
client applications which do not belong to the developer won't be
included in a response from the API.start - Start index of search results (inclusive).end - End index of search results (exclusive).public String getSubject()
public ClientAuthorizationGetListRequest setSubject(String subject)
subject - The subject of the end-user.this object.public String getDeveloper()
null.public ClientAuthorizationGetListRequest setDeveloper(String developer)
developer - The developer of client applications. If a non-null value is given,
client applications which do not belong to the developer won't be
included in a response from the API.this object.public int getStart()
public ClientAuthorizationGetListRequest setStart(int start)
start - The start index of search results (inclusive).this object.public int getEnd()
public ClientAuthorizationGetListRequest setEnd(int end)
end - The end index of search results (exclusive).this object.Copyright © 2017. All rights reserved.