public class login extends base_resource
SESSION_NOT_EXISTS| Constructor and Description |
|---|
login() |
| Modifier and Type | Method and Description |
|---|---|
static login |
add(nitro_service client,
login resource)
Login.
|
static login[] |
add(nitro_service client,
login[] resources)
Login in bulk.
|
static login |
delete(nitro_service client,
login resource)
Logout.
|
static login[] |
delete(nitro_service client,
login[] resources)
Logout in bulk.
|
protected base_resource[] |
get_nitro_bulk_response(nitro_service service,
String response)
Converts API response of bulk operation into object and returns the object array in case of get request.
|
protected base_resource[] |
get_nitro_response(nitro_service service,
String response)
Converts API response into object and returns the object array in case of get request.
|
protected String |
get_object_id()
Returns the value of object identifier argument.
|
protected String |
get_object_type()
Gets the resource type.
|
String |
get_password()
Password
|
Integer |
get_session_timeout()
Session Timeout in seconds, if no activity is performed for specified time then session will be expired
|
String |
get_sessionid()
Session ID would only be set if login was performed successfully
|
String |
get_username()
User Name that wants to login
|
void |
set_password(String password)
Password
|
void |
set_session_timeout(Integer session_timeout)
Session Timeout in seconds, if no activity is performed for specified time then session will be expired
|
void |
set_sessionid(String sessionid)
Session ID would only be set if login was performed successfully
|
void |
set_username(String username)
User Name that wants to login
|
protected void |
validate(String operationType)
Performs generic data validation for the operation to be performed
|
add_resource, add_resource, delete_bulk_request, delete_resource, get_resource, get_resource, get_resources, get_resources, getfiltered, perform_operation_bulk_request, perform_operation, perform_operation, perform_operation, resource_to_string, resource_to_string, update_bulk_request, update_resource, update_resourceprotected String get_object_type()
base_resourceget_object_type in class base_resourceprotected String get_object_id()
get_object_id in class base_resourcepublic void set_password(String password)
Password
public String get_password()
Password
public void set_session_timeout(Integer session_timeout)
Session Timeout in seconds, if no activity is performed for specified time then session will be expired
public Integer get_session_timeout()
Session Timeout in seconds, if no activity is performed for specified time then session will be expired
public void set_sessionid(String sessionid)
Session ID would only be set if login was performed successfully
public String get_sessionid()
Session ID would only be set if login was performed successfully
public void set_username(String username)
User Name that wants to login
public String get_username()
User Name that wants to login
public static login add(nitro_service client, login resource) throws Exception
Login.
Exceptionpublic static login[] add(nitro_service client, login[] resources) throws Exception
Login in bulk.
Exceptionpublic static login delete(nitro_service client, login resource) throws Exception
Logout.
Exceptionpublic static login[] delete(nitro_service client, login[] resources) throws Exception
Logout in bulk.
Exceptionprotected base_resource[] get_nitro_response(nitro_service service, String response) throws Exception
Converts API response into object and returns the object array in case of get request.
get_nitro_response in class base_resourceExceptionprotected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
Converts API response of bulk operation into object and returns the object array in case of get request.
get_nitro_bulk_response in class base_resourceExceptionprotected void validate(String operationType) throws Exception
Performs generic data validation for the operation to be performed
validate in class base_resourceoperationType - : add,delete,modify,get etc.ExceptionCopyright © 2013 Citrix Systems, Inc.. All Rights Reserved.