public final class SwaggerExternalDocumentation extends Object
Constructor and Description |
---|
SwaggerExternalDocumentation() |
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The document description.
|
Map<String,Object> |
extensions()
Get the extensions property: The vendor extensions.
|
String |
uri()
Get the uri property: The documentation Uri.
|
void |
validate()
Validates the instance.
|
SwaggerExternalDocumentation |
withDescription(String description)
Set the description property: The document description.
|
SwaggerExternalDocumentation |
withExtensions(Map<String,Object> extensions)
Set the extensions property: The vendor extensions.
|
SwaggerExternalDocumentation |
withUri(String uri)
Set the uri property: The documentation Uri.
|
public String description()
public SwaggerExternalDocumentation withDescription(String description)
description
- the description value to set.public String uri()
public SwaggerExternalDocumentation withUri(String uri)
uri
- the uri value to set.public Map<String,Object> extensions()
public SwaggerExternalDocumentation withExtensions(Map<String,Object> extensions)
extensions
- the extensions value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.