Uses of Class
com.postman.collection.Property
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of Property in com.postman.collection
Modifier and TypeMethodDescriptionPropertyList.get
(int index) Get a variable whose key matcheskey
, or null if it is not presentBodyElement.getFormdata
(int position) Returns aProperty
containing formdata property at the specified position in the arrayUrl.getPathVariable
(String key) RequestAuth.getProperty
(String key) Retrieve a single element from the array of authentication elements comprising this authentication object.Url.getQueryElement
(int index) Url.getQueryElement
(String key) Collection.getVariable
(String key) Return the Property key-value pair from this collection'svariable
array element, or null if it is not present.Modifier and TypeMethodDescriptionCookie.getExtensions()
BodyElement.getFormdata()
Returns an ArrayList<Property> containing formdata paramters:RequestBody.getHeader()
Return an ArrayList of Property objects containing the key-value pair values for theheader
property arrayResponse.getHeader()
Get the ArrayList containing the key-value paris in theheader
element arrayUrl.getPathVariables()
Get an ArrayList<Property
> containing the key-value pairs comprising thevariable
array, or null if none exit.RequestAuth.getProperties()
Return the complete array of properties as a HashMap<String,Property>, or null if none are set.Url.getQueryElements()
Return an ArrayList<Property
> of key value pairs comprising thequery
arrayCollection.getVariables()
Get the ArrayList<Property
> containing the key-value pairs comprising thevariable
array element of this collectionModifier and TypeMethodDescriptionboolean
void
Url.addPathVariable
(Property varPath) void
RequestAuth.addProperty
(Property newElement) Add a new property, or replace an existing propertyvoid
Collection.addVariable
(Property varNew) Add or replace variable to the collection of variables comprising this collectionsvariable
array property.boolean
int
void
BodyElement.removeFormData
(Property data) Removes the formdata element at the specified position in the formdata arrayvoid
Url.removeQueryElement
(Property queryElement) Remove a query element key-value pair from the array of query elements, if it exists.void
Collection.removeVariable
(Property varNew) Remove variable from the array of key-value pairs comprising this collectionsvariable
array element.void
BodyElement.setFormdata
(Property data) Sets an element of the formdata or urlencoded property arrayvoid
Url.setPathVariable
(Property varPath) void
Url.setQueryELement
(Property element, int index) Modifier and TypeMethodDescriptionboolean
PropertyList.addAll
(int index, PropertyList<Property> vars) boolean
PropertyList.addAll
(PropertyList<Property> vars) void
Collection.addVariables
(PropertyList<Property> newVars) void
Cookie.setExtensions
(PropertyList<Property> extensions) void
BodyElement.setFormdata
(PropertyList<Property> data) Convenience method to set the formdata with an already filled ArrayList<Property
> of propertiesvoid
RequestBody.setHeader
(PropertyList<Property> header) Set the key-value pair values for theheader
property arrayvoid
Response.setHeader
(PropertyList<Property> headers) Set the value of theheader
element array with a pre-populated ArrayList of Property key-value pairsvoid
Url.setPathVariables
(PropertyList<Property> variable) Set the values of thevariable
array with a pre-populated ArrayList<Property
> containing the key-value parisvoid
RequestAuth.setProperties
(PropertyList<Property> properties) Set the properties of the Auth object using a pre-created HashMap<String,Property> of properties.void
Url.setQueries
(PropertyList<Property> query) Set the contents of thequery
array with a pre-populated ArrayList<Property
> containing the key value pairsvoid
Collection.setVariables
(PropertyList<Property> vars) Set the array of key-value pairs in this collectionsvariable
array elementModifierConstructorDescriptionPropertyList
(ArrayList<Property> vars) Returns a PropertyList populated with the contents ofvars
RequestAuth
(enumAuthType type, PropertyList<Property> properties) Conveninence constructor to initialize an Auth object with a pre-created HashMap of authentication properties -
Uses of Property in com.postman.collection.adapter
Modifier and TypeMethodDescriptionPropertyDeserializer.deserialize
(com.google.gson.JsonElement jElement, Type typeOfT, com.google.gson.JsonDeserializationContext context) Custom GSON deserializer for theRequestAuth
object.