public class ReportParams extends Object implements ResourceGeneratorParams
| Constructor and Description |
|---|
ReportParams(String operation,
String name,
int status,
String contentType,
byte[] content) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
byte[] |
getContent()
Returns the content in a byte array.
|
String |
getContentType()
Returns the content type.
|
String |
getDescription()
Returns the optional description
|
String |
getName()
Name/key of the example.
|
String |
getOperation()
Returns the operation.
|
int |
getStatus()
Returns the HTTP status code.
|
int |
hashCode() |
void |
setDescription(String description) |
public String getOperation()
ResourceGeneratorParamsgetOperation in interface ResourceGeneratorParamspublic String getName()
ResourceGeneratorParamsgetName in interface ResourceGeneratorParamspublic void setDescription(String description)
public String getDescription()
ResourceGeneratorParamsgetDescription in interface ResourceGeneratorParamspublic int getStatus()
ResourceGeneratorParamsgetStatus in interface ResourceGeneratorParamspublic String getContentType()
ResourceGeneratorParamsgetContentType in interface ResourceGeneratorParamspublic byte[] getContent()
ResourceGeneratorParamsgetContent in interface ResourceGeneratorParamsCopyright © 2022–2023 Rodnan Sol. All rights reserved.