Uses of Class
com.postman.collection.Property
Packages that use Property
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of Property in com.postman.collection
Methods in com.postman.collection that return PropertyModifier and TypeMethodDescriptionPropertyList.get(int index) Get a variable whose key matcheskey, or null if it is not presentBodyElement.getFormdata(int position) Returns aPropertycontaining 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'svariablearray element, or null if it is not present.Methods in com.postman.collection that return types with arguments of type PropertyModifier 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 theheaderproperty arrayResponse.getHeader()Get the ArrayList containing the key-value paris in theheaderelement arrayUrl.getPathVariables()Get an ArrayList<Property> containing the key-value pairs comprising thevariablearray, 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 thequeryarrayCollection.getVariables()Get the ArrayList<Property> containing the key-value pairs comprising thevariablearray element of this collectionMethods in com.postman.collection with parameters of type PropertyModifier and TypeMethodDescriptionbooleanvoidUrl.addPathVariable(Property varPath) voidRequestAuth.addProperty(Property newElement) Add a new property, or replace an existing propertyvoidCollection.addVariable(Property varNew) Add or replace variable to the collection of variables comprising this collectionsvariablearray property.booleanintvoidBodyElement.removeFormData(Property data) Removes the formdata element at the specified position in the formdata arrayvoidUrl.removeQueryElement(Property queryElement) Remove a query element key-value pair from the array of query elements, if it exists.voidCollection.removeVariable(Property varNew) Remove variable from the array of key-value pairs comprising this collectionsvariablearray element.voidBodyElement.setFormdata(Property data) Sets an element of the formdata or urlencoded property arrayvoidUrl.setPathVariable(Property varPath) voidUrl.setQueryELement(Property element, int index) Method parameters in com.postman.collection with type arguments of type PropertyModifier and TypeMethodDescriptionbooleanPropertyList.addAll(int index, PropertyList<Property> vars) booleanPropertyList.addAll(PropertyList<Property> vars) voidCollection.addVariables(PropertyList<Property> newVars) voidCookie.setExtensions(PropertyList<Property> extensions) voidBodyElement.setFormdata(PropertyList<Property> data) Convenience method to set the formdata with an already filled ArrayList<Property> of propertiesvoidRequestBody.setHeader(PropertyList<Property> header) Set the key-value pair values for theheaderproperty arrayvoidResponse.setHeader(PropertyList<Property> headers) Set the value of theheaderelement array with a pre-populated ArrayList of Property key-value pairsvoidUrl.setPathVariables(PropertyList<Property> variable) Set the values of thevariablearray with a pre-populated ArrayList<Property> containing the key-value parisvoidRequestAuth.setProperties(PropertyList<Property> properties) Set the properties of the Auth object using a pre-created HashMap<String,Property> of properties.voidUrl.setQueries(PropertyList<Property> query) Set the contents of thequeryarray with a pre-populated ArrayList<Property> containing the key value pairsvoidCollection.setVariables(PropertyList<Property> vars) Set the array of key-value pairs in this collectionsvariablearray elementConstructor parameters in com.postman.collection with type arguments of type PropertyModifierConstructorDescriptionPropertyList(ArrayList<Property> vars) Returns a PropertyList populated with the contents ofvarsRequestAuth(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
Methods in com.postman.collection.adapter that return PropertyModifier and TypeMethodDescriptionPropertyDeserializer.deserialize(com.google.gson.JsonElement jElement, Type typeOfT, com.google.gson.JsonDeserializationContext context) Custom GSON deserializer for theRequestAuthobject.Methods in com.postman.collection.adapter with parameters of type PropertyModifier and TypeMethodDescriptioncom.google.gson.JsonElementPropertySerializer.serialize(Property src, Type typeOfSrc, com.google.gson.JsonSerializationContext context) Method parameters in com.postman.collection.adapter with type arguments of type Property