Uses of Class
com.postman.collection.IllegalPropertyAccessException
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of IllegalPropertyAccessException in com.postman.collection
Modifier and TypeMethodDescriptionvoid
Collection.addCollection
(Collection newColl) Add another collection and it's array ofitem
,variable
, andevent
arrays to this collection in a new Folder.void
Collection.addCollection
(Collection newColl, boolean copyScripts, boolean copyVariables) Add another collection and it's array ofitem
, optionallyvariable
, and optionallyevent
arrays to this collection as children of a new Folder child item of this collection.void
Collection.addCollection
(Collection newColl, ItemGroup parent) Add another collection and it's array ofitem
,variable
, andevent
arrays to this collection as children ofparent
void
Collection.addCollection
(Collection newColl, ItemGroup parent, boolean copyScripts, boolean copyVariables) Add another collection and it's array ofitem
, optionallyvariable
, and optionallyevent
arrays to this collection as children of the specified parent.Convenience method to add an item with no child items to this collection.Convenience method to add an item with no child items to this collection.void
Append a new direct child item to the array of items in theitem
property.void
Add a new direct child item to the array of items in theitem
property at the specified index.void
Add multiple items to this item.Collection.addRequest
(RequestBody reqElement, String name) Convenience method to add a newrequest
item as a top level child item of this collectionCollection.addRequest
(RequestBody reqElement, String name, int position) Add a new request to this collection at the specified position in the array ofrequest
elementsCollection.addRequest
(RequestBody reqElement, String name, Response response) Create and add a newrequest
as a top level child item of this collection.Collection.addRequest
(RequestBody newRequest, String name, ArrayList<Response> responses) Convenience method to add a request with a pre-constructed ArrayList<Response
> of response items.Collection.addRequest
(String url) Create and add a newrequest
as a top level child item of this collection.BodyElement.getFile()
Returns the value of thefile/src
property, the path to the fileBodyElement.getFormdata()
Returns an ArrayList<Property> containing formdata paramters:BodyElement.getFormdata
(int position) Returns aProperty
containing formdata property at the specified position in the arrayBodyElement.getGraphql()
Return an HashMap<String, String> containing the GraphQL query and variables source code.Url.getQueryElement
(int index) BodyElement.getRaw()
Returns the content of theraw
property of the body, or null if it has not been setBodyElement.getRawLanguage()
Returns the enumerated value of thelanguage
property of theoptions
propertyvoid
BodyElement.removeFormData
(int position) Removes the formdata element at the specified position in the formdata arrayvoid
BodyElement.removeFormData
(Property data) Removes the formdata element at the specified position in the formdata arrayvoid
BodyElement.setFormdata
(Property data) Sets an element of the formdata or urlencoded property arrayvoid
BodyElement.setFormdata
(PropertyList<Property> data) Convenience method to set the formdata with an already filled ArrayList<Property
> of propertiesvoid
BodyElement.setFormdata
(String key, String value, String description) Add a formdata element by string valuesvoid
Url.setQueryELement
(Property element, int index) void
Sets theraw
property of the body, or null if it has not been setvoid
BodyElement.setRaw
(String raw, enumRawBodyLanguage language) Sets the content (raw
) and thelanguage
property of theoptions
objectvoid
BodyElement.setRawLanguage
(enumRawBodyLanguage lang) Sets thelangauge
property of theoptions
property