public class options extends Object
| Constructor and Description |
|---|
options()
options class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
get_action() |
boolean |
get_compression() |
boolean |
get_count() |
boolean |
get_detailview() |
String |
get_filter() |
int |
get_pageno() |
int |
get_pagesize() |
void |
set_action(String action)
sets the action to be performed.
|
void |
set_args(String args)
sets args field.
|
void |
set_compression(boolean flag) |
void |
set_count(boolean flag)
sets the count.
|
void |
set_detailview(boolean flag)
sets the detail view.
|
void |
set_filter(filtervalue[] filter)
sets filter field.
|
void |
set_filter(String filter)
sets filter field.
|
void |
set_pageno(int no)
sets page number.
|
void |
set_pagesize(int size)
sets the pagesize.
|
String |
to_string()
constructs a string for options object.
|
public void set_pageno(int no)
no - page number.public void set_pagesize(int size)
size - number of pages to be retrieved.public int get_pageno()
public String get_action()
public void set_action(String action)
action - action.public int get_pagesize()
public boolean get_compression()
public void set_compression(boolean flag)
public boolean get_detailview()
public void set_detailview(boolean flag)
flag - public boolean get_count()
public void set_count(boolean flag)
flag - set this to true to find the number of resources of a type configured on NSpublic void set_args(String args)
args - optional args required for any operation. This is in json format.public void set_filter(String filter)
filter - set this with the filter string to perform filtered get operation on
specific type of resource. This is in json format.example: "port:80,servicetype:HTTP".public void set_filter(filtervalue[] filter)
filter - set this with the filter string to perform filtered get operation.
Set the filter parameters in filtervalue object which is then converted to json string.public String get_filter()
public String to_string()
Copyright © 2013 Citrix Systems, Inc.. All Rights Reserved.