public class mail_profile extends base_resource
SESSION_NOT_EXISTS| Constructor and Description |
|---|
mail_profile() |
| Modifier and Type | Method and Description |
|---|---|
static mail_profile |
add(nitro_service client,
mail_profile resource)
Use this operation to add mail profile..
|
static mail_profile[] |
add(nitro_service client,
mail_profile[] resources)
Use this operation to add mail profile.
|
static long |
count_filtered(nitro_service service,
filtervalue[] filter)
Use this API to count the filtered set of mail_profile resources.
|
static long |
count_filtered(nitro_service service,
String filter)
Use this API to count the filtered set of mail_profile resources.
|
static long |
count(nitro_service service)
Use this API to count the mail_profile resources configured on NetScaler SDX.
|
static mail_profile |
delete(nitro_service client,
mail_profile resource)
Use this operation to delete mail profile..
|
static mail_profile[] |
delete(nitro_service client,
mail_profile[] resources)
Use this operation to delete mail profile.
|
String |
get_bcc_list()
List to whom BCC the mail.
|
String |
get_cc_list()
List to whom CC the mail.
|
static mail_profile[] |
get_filtered(nitro_service service,
filtervalue[] filter)
Use this API to fetch filtered set of mail_profile resources.
|
static mail_profile[] |
get_filtered(nitro_service service,
String filter)
Use this API to fetch filtered set of mail_profile resources.
|
String |
get_id()
Id is system generated key for all the mail profile.
|
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_profile_name()
Profile name for the mail setting.
|
String |
get_server_name()
SMTP server name
|
String |
get_to_list()
List of to whom send the mail.
|
static mail_profile[] |
get(nitro_service client)
Use this operation to get mail profile..
|
static mail_profile |
get(nitro_service client,
mail_profile resource)
Use this operation to get mail profile..
|
void |
set_bcc_list(String bcc_list)
List to whom BCC the mail.
|
void |
set_cc_list(String cc_list)
List to whom CC the mail.
|
void |
set_id(String id)
Id is system generated key for all the mail profile.
|
void |
set_profile_name(String profile_name)
Profile name for the mail setting.
|
void |
set_server_name(String server_name)
SMTP server name
|
void |
set_to_list(String to_list)
List of to whom send the mail.
|
static mail_profile |
update(nitro_service client,
mail_profile resource)
Use this operation to modify mail profile..
|
static mail_profile[] |
update(nitro_service client,
mail_profile[] resources)
Use this operation to modify mail profile.
|
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_to_list(String to_list)
List of to whom send the mail.
public String get_to_list()
List of to whom send the mail.
public void set_bcc_list(String bcc_list)
List to whom BCC the mail.
public String get_bcc_list()
List to whom BCC the mail.
public void set_id(String id)
Id is system generated key for all the mail profile.
public String get_id()
Id is system generated key for all the mail profile.
public void set_cc_list(String cc_list)
List to whom CC the mail.
public String get_cc_list()
List to whom CC the mail.
public void set_server_name(String server_name)
SMTP server name
public String get_server_name()
SMTP server name
public void set_profile_name(String profile_name)
Profile name for the mail setting.
public String get_profile_name()
Profile name for the mail setting.
public static mail_profile add(nitro_service client, mail_profile resource) throws Exception
Use this operation to add mail profile..
Exceptionpublic static mail_profile[] add(nitro_service client, mail_profile[] resources) throws Exception
Use this operation to add mail profile. in bulk.
Exceptionpublic static mail_profile delete(nitro_service client, mail_profile resource) throws Exception
Use this operation to delete mail profile..
Exceptionpublic static mail_profile[] delete(nitro_service client, mail_profile[] resources) throws Exception
Use this operation to delete mail profile. in bulk.
Exceptionpublic static mail_profile[] get(nitro_service client) throws Exception
Use this operation to get mail profile..
Exceptionpublic static mail_profile get(nitro_service client, mail_profile resource) throws Exception
Exceptionpublic static mail_profile update(nitro_service client, mail_profile resource) throws Exception
Use this operation to modify mail profile..
Exceptionpublic static mail_profile[] update(nitro_service client, mail_profile[] resources) throws Exception
Use this operation to modify mail profile. in bulk.
Exceptionpublic static mail_profile[] get_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static mail_profile[] 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.