SwaggerExternalDocumentation Class
- java.
lang. Object - com.
azure. resourcemanager. logic. models. SwaggerExternalDocumentation
- com.
public final class SwaggerExternalDocumentation
The swagger external documentation.
Constructor Summary
Constructor | Description |
---|---|
SwaggerExternalDocumentation() |
Creates an instance of Swagger |
Method Summary
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. |
Swagger |
withDescription(String description)
Set the description property: The document description. |
Swagger |
withExtensions(Map<String,Object> extensions)
Set the extensions property: The vendor extensions. |
Swagger |
withUri(String uri)
Set the uri property: The documentation Uri. |
Methods inherited from java.lang.Object
Constructor Details
SwaggerExternalDocumentation
public SwaggerExternalDocumentation()
Creates an instance of SwaggerExternalDocumentation class.
Method Details
description
public String description()
Get the description property: The document description.
Returns:
extensions
public Map
Get the extensions property: The vendor extensions.
Returns:
uri
public String uri()
Get the uri property: The documentation Uri.
Returns:
validate
public void validate()
Validates the instance.
withDescription
public SwaggerExternalDocumentation withDescription(String description)
Set the description property: The document description.
Parameters:
Returns:
withExtensions
public SwaggerExternalDocumentation withExtensions(Map
Set the extensions property: The vendor extensions.
Parameters:
Returns:
withUri
public SwaggerExternalDocumentation withUri(String uri)
Set the uri property: The documentation Uri.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for