Uses of Enum Class
com.postman.collection.enumRequestBodyMode
Packages that use enumRequestBodyMode
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of enumRequestBodyMode in com.postman.collection
Methods in com.postman.collection that return enumRequestBodyModeModifier and TypeMethodDescriptionBodyElement.getMode()Returns themodeproperty as an enumerated valuestatic enumRequestBodyModeReturns the enum constant of this class with the specified name.static enumRequestBodyMode[]enumRequestBodyMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.postman.collection with parameters of type enumRequestBodyModeModifier and TypeMethodDescriptionRequestBody.setBody(enumRequestBodyMode bodyMode) Populate thebodyarray with an emptybodyproperty object with the specifiedmodevalue.RequestBody.setBody(enumRequestBodyMode bodyMode, String rawContent) Populate thebodyarray with the specified body content.voidBodyElement.setMode(enumRequestBodyMode newMode) Sets the value of themodeproperty and initializes relevant internal propertiesConstructors in com.postman.collection with parameters of type enumRequestBodyModeModifierConstructorDescriptionConvenience constructor, creates an empty body object of the specified modeBodyElement(enumRequestBodyMode mode, String content, enumRawBodyLanguage language) Constructs a body with the providedmode, content, and language.