public class TypeDeclaration extends CommonAttributes
| Constructor and Description |
|---|
TypeDeclaration(Node node) |
| Modifier and Type | Method and Description |
|---|---|
String |
defaultValue() |
ExampleSpec |
example() |
List<ExampleSpec> |
examples() |
protected Node |
getNode() |
String |
name() |
Boolean |
required() |
List<String> |
schema() |
String |
schemaContent() |
List<String> |
type() |
List<RamlValidationResult> |
validate(String payload) |
description, displayNameannotationsgetList, getListFromSeq, getObject, getStringList, getStringTypeValue, getStringValuepublic TypeDeclaration(Node node)
protected Node getNode()
getNode in class BaseModelElementpublic String name()
public ExampleSpec example()
public List<ExampleSpec> examples()
public String schemaContent()
public List<RamlValidationResult> validate(String payload)
public Boolean required()
public String defaultValue()
Copyright © 2016. All rights reserved.