Package io.jpostman.schema.model
Class ApiExample
- java.lang.Object
-
- io.jpostman.schema.model.ApiExample
-
public class ApiExample extends Object
Represents example request values that can be used to populate environment variables.
-
-
Constructor Summary
Constructors Constructor Description ApiExample()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiBodygetBody()Returns the body.List<ApiHeader>getHeaders()Returns the headers.StringgetName()Returns the name.StringgetPath()Returns the path.List<ApiParam>getQueryParams()Returns the query params.voidsetBody(ApiBody body)Sets the body.voidsetHeaders(List<ApiHeader> headers)Sets the headers.voidsetName(String name)Sets the name.voidsetPath(String path)Sets the path.voidsetQueryParams(List<ApiParam> queryParams)Sets the query params.
-
-
-
Method Detail
-
getName
public String getName()
Returns the name.
-
setName
public void setName(String name)
Sets the name.
-
getPath
public String getPath()
Returns the path.
-
setPath
public void setPath(String path)
Sets the path.
-
getBody
public ApiBody getBody()
Returns the body.
-
setBody
public void setBody(ApiBody body)
Sets the body.
-
-