Constructors
constructor
- new ExampleShape(name, example?): ExampleShape
Parameters
- name: string
Optional
example: ExampleObject
Properties
Protected
Optional
description
description?: string
Protected
Optional
externalValue
externalValue?: string
Protected
name
name: string
Protected
Optional
summary
summary?: string
Protected
value
value: unknown
Methods
getName
- getName(): string
Returns string
ref
- ref(): ReferenceObject
Returns ReferenceObject
setDescription
- setDescription(description): this
Returns this
setExternalValue
- setExternalValue(externalValue): this
Returns this
setSummary
- setSummary(summary): this
Returns this
setValue
- setValue(value): this
Returns this
toJSON
- toJSON(): ExampleObject
Returns ExampleObject
toObject
- toObject(): ExampleObject
Returns ExampleObject