public class smtp_server extends base_resource
SESSION_NOT_EXISTS| Constructor and Description |
|---|
smtp_server() |
| Modifier and Type | Method and Description |
|---|---|
static smtp_server |
add(nitro_service client,
smtp_server resource)
Use this operation to add smtp server.
|
static smtp_server[] |
add(nitro_service client,
smtp_server[] resources)
Use this operation to add smtp server in bulk.
|
static long |
count_filtered(nitro_service service,
filtervalue[] filter)
Use this API to count the filtered set of smtp_server resources.
|
static long |
count_filtered(nitro_service service,
String filter)
Use this API to count the filtered set of smtp_server resources.
|
static long |
count(nitro_service service)
Use this API to count the smtp_server resources configured on NetScaler SDX.
|
static smtp_server |
delete(nitro_service client,
smtp_server resource)
Use this operation to delete smtp server.
|
static smtp_server[] |
delete(nitro_service client,
smtp_server[] resources)
Use this operation to delete smtp server in bulk.
|
static smtp_server[] |
get_filtered(nitro_service service,
filtervalue[] filter)
Use this API to fetch filtered set of smtp_server resources.
|
static smtp_server[] |
get_filtered(nitro_service service,
String filter)
Use this API to fetch filtered set of smtp_server resources.
|
String |
get_id()
Id is system generated key for all the smtp server
|
Boolean |
get_is_auth()
Is authentication enabled for this smtp server
|
Boolean |
get_is_ssl()
Is this smtp server is SSL support configured.
|
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 for the smtp server
|
Integer |
get_port()
SMTP Server port address.
|
String |
get_server_name()
SMTP server name
|
String |
get_username()
Username for the smtp server
|
static smtp_server[] |
get(nitro_service client)
Use this operation to get smtp server details..
|
static smtp_server |
get(nitro_service client,
smtp_server resource)
Use this operation to get smtp server details..
|
void |
set_id(String id)
Id is system generated key for all the smtp server
|
void |
set_is_auth(Boolean is_auth)
Is authentication enabled for this smtp server
|
void |
set_is_ssl(Boolean is_ssl)
Is this smtp server is SSL support configured.
|
void |
set_password(String password)
Password for the smtp server
|
void |
set_port(Integer port)
SMTP Server port address.
|
void |
set_server_name(String server_name)
SMTP server name
|
void |
set_username(String username)
Username for the smtp server
|
static smtp_server |
update(nitro_service client,
smtp_server resource)
Use this operation to modify smtp server.
|
static smtp_server[] |
update(nitro_service client,
smtp_server[] resources)
Use this operation to modify smtp server in bulk.
|
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 for the smtp server
public String get_password()
Password for the smtp server
public void set_is_auth(Boolean is_auth)
Is authentication enabled for this smtp server
public Boolean get_is_auth()
Is authentication enabled for this smtp server
public void set_id(String id)
Id is system generated key for all the smtp server
public String get_id()
Id is system generated key for all the smtp server
public void set_is_ssl(Boolean is_ssl)
Is this smtp server is SSL support configured.
public Boolean get_is_ssl()
Is this smtp server is SSL support configured.
public void set_port(Integer port)
SMTP Server port address.
public Integer get_port()
SMTP Server port address.
public void set_username(String username)
Username for the smtp server
public String get_username()
Username for the smtp server
public void set_server_name(String server_name)
SMTP server name
public String get_server_name()
SMTP server name
public static smtp_server add(nitro_service client, smtp_server resource) throws Exception
Use this operation to add smtp server.
Exceptionpublic static smtp_server[] add(nitro_service client, smtp_server[] resources) throws Exception
Use this operation to add smtp server in bulk.
Exceptionpublic static smtp_server delete(nitro_service client, smtp_server resource) throws Exception
Use this operation to delete smtp server.
Exceptionpublic static smtp_server[] delete(nitro_service client, smtp_server[] resources) throws Exception
Use this operation to delete smtp server in bulk.
Exceptionpublic static smtp_server[] get(nitro_service client) throws Exception
Use this operation to get smtp server details..
Exceptionpublic static smtp_server get(nitro_service client, smtp_server resource) throws Exception
Exceptionpublic static smtp_server update(nitro_service client, smtp_server resource) throws Exception
Use this operation to modify smtp server.
Exceptionpublic static smtp_server[] update(nitro_service client, smtp_server[] resources) throws Exception
Use this operation to modify smtp server in bulk.
Exceptionpublic static smtp_server[] get_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static smtp_server[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception
Exceptionpublic static long count(nitro_service service) throws Exception
Exceptionpublic static long count_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static long count_filtered(nitro_service service, filtervalue[] filter) throws Exception
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.