Package pl.metaprogramming.model.oas
Class HttpResponse
-
- All Implemented Interfaces:
public final class HttpResponse
-
-
Field Summary
Fields Modifier and Type Field Description public final static Integer
DEFAULT
private final Boolean
isSuccessResponse
private final Boolean
isDefault
private final DataSchema
schema
private final Integer
status
private String
description
private final Set<String>
headers
private final Map<String, DataSchema>
contents
-
Constructor Summary
Constructors Constructor Description HttpResponse(Integer status, String description, Set<String> headers, Map<String, DataSchema> contents)
-
Method Summary
Modifier and Type Method Description final Boolean
isSuccessResponse()
final Boolean
isDefault()
final DataSchema
getSchema()
final Integer
getStatus()
final String
getDescription()
final Unit
setDescription(String description)
final Set<String>
getHeaders()
final Map<String, DataSchema>
getContents()
String
toString()
-
-
Method Detail
-
isSuccessResponse
final Boolean isSuccessResponse()
-
getSchema
final DataSchema getSchema()
-
getDescription
final String getDescription()
-
setDescription
final Unit setDescription(String description)
-
getHeaders
final Set<String> getHeaders()
-
getContents
final Map<String, DataSchema> getContents()
-
-
-
-