Uses of Enum Class
com.postman.collection.enumRequestBodyMode
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of enumRequestBodyMode in com.postman.collection
Modifier and TypeMethodDescriptionBodyElement.getMode()
Returns themode
property as an enumerated valuestatic enumRequestBodyMode
Returns 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.Modifier and TypeMethodDescriptionRequestBody.setBody
(enumRequestBodyMode bodyMode) Populate thebody
array with an emptybody
property object with the specifiedmode
value.RequestBody.setBody
(enumRequestBodyMode bodyMode, String rawContent) Populate thebody
array with the specified body content.void
BodyElement.setMode
(enumRequestBodyMode newMode) Sets the value of themode
property and initializes relevant internal propertiesModifierConstructorDescriptionConvenience 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.