public class Resource extends Object
| Modifier and Type | Field and Description |
|---|---|
List<String> |
alternatives |
Map<String,String> |
annotations |
Boolean |
async |
ResourceAuth |
auth |
String |
comment |
List<String> |
consumes |
Map<String,ExceptionDef> |
exceptions |
String |
expected |
List<ResourceInput> |
inputs |
String |
method |
String |
name |
List<ResourceOutput> |
outputs |
String |
path |
List<String> |
produces |
String |
type |
| Constructor and Description |
|---|
Resource() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
alternatives(List<String> alternatives) |
Resource |
annotations(Map<String,String> annotations) |
Resource |
async(Boolean async) |
Resource |
auth(ResourceAuth auth) |
Resource |
comment(String comment) |
Resource |
consumes(List<String> consumes) |
boolean |
equals(Object another) |
Resource |
exceptions(Map<String,ExceptionDef> exceptions) |
Resource |
expected(String expected) |
Resource |
init() |
Resource |
inputs(List<ResourceInput> inputs) |
Resource |
method(String method) |
Resource |
name(String name) |
Resource |
outputs(List<ResourceOutput> outputs) |
Resource |
path(String path) |
Resource |
produces(List<String> produces) |
Resource |
type(String type) |
public String type
public String method
public String path
public String comment
public List<ResourceInput> inputs
public List<ResourceOutput> outputs
public ResourceAuth auth
public String expected
public Map<String,ExceptionDef> exceptions
public Boolean async
public String name
public Resource inputs(List<ResourceInput> inputs)
public Resource outputs(List<ResourceOutput> outputs)
public Resource auth(ResourceAuth auth)
public Resource exceptions(Map<String,ExceptionDef> exceptions)
public Resource init()
Copyright © 2016–2021 Verizon Media. All rights reserved.