public static class AbstractMaileonService.QueryParameters
extends java.lang.Object
Constructor and Description |
---|
QueryParameters()
Instantiates a new query parameters.
|
QueryParameters(java.lang.String name,
java.lang.Object value)
Instantiates a new query parameters.
|
Modifier and Type | Method and Description |
---|---|
AbstractMaileonService.QueryParameters |
add(AbstractMaileonService.QueryParameters parameters)
Adds the whole query parameters.
|
AbstractMaileonService.QueryParameters |
add(java.lang.String name,
java.lang.Object value)
Adds query parameters.
|
AbstractMaileonService.QueryParameters |
addList(java.lang.String name,
java.util.List<java.lang.Object> values)
Adds the list of values for a parameter.
|
java.lang.String |
getName(int i)
Gets the name of a parameter given its index.
|
java.lang.String |
getValue(int i)
Gets the value of a parameter given its index.
|
int |
size()
Returns the size of the query parameters.
|
public QueryParameters()
public QueryParameters(java.lang.String name, java.lang.Object value)
name
- the name of the parametervalue
- the value of the parameterpublic final AbstractMaileonService.QueryParameters add(java.lang.String name, java.lang.Object value)
name
- the name of the parametervalue
- the value of the parameterpublic AbstractMaileonService.QueryParameters addList(java.lang.String name, java.util.List<java.lang.Object> values)
name
- the name of the required parametervalues
- the values to addpublic AbstractMaileonService.QueryParameters add(AbstractMaileonService.QueryParameters parameters)
parameters
- the parameters to addpublic int size()
public java.lang.String getName(int i)
i
- the index of the parameterspublic java.lang.String getValue(int i)
i
- the index of the parametersCopyright © 2018. All Rights Reserved.